diff --git a/clients/client-location/src/commands/CalculateRouteCommand.ts b/clients/client-location/src/commands/CalculateRouteCommand.ts index 2ebd55602714..40eb46f0c3c0 100644 --- a/clients/client-location/src/commands/CalculateRouteCommand.ts +++ b/clients/client-location/src/commands/CalculateRouteCommand.ts @@ -117,6 +117,7 @@ export interface CalculateRouteCommandOutput extends CalculateRouteResponse, __M * Unit: "STRING_VALUE", * }, * }, + * Key: "STRING_VALUE", * }; * const command = new CalculateRouteCommand(input); * const response = await client.send(command); diff --git a/clients/client-location/src/commands/CalculateRouteMatrixCommand.ts b/clients/client-location/src/commands/CalculateRouteMatrixCommand.ts index e5573c9a9e90..4e09ecfe5b91 100644 --- a/clients/client-location/src/commands/CalculateRouteMatrixCommand.ts +++ b/clients/client-location/src/commands/CalculateRouteMatrixCommand.ts @@ -123,6 +123,7 @@ export interface CalculateRouteMatrixCommandOutput extends CalculateRouteMatrixR * Unit: "STRING_VALUE", * }, * }, + * Key: "STRING_VALUE", * }; * const command = new CalculateRouteMatrixCommand(input); * const response = await client.send(command); diff --git a/clients/client-location/src/commands/CreateKeyCommand.ts b/clients/client-location/src/commands/CreateKeyCommand.ts index aac2c2544cfc..39f413694029 100644 --- a/clients/client-location/src/commands/CreateKeyCommand.ts +++ b/clients/client-location/src/commands/CreateKeyCommand.ts @@ -37,13 +37,10 @@ export interface CreateKeyCommandOutput extends CreateKeyResponse, __MetadataBea /** * @public *
Creates an API key resource in your Amazon Web Services account, which lets you grant
- * geo:GetMap*
actions for Amazon Location Map resources to the API key
- * bearer.
The API keys feature is in preview. We may add, change, or remove - * features before announcing general availability. For more information, see - * Using API keys.
- *For more information, see Using API keys.
+ *Retrieves the API key resource details.
- *The API keys feature is in preview. We may add, change, or remove - * features before announcing general availability. For more information, see - * Using API keys.
- *Lists API key resources in your Amazon Web Services account.
- *The API keys feature is in preview. We may add, change, or remove - * features before announcing general availability. For more information, see - * Using API keys.
- *Updates the specified properties of a given API key resource.
- *The API keys feature is in preview. We may add, change, or remove - * features before announcing general availability. For more information, see - * Using API keys.
- *A list of allowed actions that an API key resource grants permissions to - * perform
- *Currently, the only valid action is geo:GetMap*
as an input to the
- * list. For example, ["geo:GetMap*"]
is valid but
- * ["geo:GetMapTile"]
is not.
A list of allowed resource ARNs that a API key bearer can perform actions on
- *For more information about ARN format, see Amazon Resource Names - * (ARNs).
- *In this preview, you can allow only map resources.
- *Requirements:
+ * perform. You must have at least one action for each type of resource. For example, + * if you have a place resource, you must include at least one place action. + *The following are valid values for the actions.
*Must be prefixed with arn
.
+ * Map actions + *
+ *
+ * geo:GetMap*
- Allows all actions needed for map rendering.
- * partition
and service
must not be empty and should
- * begin with only alphanumeric characters (A–Z, a–z, 0–9) and contain only
- * alphanumeric numbers, hyphens (-) and periods (.).
+ * geo:SearchPlaceIndexForText
- Allows geocoding.
+ * geo:SearchPlaceIndexForPosition
- Allows reverse
+ * geocoding.
+ * geo:SearchPlaceIndexForSuggestions
- Allows generating
+ * suggestions from text.
+ * GetPlace
- Allows finding a place by place ID.
- * region
and account-id
can be empty or should begin
- * with only alphanumeric characters (A–Z, a–z, 0–9) and contain only alphanumeric
- * numbers, hyphens (-) and periods (.).
+ * geo:CalculateRoute
- Allows point to point routing.
+ * geo:CalculateRouteMatrix
- Allows calculating a matrix of
+ * routes.
You must use these strings exactly. For example, to provide access to map
+ * rendering, the only valid action is geo:GetMap*
as an input to
+ * the list. ["geo:GetMap*"]
is valid but
+ * ["geo:GetMapTile"]
is not. Similarly, you cannot use
+ * ["geo:SearchPlaceIndexFor*"]
- you must list each of the Place
+ * actions separately.
A list of allowed resource ARNs that a API key bearer can perform actions on.
+ *
- * resource-id
can begin with any character except for forward slash
- * (/) and contain any characters after, including forward slashes to form a
- * path.
- * resource-id
can also include wildcard characters, denoted by an
- * asterisk (*).
The ARN must be the correct ARN for a map, place, or route ARN. You may + * include wildcards in the resource-id to match multiple resources of the + * same type.
*
- * arn
, partition
, service
,
- * region
, account-id
and resource-id
- * must be delimited by a colon (:).
The resources must be in the same partition
,
+ * region
, and account-id
as the key that is being
+ * created.
No spaces allowed. For example,
- * arn:aws:geo:region:account-id:map/ExampleMap*
.
Other than wildcards, you must include the full ARN, including the
+ * arn
, partition
, service
,
+ * region
, account-id
and resource-id
,
+ * delimited by colons (:).
No spaces allowed, even with wildcards. For example,
+ * arn:aws:geo:region:account-id:map/ExampleMap*
.
For more information about ARN format, see Amazon Resource Names + * (ARNs).
*/ AllowResources: string[] | undefined; @@ -1078,8 +1119,11 @@ export interface BatchPutGeofenceRequestEntry { Geometry: GeofenceGeometry | undefined; /** - *Specifies additional user-defined properties to store with the Geofence. An array - * of key-value pairs.
+ *Associates one of more properties with the geofence. A property is a key-value + * pair stored with the geofence and added to any geofence event triggered with that + * geofence.
+ *Format: "key" : "value"
+ *
Requirements: TravelMode
must be specified as Truck
.
The optional API key to authorize + * the request.
+ */ + Key?: string; } /** @@ -1948,6 +1998,12 @@ export interface CalculateRouteMatrixRequest { *Requirements: TravelMode
must be specified as Truck
.
The optional API key to authorize + * the request.
+ */ + Key?: string; } /** @@ -2954,6 +3010,17 @@ export interface CreateTrackerRequest { *This field is optional. If not specified, the default value is TimeBased
.
Whether to enable position UPDATE
events from this tracker to be sent to
+ * EventBridge.
You do not need enable this feature to get ENTER
and
+ * EXIT
events for geofences with this tracker. Those events are
+ * always sent to EventBridge.
The position filtering method of the tracker resource.
*/ PositionFiltering?: PositionFiltering | string; + + /** + *Whether UPDATE
events from this tracker in EventBridge are
+ * enabled. If set to true
these events will be sent to EventBridge.
Contains additional user-defined properties stored with the geofence. An array of - * key-value pairs.
+ *User defined properties of the geofence. A property is a key-value + * pair stored with the geofence and added to any geofence event triggered with that + * geofence.
+ *Format: "key" : "value"
+ *
Contains additional user-defined properties stored with the geofence. An array of - * key-value pairs.
+ *User defined properties of the geofence. A property is a key-value + * pair stored with the geofence and added to any geofence event triggered with that + * geofence.
+ *Format: "key" : "value"
+ *
Specifies additional user-defined properties to store with the Geofence. An array - * of key-value pairs.
+ *Associates one of more properties with the geofence. A property is a key-value + * pair stored with the geofence and added to any geofence event triggered with that + * geofence.
+ *Format: "key" : "value"
+ *
The optional API key to authorize + * the request.
+ */ + Key?: string; } /** @@ -5207,6 +5295,12 @@ export interface SearchPlaceIndexForPositionRequest { * that the provider does support. */ Language?: string; + + /** + *The optional API key to authorize + * the request.
+ */ + Key?: string; } /** @@ -5399,6 +5493,12 @@ export interface SearchPlaceIndexForSuggestionsRequest { * Guide. */ FilterCategories?: string[]; + + /** + *The optional API key to authorize + * the request.
+ */ + Key?: string; } /** @@ -5624,6 +5724,12 @@ export interface SearchPlaceIndexForTextRequest { * Guide. */ FilterCategories?: string[]; + + /** + *The optional API key to authorize + * the request.
+ */ + Key?: string; } /** @@ -5937,6 +6043,17 @@ export interface UpdateTrackerRequest { * */ PositionFiltering?: PositionFiltering | string; + + /** + *Whether to enable position UPDATE
events from this tracker to be sent to
+ * EventBridge.
You do not need enable this feature to get ENTER
and
+ * EXIT
events for geofences with this tracker. Those events are
+ * always sent to EventBridge.
A list of allowed actions that an API key resource grants permissions to\n perform
\nCurrently, the only valid action is geo:GetMap*
as an input to the\n list. For example, [\"geo:GetMap*\"]
is valid but\n [\"geo:GetMapTile\"]
is not.
A list of allowed actions that an API key resource grants permissions to\n perform. You must have at least one action for each type of resource. For example,\n if you have a place resource, you must include at least one place action.
\nThe following are valid values for the actions.
\n\n Map actions\n
\n\n geo:GetMap*
- Allows all actions needed for map rendering.
\n Place actions\n
\n\n geo:SearchPlaceIndexForText
- Allows geocoding.
\n geo:SearchPlaceIndexForPosition
- Allows reverse \n geocoding.
\n geo:SearchPlaceIndexForSuggestions
- Allows generating\n suggestions from text.
\n GetPlace
- Allows finding a place by place ID.
\n Route actions\n
\n\n geo:CalculateRoute
- Allows point to point routing.
\n geo:CalculateRouteMatrix
- Allows calculating a matrix of\n routes.
You must use these strings exactly. For example, to provide access to map \n rendering, the only valid action is geo:GetMap*
as an input to \n the list. [\"geo:GetMap*\"]
is valid but\n [\"geo:GetMapTile\"]
is not. Similarly, you cannot use\n [\"geo:SearchPlaceIndexFor*\"]
- you must list each of the Place\n actions separately.
A list of allowed resource ARNs that a API key bearer can perform actions on
\nFor more information about ARN format, see Amazon Resource Names\n (ARNs).
\nIn this preview, you can allow only map resources.
\nRequirements:
\nMust be prefixed with arn
.
\n partition
and service
must not be empty and should\n begin with only alphanumeric characters (A–Z, a–z, 0–9) and contain only\n alphanumeric numbers, hyphens (-) and periods (.).
\n region
and account-id
can be empty or should begin\n with only alphanumeric characters (A–Z, a–z, 0–9) and contain only alphanumeric\n numbers, hyphens (-) and periods (.).
\n resource-id
can begin with any character except for forward slash\n (/) and contain any characters after, including forward slashes to form a\n path.
\n resource-id
can also include wildcard characters, denoted by an\n asterisk (*).
\n arn
, partition
, service
,\n region
, account-id
and resource-id
\n must be delimited by a colon (:).
No spaces allowed. For example,\n arn:aws:geo:region:account-id:map/ExampleMap*
.
A list of allowed resource ARNs that a API key bearer can perform actions on.
\nThe ARN must be the correct ARN for a map, place, or route ARN. You may \n include wildcards in the resource-id to match multiple resources of the \n same type.
\nThe resources must be in the same partition
, \n region
, and account-id
as the key that is being \n created.
Other than wildcards, you must include the full ARN, including the \n arn
, partition
, service
,\n region
, account-id
and resource-id
,\n delimited by colons (:).
No spaces allowed, even with wildcards. For example,\n arn:aws:geo:region:account-id:map/ExampleMap*
.
For more information about ARN format, see Amazon Resource Names\n (ARNs).
", "smithy.api#length": { "min": 1, "max": 5 @@ -787,7 +787,7 @@ "GeofenceProperties": { "target": "com.amazonaws.location#PropertyMap", "traits": { - "smithy.api#documentation": "Specifies additional user-defined properties to store with the Geofence. An array \n of key-value pairs.
" + "smithy.api#documentation": "Associates one of more properties with the geofence. A property is a key-value\n pair stored with the geofence and added to any geofence event triggered with that\n geofence.
\nFormat: \"key\" : \"value\"
\n
Specifies route preferences when traveling by Truck
, such as avoiding\n routes that use ferries or tolls, and truck specifications to consider when choosing an\n optimal road.
Requirements: TravelMode
must be specified as Truck
.
The optional API key to authorize \n the request.
", + "smithy.api#httpQuery": "key" + } } } }, @@ -1304,6 +1311,13 @@ "traits": { "smithy.api#documentation": "Specifies route preferences when traveling by Truck
, such as avoiding\n routes that use ferries or tolls, and truck specifications to consider when choosing an\n optimal road.
Requirements: TravelMode
must be specified as Truck
.
The optional API key to authorize \n the request.
", + "smithy.api#httpQuery": "key" + } } } }, @@ -1633,7 +1647,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates an API key resource in your Amazon Web Services account, which lets you grant\n geo:GetMap*
actions for Amazon Location Map resources to the API key\n bearer.
The API keys feature is in preview. We may add, change, or remove \n features before announcing general availability. For more information, see\n Using API keys.
\nCreates an API key resource in your Amazon Web Services account, which lets you grant\n actions for Amazon Location resources to the API key bearer.
\nFor more information, see Using API keys.
\nSpecifies the position filtering for the tracker resource.
\nValid values:
\n\n TimeBased
- Location updates are evaluated against linked geofence collections, \n but not every location update is stored. If your update frequency is more often than 30 seconds, \n only one update per 30 seconds is stored for each unique device ID.\n
\n DistanceBased
- If the device has moved less than 30 m (98.4 ft), location updates are \n ignored. Location updates within this area are neither evaluated against linked geofence collections, nor stored.\n This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through.\n Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.\n
\n AccuracyBased
- If the device has moved less than the measured accuracy,\n location updates are ignored. For example, if two consecutive updates from a device\n have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device\n has moved less than 15 m. Ignored location updates are neither evaluated against\n linked geofence collections, nor stored. This can reduce the effects of GPS noise\n when displaying device trajectories on a map, and can help control your costs by reducing the\n number of geofence evaluations.\n
This field is optional. If not specified, the default value is TimeBased
.
Whether to enable position UPDATE
events from this tracker to be sent to \n EventBridge.
You do not need enable this feature to get ENTER
and \n EXIT
events for geofences with this tracker. Those events are\n always sent to EventBridge.
Retrieves the API key resource details.
\nThe API keys feature is in preview. We may add, change, or remove \n features before announcing general availability. For more information, see\n Using API keys.
\nRetrieves the API key resource details.
", "smithy.api#endpoint": { "hostPrefix": "metadata." }, @@ -3225,6 +3245,12 @@ "traits": { "smithy.api#documentation": "The position filtering method of the tracker resource.
" } + }, + "EventBridgeEnabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "Whether UPDATE
events from this tracker in EventBridge are\n enabled. If set to true
these events will be sent to EventBridge.
Contains additional user-defined properties stored with the geofence. An array of \n key-value pairs.
" + "smithy.api#documentation": "User defined properties of the geofence. A property is a key-value\n pair stored with the geofence and added to any geofence event triggered with that\n geofence.
\nFormat: \"key\" : \"value\"
\n
The preferred language used to return results. The value must be a valid BCP 47 language tag, for example,\n en
for English.
This setting affects the languages used in the results, but not the results\n themselves. If no language is specified, or not supported for a particular result, the\n partner automatically chooses a language for the result.
\nFor an example, we'll use the Greek language. You search for a location around Athens,\n Greece, with the language
parameter set to en
. The\n city
in the results will most likely be returned as\n Athens
.
If you set the language
parameter to el
, for Greek, then the\n city
in the results will more likely be returned as\n Αθήνα
.
If the data provider does not have a value for Greek, the result will be in a language\n that the provider does support.
", "smithy.api#httpQuery": "language" } + }, + "Key": { + "target": "com.amazonaws.location#ApiKey", + "traits": { + "smithy.api#documentation": "The optional API key to authorize \n the request.
", + "smithy.api#httpQuery": "key" + } } } }, @@ -4824,7 +4857,7 @@ "GeofenceProperties": { "target": "com.amazonaws.location#PropertyMap", "traits": { - "smithy.api#documentation": "Contains additional user-defined properties stored with the geofence. An array of \n key-value pairs.
" + "smithy.api#documentation": "User defined properties of the geofence. A property is a key-value\n pair stored with the geofence and added to any geofence event triggered with that\n geofence.
\nFormat: \"key\" : \"value\"
\n
Lists API key resources in your Amazon Web Services account.
\nThe API keys feature is in preview. We may add, change, or remove \n features before announcing general availability. For more information, see\n Using API keys.
\nLists API key resources in your Amazon Web Services account.
", "smithy.api#endpoint": { "hostPrefix": "metadata." }, @@ -6953,7 +6986,7 @@ "GeofenceProperties": { "target": "com.amazonaws.location#PropertyMap", "traits": { - "smithy.api#documentation": "Specifies additional user-defined properties to store with the Geofence. An array \n of key-value pairs.
" + "smithy.api#documentation": "Associates one of more properties with the geofence. A property is a key-value\n pair stored with the geofence and added to any geofence event triggered with that\n geofence.
\nFormat: \"key\" : \"value\"
\n
The preferred language used to return results. The value must be a valid BCP 47 language tag, for example,\n en
for English.
This setting affects the languages used in the results, but not the results\n themselves. If no language is specified, or not supported for a particular result, the\n partner automatically chooses a language for the result.
\nFor an example, we'll use the Greek language. You search for a location around Athens,\n Greece, with the language
parameter set to en
. The\n city
in the results will most likely be returned as\n Athens
.
If you set the language
parameter to el
, for Greek, then the\n city
in the results will more likely be returned as\n Αθήνα
.
If the data provider does not have a value for Greek, the result will be in a language\n that the provider does support.
" } + }, + "Key": { + "target": "com.amazonaws.location#ApiKey", + "traits": { + "smithy.api#documentation": "The optional API key to authorize \n the request.
", + "smithy.api#httpQuery": "key" + } } } }, @@ -7506,6 +7546,13 @@ "traits": { "smithy.api#documentation": "A list of one or more Amazon Location categories to filter the returned places. If you \n include more than one category, the results will include results that match \n any of the categories listed.
\nFor more information about using categories, including a list of Amazon Location\n categories, see Categories and filtering, in the Amazon Location Service Developer \n Guide.
" } + }, + "Key": { + "target": "com.amazonaws.location#ApiKey", + "traits": { + "smithy.api#documentation": "The optional API key to authorize \n the request.
", + "smithy.api#httpQuery": "key" + } } } }, @@ -7681,6 +7728,13 @@ "traits": { "smithy.api#documentation": "A list of one or more Amazon Location categories to filter the returned places. If you \n include more than one category, the results will include results that match \n any of the categories listed.
\nFor more information about using categories, including a list of Amazon Location\n categories, see Categories and filtering, in the Amazon Location Service Developer \n Guide.
" } + }, + "Key": { + "target": "com.amazonaws.location#ApiKey", + "traits": { + "smithy.api#documentation": "The optional API key to authorize \n the request.
", + "smithy.api#httpQuery": "key" + } } } }, @@ -8361,7 +8415,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates the specified properties of a given API key resource.
\nThe API keys feature is in preview. We may add, change, or remove \n features before announcing general availability. For more information, see\n Using API keys.
\nUpdates the specified properties of a given API key resource.
", "smithy.api#endpoint": { "hostPrefix": "metadata." }, @@ -8808,6 +8862,12 @@ "traits": { "smithy.api#documentation": "Updates the position filtering for the tracker resource.
\nValid values:
\n\n TimeBased
- Location updates are evaluated against linked geofence collections, \n but not every location update is stored. If your update frequency is more often than 30 seconds, \n only one update per 30 seconds is stored for each unique device ID.\n
\n DistanceBased
- If the device has moved less than 30 m (98.4 ft), location updates are \n ignored. Location updates within this distance are neither evaluated against linked geofence collections, nor stored.\n This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through.\n Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.\n
\n AccuracyBased
- If the device has moved less than the measured accuracy,\n location updates are ignored. For example, if two consecutive updates from a device\n have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device\n has moved less than 15 m. Ignored location updates are neither evaluated against\n linked geofence collections, nor stored. This helps educe the effects of GPS noise \n when displaying device trajectories on a map, and can help control costs by reducing the\n number of geofence evaluations.\n
Whether to enable position UPDATE
events from this tracker to be sent to \n EventBridge.
You do not need enable this feature to get ENTER
and \n EXIT
events for geofences with this tracker. Those events are\n always sent to EventBridge.