Struct aws_sdk_location::Client
source · [−]pub struct Client { /* private fields */ }Expand description
Client for Amazon Location Service
Client for invoking operations on Amazon Location Service. Each operation on Amazon Location Service is a method on this
this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_location::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_location::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_location::Client::from_conf(config);Implementations
sourceimpl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
sourceimpl Client
impl Client
sourcepub fn associate_tracker_consumer(&self) -> AssociateTrackerConsumer
pub fn associate_tracker_consumer(&self) -> AssociateTrackerConsumer
Constructs a fluent builder for the AssociateTrackerConsumer operation.
- The fluent builder is configurable:
tracker_name(impl Into<String>)/set_tracker_name(Option<String>):The name of the tracker resource to be associated with a geofence collection.
consumer_arn(impl Into<String>)/set_consumer_arn(Option<String>):The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all AWS.
-
Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer
-
- On success, responds with
AssociateTrackerConsumerOutput - On failure, responds with
SdkError<AssociateTrackerConsumerError>
sourcepub fn batch_delete_device_position_history(
&self
) -> BatchDeleteDevicePositionHistory
pub fn batch_delete_device_position_history(
&self
) -> BatchDeleteDevicePositionHistory
Constructs a fluent builder for the BatchDeleteDevicePositionHistory operation.
- The fluent builder is configurable:
tracker_name(impl Into<String>)/set_tracker_name(Option<String>):The name of the tracker resource to delete the device position history from.
device_ids(Vec<String>)/set_device_ids(Option<Vec<String>>):Devices whose position history you want to delete.
-
For example, for two devices:
“DeviceIds” : [DeviceId1,DeviceId2]
-
- On success, responds with
BatchDeleteDevicePositionHistoryOutputwith field(s):errors(Option<Vec<BatchDeleteDevicePositionHistoryError>>):Contains error details for each device history that failed to delete.
- On failure, responds with
SdkError<BatchDeleteDevicePositionHistoryError>
sourcepub fn batch_delete_geofence(&self) -> BatchDeleteGeofence
pub fn batch_delete_geofence(&self) -> BatchDeleteGeofence
Constructs a fluent builder for the BatchDeleteGeofence operation.
- The fluent builder is configurable:
collection_name(impl Into<String>)/set_collection_name(Option<String>):The geofence collection storing the geofences to be deleted.
geofence_ids(Vec<String>)/set_geofence_ids(Option<Vec<String>>):The batch of geofences to be deleted.
- On success, responds with
BatchDeleteGeofenceOutputwith field(s):errors(Option<Vec<BatchDeleteGeofenceError>>):Contains error details for each geofence that failed to delete.
- On failure, responds with
SdkError<BatchDeleteGeofenceError>
sourcepub fn batch_evaluate_geofences(&self) -> BatchEvaluateGeofences
pub fn batch_evaluate_geofences(&self) -> BatchEvaluateGeofences
Constructs a fluent builder for the BatchEvaluateGeofences operation.
- The fluent builder is configurable:
collection_name(impl Into<String>)/set_collection_name(Option<String>):The geofence collection used in evaluating the position of devices against its geofences.
device_position_updates(Vec<DevicePositionUpdate>)/set_device_position_updates(Option<Vec<DevicePositionUpdate>>):Contains device details for each device to be evaluated against the given geofence collection.
- On success, responds with
BatchEvaluateGeofencesOutputwith field(s):errors(Option<Vec<BatchEvaluateGeofencesError>>):Contains error details for each device that failed to evaluate its position against the given geofence collection.
- On failure, responds with
SdkError<BatchEvaluateGeofencesError>
sourcepub fn batch_get_device_position(&self) -> BatchGetDevicePosition
pub fn batch_get_device_position(&self) -> BatchGetDevicePosition
Constructs a fluent builder for the BatchGetDevicePosition operation.
- The fluent builder is configurable:
tracker_name(impl Into<String>)/set_tracker_name(Option<String>):The tracker resource retrieving the device position.
device_ids(Vec<String>)/set_device_ids(Option<Vec<String>>):Devices whose position you want to retrieve.
-
For example, for two devices:
device-ids=DeviceId1&device-ids=DeviceId2
-
- On success, responds with
BatchGetDevicePositionOutputwith field(s):errors(Option<Vec<BatchGetDevicePositionError>>):Contains error details for each device that failed to send its position to the tracker resource.
device_positions(Option<Vec<DevicePosition>>):Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.
- On failure, responds with
SdkError<BatchGetDevicePositionError>
sourcepub fn batch_put_geofence(&self) -> BatchPutGeofence
pub fn batch_put_geofence(&self) -> BatchPutGeofence
Constructs a fluent builder for the BatchPutGeofence operation.
- The fluent builder is configurable:
collection_name(impl Into<String>)/set_collection_name(Option<String>):The geofence collection storing the geofences.
entries(Vec<BatchPutGeofenceRequestEntry>)/set_entries(Option<Vec<BatchPutGeofenceRequestEntry>>):The batch of geofences to be stored in a geofence collection.
- On success, responds with
BatchPutGeofenceOutputwith field(s):successes(Option<Vec<BatchPutGeofenceSuccess>>):Contains each geofence that was successfully stored in a geofence collection.
errors(Option<Vec<BatchPutGeofenceError>>):Contains additional error details for each geofence that failed to be stored in a geofence collection.
- On failure, responds with
SdkError<BatchPutGeofenceError>
sourcepub fn batch_update_device_position(&self) -> BatchUpdateDevicePosition
pub fn batch_update_device_position(&self) -> BatchUpdateDevicePosition
Constructs a fluent builder for the BatchUpdateDevicePosition operation.
- The fluent builder is configurable:
tracker_name(impl Into<String>)/set_tracker_name(Option<String>):The name of the tracker resource to update.
updates(Vec<DevicePositionUpdate>)/set_updates(Option<Vec<DevicePositionUpdate>>):Contains the position update details for each device.
- On success, responds with
BatchUpdateDevicePositionOutputwith field(s):errors(Option<Vec<BatchUpdateDevicePositionError>>):Contains error details for each device that failed to update its position.
- On failure, responds with
SdkError<BatchUpdateDevicePositionError>
sourcepub fn calculate_route(&self) -> CalculateRoute
pub fn calculate_route(&self) -> CalculateRoute
Constructs a fluent builder for the CalculateRoute operation.
- The fluent builder is configurable:
calculator_name(impl Into<String>)/set_calculator_name(Option<String>):The name of the route calculator resource that you want to use to calculate the route.
departure_position(Vec<f64>)/set_departure_position(Option<Vec<f64>>):The start position for the route. Defined in WGS 84 format:
[longitude, latitude].-
For example,
[-123.115, 49.285]
If you specify a departure that’s not located on a road, Amazon Location moves the position to the nearest road. If Esri is the provider for your route calculator, specifying a route that is longer than 400 km returns a
400 RoutesValidationExceptionerror.Valid Values:
[-180 to 180,-90 to 90]-
destination_position(Vec<f64>)/set_destination_position(Option<Vec<f64>>):The finish position for the route. Defined in WGS 84 format:
[longitude, latitude].-
For example,
[-122.339, 47.615]
If you specify a destination that’s not located on a road, Amazon Location moves the position to the nearest road.
Valid Values:
[-180 to 180,-90 to 90]-
waypoint_positions(Vec<Vec<f64>>)/set_waypoint_positions(Option<Vec<Vec<f64>>>):Specifies an ordered list of up to 23 intermediate positions to include along a route between the departure position and destination position.
-
For example, from the
DeparturePosition[-123.115, 49.285], the route follows the order that the waypoint positions are given[[-122.757, 49.0021],[-122.349, 47.620]]
If you specify a waypoint position that’s not located on a road, Amazon Location moves the position to the nearest road.
Specifying more than 23 waypoints returns a
400 ValidationExceptionerror.If Esri is the provider for your route calculator, specifying a route that is longer than 400 km returns a
400 RoutesValidationExceptionerror.Valid Values:
[-180 to 180,-90 to 90]-
travel_mode(TravelMode)/set_travel_mode(Option<TravelMode>):Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility.
The
TravelModeyou specify also determines how you specify route preferences:-
If traveling by
Caruse theCarModeOptionsparameter. -
If traveling by
Truckuse theTruckModeOptionsparameter.
Default Value:
Car-
departure_time(DateTime)/set_departure_time(Option<DateTime>):Specifies the desired time of departure. Uses the given time to calculate the route. Otherwise, the best time of day to travel with the best traffic conditions is used to calculate the route.
Setting a departure time in the past returns a
400 ValidationExceptionerror.-
In ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. For example,2020–07-2T12:15:20.000Z+01:00
-
depart_now(bool)/set_depart_now(Option<bool>):Sets the time of departure as the current time. Uses the current time to calculate a route. Otherwise, the best time of day to travel with the best traffic conditions is used to calculate the route.
Default Value:
falseValid Values:
false|truedistance_unit(DistanceUnit)/set_distance_unit(Option<DistanceUnit>):Set the unit system to specify the distance.
Default Value:
Kilometersinclude_leg_geometry(bool)/set_include_leg_geometry(Option<bool>):Set to include the geometry details in the result for each path between a pair of positions.
Default Value:
falseValid Values:
false|truecar_mode_options(CalculateRouteCarModeOptions)/set_car_mode_options(Option<CalculateRouteCarModeOptions>):Specifies route preferences when traveling by
Car, such as avoiding routes that use ferries or tolls.Requirements:
TravelModemust be specified asCar.truck_mode_options(CalculateRouteTruckModeOptions)/set_truck_mode_options(Option<CalculateRouteTruckModeOptions>):Specifies route preferences when traveling by
Truck, such as avoiding routes that use ferries or tolls, and truck specifications to consider when choosing an optimal road.Requirements:
TravelModemust be specified asTruck.
- On success, responds with
CalculateRouteOutputwith field(s):legs(Option<Vec<Leg>>):Contains details about each path between a pair of positions included along a route such as:
StartPosition,EndPosition,Distance,DurationSeconds,Geometry, andSteps. The number of legs returned corresponds to one fewer than the total number of positions in the request.For example, a route with a departure position and destination position returns one leg with the positions snapped to a nearby road:
-
The
StartPositionis the departure position. -
The
EndPositionis the destination position.
A route with a waypoint between the departure and destination position returns two legs with the positions snapped to a nearby road:
-
Leg 1: The
StartPositionis the departure position . TheEndPositionis the waypoint positon. -
Leg 2: The
StartPositionis the waypoint position. TheEndPositionis the destination position.
-
summary(Option<CalculateRouteSummary>):Contains information about the whole route, such as:
RouteBBox,DataSource,Distance,DistanceUnit, andDurationSeconds.
- On failure, responds with
SdkError<CalculateRouteError>
sourcepub fn calculate_route_matrix(&self) -> CalculateRouteMatrix
pub fn calculate_route_matrix(&self) -> CalculateRouteMatrix
Constructs a fluent builder for the CalculateRouteMatrix operation.
- The fluent builder is configurable:
calculator_name(impl Into<String>)/set_calculator_name(Option<String>):The name of the route calculator resource that you want to use to calculate the route matrix.
departure_positions(Vec<Vec<f64>>)/set_departure_positions(Option<Vec<Vec<f64>>>):The list of departure (origin) positions for the route matrix. An array of points, each of which is itself a 2-value array defined in WGS 84 format:
[longitude, latitude]. For example,[-123.115, 49.285].Depending on the data provider selected in the route calculator resource there may be additional restrictions on the inputs you can choose. See Position restrictions in the Amazon Location Service Developer Guide.
For route calculators that use Esri as the data provider, if you specify a departure that’s not located on a road, Amazon Location moves the position to the nearest road. The snapped value is available in the result in
SnappedDeparturePositions.Valid Values:
[-180 to 180,-90 to 90]destination_positions(Vec<Vec<f64>>)/set_destination_positions(Option<Vec<Vec<f64>>>):The list of destination positions for the route matrix. An array of points, each of which is itself a 2-value array defined in WGS 84 format:
[longitude, latitude]. For example,[-122.339, 47.615]Depending on the data provider selected in the route calculator resource there may be additional restrictions on the inputs you can choose. See Position restrictions in the Amazon Location Service Developer Guide.
For route calculators that use Esri as the data provider, if you specify a destination that’s not located on a road, Amazon Location moves the position to the nearest road. The snapped value is available in the result in
SnappedDestinationPositions.Valid Values:
[-180 to 180,-90 to 90]travel_mode(TravelMode)/set_travel_mode(Option<TravelMode>):Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility.
The
TravelModeyou specify also determines how you specify route preferences:-
If traveling by
Caruse theCarModeOptionsparameter. -
If traveling by
Truckuse theTruckModeOptionsparameter.
Default Value:
Car-
departure_time(DateTime)/set_departure_time(Option<DateTime>):Specifies the desired time of departure. Uses the given time to calculate the route matrix. You can’t set both
DepartureTimeandDepartNow. If neither is set, the best time of day to travel with the best traffic conditions is used to calculate the route matrix.Setting a departure time in the past returns a
400 ValidationExceptionerror.-
In ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. For example,2020–07-2T12:15:20.000Z+01:00
-
depart_now(bool)/set_depart_now(Option<bool>):Sets the time of departure as the current time. Uses the current time to calculate the route matrix. You can’t set both
DepartureTimeandDepartNow. If neither is set, the best time of day to travel with the best traffic conditions is used to calculate the route matrix.Default Value:
falseValid Values:
false|truedistance_unit(DistanceUnit)/set_distance_unit(Option<DistanceUnit>):Set the unit system to specify the distance.
Default Value:
Kilometerscar_mode_options(CalculateRouteCarModeOptions)/set_car_mode_options(Option<CalculateRouteCarModeOptions>):Specifies route preferences when traveling by
Car, such as avoiding routes that use ferries or tolls.Requirements:
TravelModemust be specified asCar.truck_mode_options(CalculateRouteTruckModeOptions)/set_truck_mode_options(Option<CalculateRouteTruckModeOptions>):Specifies route preferences when traveling by
Truck, such as avoiding routes that use ferries or tolls, and truck specifications to consider when choosing an optimal road.Requirements:
TravelModemust be specified asTruck.
- On success, responds with
CalculateRouteMatrixOutputwith field(s):route_matrix(Option<Vec<Vec<RouteMatrixEntry>>>):The calculated route matrix containing the results for all pairs of
DeparturePositionstoDestinationPositions. Each row corresponds to one entry inDeparturePositions. Each entry in the row corresponds to the route from that entry inDeparturePositionsto an entry inDestinationPositions.snapped_departure_positions(Option<Vec<Vec<f64>>>):For routes calculated using an Esri route calculator resource, departure positions are snapped to the closest road. For Esri route calculator resources, this returns the list of departure/origin positions used for calculation of the
RouteMatrix.snapped_destination_positions(Option<Vec<Vec<f64>>>):The list of destination positions for the route matrix used for calculation of the
RouteMatrix.summary(Option<CalculateRouteMatrixSummary>):Contains information about the route matrix,
DataSource,DistanceUnit,RouteCountandErrorCount.
- On failure, responds with
SdkError<CalculateRouteMatrixError>
sourcepub fn create_geofence_collection(&self) -> CreateGeofenceCollection
pub fn create_geofence_collection(&self) -> CreateGeofenceCollection
Constructs a fluent builder for the CreateGeofenceCollection operation.
- The fluent builder is configurable:
collection_name(impl Into<String>)/set_collection_name(Option<String>):A custom name for the geofence collection.
Requirements:
-
Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
-
Must be a unique geofence collection name.
-
No spaces allowed. For example,
ExampleGeofenceCollection.
-
pricing_plan(PricingPlan)/set_pricing_plan(Option<PricingPlan>):No longer used. If included, the only allowed value is
RequestBasedUsage.pricing_plan_data_source(impl Into<String>)/set_pricing_plan_data_source(Option<String>):This parameter is no longer used.
description(impl Into<String>)/set_description(Option<String>):An optional description for the geofence collection.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Applies one or more tags to the geofence collection. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
Format:
“key” : “value”Restrictions:
-
Maximum 50 tags per resource
-
Each resource tag must be unique with a maximum of one value.
-
Maximum key length: 128 Unicode characters in UTF-8
-
Maximum value length: 256 Unicode characters in UTF-8
-
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
-
Cannot use “aws:” as a prefix for a key.
-
kms_key_id(impl Into<String>)/set_kms_key_id(Option<String>):A key identifier for an AWS KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.
- On success, responds with
CreateGeofenceCollectionOutputwith field(s):collection_name(Option<String>):The name for the geofence collection.
collection_arn(Option<String>):The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS.
-
Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
-
create_time(Option<DateTime>):The timestamp for when the geofence collection was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
- On failure, responds with
SdkError<CreateGeofenceCollectionError>
sourcepub fn create_map(&self) -> CreateMap
pub fn create_map(&self) -> CreateMap
Constructs a fluent builder for the CreateMap operation.
- The fluent builder is configurable:
map_name(impl Into<String>)/set_map_name(Option<String>):The name for the map resource.
Requirements:
-
Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
-
Must be a unique map resource name.
-
No spaces allowed. For example,
ExampleMap.
-
configuration(MapConfiguration)/set_configuration(Option<MapConfiguration>):Specifies the map style selected from an available data provider.
pricing_plan(PricingPlan)/set_pricing_plan(Option<PricingPlan>):No longer used. If included, the only allowed value is
RequestBasedUsage.description(impl Into<String>)/set_description(Option<String>):An optional description for the map resource.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Applies one or more tags to the map resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
Format:
“key” : “value”Restrictions:
-
Maximum 50 tags per resource
-
Each resource tag must be unique with a maximum of one value.
-
Maximum key length: 128 Unicode characters in UTF-8
-
Maximum value length: 256 Unicode characters in UTF-8
-
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
-
Cannot use “aws:” as a prefix for a key.
-
- On success, responds with
CreateMapOutputwith field(s):map_name(Option<String>):The name of the map resource.
map_arn(Option<String>):The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS.
-
Format example:
arn:aws:geo:region:account-id:maps/ExampleMap
-
create_time(Option<DateTime>):The timestamp for when the map resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
- On failure, responds with
SdkError<CreateMapError>
sourcepub fn create_place_index(&self) -> CreatePlaceIndex
pub fn create_place_index(&self) -> CreatePlaceIndex
Constructs a fluent builder for the CreatePlaceIndex operation.
- The fluent builder is configurable:
index_name(impl Into<String>)/set_index_name(Option<String>):The name of the place index resource.
Requirements:
-
Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
-
Must be a unique place index resource name.
-
No spaces allowed. For example,
ExamplePlaceIndex.
-
data_source(impl Into<String>)/set_data_source(Option<String>):Specifies the geospatial data provider for the new place index.
This field is case-sensitive. Enter the valid values as shown. For example, entering
HEREreturns an error.Valid values include:
-
Esri– For additional information about Esri‘s coverage in your region of interest, see Esri details on geocoding coverage. -
Here– For additional information about HERE Technologies’ coverage in your region of interest, see HERE details on goecoding coverage.If you specify HERE Technologies (
Here) as the data provider, you may not store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
For additional information , see Data providers on the Amazon Location Service Developer Guide.
-
pricing_plan(PricingPlan)/set_pricing_plan(Option<PricingPlan>):No longer used. If included, the only allowed value is
RequestBasedUsage.description(impl Into<String>)/set_description(Option<String>):The optional description for the place index resource.
data_source_configuration(DataSourceConfiguration)/set_data_source_configuration(Option<DataSourceConfiguration>):Specifies the data storage option requesting Places.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Applies one or more tags to the place index resource. A tag is a key-value pair that helps you manage, identify, search, and filter your resources.
Format:
“key” : “value”Restrictions:
-
Maximum 50 tags per resource.
-
Each tag key must be unique and must have exactly one associated value.
-
Maximum key length: 128 Unicode characters in UTF-8.
-
Maximum value length: 256 Unicode characters in UTF-8.
-
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @
-
Cannot use “aws:” as a prefix for a key.
-
- On success, responds with
CreatePlaceIndexOutputwith field(s):index_name(Option<String>):The name for the place index resource.
index_arn(Option<String>):The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS.
-
Format example:
arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex
-
create_time(Option<DateTime>):The timestamp for when the place index resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
- On failure, responds with
SdkError<CreatePlaceIndexError>
sourcepub fn create_route_calculator(&self) -> CreateRouteCalculator
pub fn create_route_calculator(&self) -> CreateRouteCalculator
Constructs a fluent builder for the CreateRouteCalculator operation.
- The fluent builder is configurable:
calculator_name(impl Into<String>)/set_calculator_name(Option<String>):The name of the route calculator resource.
Requirements:
-
Can use alphanumeric characters (A–Z, a–z, 0–9) , hyphens (-), periods (.), and underscores (_).
-
Must be a unique Route calculator resource name.
-
No spaces allowed. For example,
ExampleRouteCalculator.
-
data_source(impl Into<String>)/set_data_source(Option<String>):Specifies the data provider of traffic and road network data.
This field is case-sensitive. Enter the valid values as shown. For example, entering
HEREreturns an error. Route calculators that use Esri as a data source only calculate routes that are shorter than 400 km.Valid values include:
-
Esri– For additional information about Esri‘s coverage in your region of interest, see Esri details on street networks and traffic coverage. -
Here– For additional information about HERE Technologies’ coverage in your region of interest, see HERE car routing coverage and HERE truck routing coverage.
For additional information , see Data providers on the Amazon Location Service Developer Guide.
-
pricing_plan(PricingPlan)/set_pricing_plan(Option<PricingPlan>):No longer used. If included, the only allowed value is
RequestBasedUsage.description(impl Into<String>)/set_description(Option<String>):The optional description for the route calculator resource.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Applies one or more tags to the route calculator resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
-
For example: {
“tag1” : “value1”,“tag2” : “value2”}
Format:
“key” : “value”Restrictions:
-
Maximum 50 tags per resource
-
Each resource tag must be unique with a maximum of one value.
-
Maximum key length: 128 Unicode characters in UTF-8
-
Maximum value length: 256 Unicode characters in UTF-8
-
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
-
Cannot use “aws:” as a prefix for a key.
-
- On success, responds with
CreateRouteCalculatorOutputwith field(s):calculator_name(Option<String>):The name of the route calculator resource.
-
For example,
ExampleRouteCalculator.
-
calculator_arn(Option<String>):The Amazon Resource Name (ARN) for the route calculator resource. Use the ARN when you specify a resource across all AWS.
-
Format example:
arn:aws:geo:region:account-id:route-calculator/ExampleCalculator
-
create_time(Option<DateTime>):The timestamp when the route calculator resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.-
For example,
2020–07-2T12:15:20.000Z+01:00
-
- On failure, responds with
SdkError<CreateRouteCalculatorError>
sourcepub fn create_tracker(&self) -> CreateTracker
pub fn create_tracker(&self) -> CreateTracker
Constructs a fluent builder for the CreateTracker operation.
- The fluent builder is configurable:
tracker_name(impl Into<String>)/set_tracker_name(Option<String>):The name for the tracker resource.
Requirements:
-
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_).
-
Must be a unique tracker resource name.
-
No spaces allowed. For example,
ExampleTracker.
-
pricing_plan(PricingPlan)/set_pricing_plan(Option<PricingPlan>):No longer used. If included, the only allowed value is
RequestBasedUsage.kms_key_id(impl Into<String>)/set_kms_key_id(Option<String>):A key identifier for an AWS KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.
pricing_plan_data_source(impl Into<String>)/set_pricing_plan_data_source(Option<String>):This parameter is no longer used.
description(impl Into<String>)/set_description(Option<String>):An optional description for the tracker resource.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Applies one or more tags to the tracker resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
Format:
“key” : “value”Restrictions:
-
Maximum 50 tags per resource
-
Each resource tag must be unique with a maximum of one value.
-
Maximum key length: 128 Unicode characters in UTF-8
-
Maximum value length: 256 Unicode characters in UTF-8
-
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
-
Cannot use “aws:” as a prefix for a key.
-
position_filtering(PositionFiltering)/set_position_filtering(Option<PositionFiltering>):Specifies the position filtering for the tracker resource.
Valid values:
-
TimeBased- Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID. -
DistanceBased- If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this area are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map. -
AccuracyBased- If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This can reduce the effects of GPS noise when displaying device trajectories on a map, and can help control your costs by reducing the number of geofence evaluations.
This field is optional. If not specified, the default value is
TimeBased.-
- On success, responds with
CreateTrackerOutputwith field(s):tracker_name(Option<String>):The name of the tracker resource.
tracker_arn(Option<String>):The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS.
-
Format example:
arn:aws:geo:region:account-id:tracker/ExampleTracker
-
create_time(Option<DateTime>):The timestamp for when the tracker resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
- On failure, responds with
SdkError<CreateTrackerError>
sourcepub fn delete_geofence_collection(&self) -> DeleteGeofenceCollection
pub fn delete_geofence_collection(&self) -> DeleteGeofenceCollection
Constructs a fluent builder for the DeleteGeofenceCollection operation.
- The fluent builder is configurable:
collection_name(impl Into<String>)/set_collection_name(Option<String>):The name of the geofence collection to be deleted.
- On success, responds with
DeleteGeofenceCollectionOutput - On failure, responds with
SdkError<DeleteGeofenceCollectionError>
sourcepub fn delete_map(&self) -> DeleteMap
pub fn delete_map(&self) -> DeleteMap
Constructs a fluent builder for the DeleteMap operation.
- The fluent builder is configurable:
map_name(impl Into<String>)/set_map_name(Option<String>):The name of the map resource to be deleted.
- On success, responds with
DeleteMapOutput - On failure, responds with
SdkError<DeleteMapError>
sourcepub fn delete_place_index(&self) -> DeletePlaceIndex
pub fn delete_place_index(&self) -> DeletePlaceIndex
Constructs a fluent builder for the DeletePlaceIndex operation.
- The fluent builder is configurable:
index_name(impl Into<String>)/set_index_name(Option<String>):The name of the place index resource to be deleted.
- On success, responds with
DeletePlaceIndexOutput - On failure, responds with
SdkError<DeletePlaceIndexError>
sourcepub fn delete_route_calculator(&self) -> DeleteRouteCalculator
pub fn delete_route_calculator(&self) -> DeleteRouteCalculator
Constructs a fluent builder for the DeleteRouteCalculator operation.
- The fluent builder is configurable:
calculator_name(impl Into<String>)/set_calculator_name(Option<String>):The name of the route calculator resource to be deleted.
- On success, responds with
DeleteRouteCalculatorOutput - On failure, responds with
SdkError<DeleteRouteCalculatorError>
sourcepub fn delete_tracker(&self) -> DeleteTracker
pub fn delete_tracker(&self) -> DeleteTracker
Constructs a fluent builder for the DeleteTracker operation.
- The fluent builder is configurable:
tracker_name(impl Into<String>)/set_tracker_name(Option<String>):The name of the tracker resource to be deleted.
- On success, responds with
DeleteTrackerOutput - On failure, responds with
SdkError<DeleteTrackerError>
sourcepub fn describe_geofence_collection(&self) -> DescribeGeofenceCollection
pub fn describe_geofence_collection(&self) -> DescribeGeofenceCollection
Constructs a fluent builder for the DescribeGeofenceCollection operation.
- The fluent builder is configurable:
collection_name(impl Into<String>)/set_collection_name(Option<String>):The name of the geofence collection.
- On success, responds with
DescribeGeofenceCollectionOutputwith field(s):collection_name(Option<String>):The name of the geofence collection.
collection_arn(Option<String>):The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS.
-
Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
-
description(Option<String>):The optional description for the geofence collection.
pricing_plan(Option<PricingPlan>):No longer used. Always returns
RequestBasedUsage.pricing_plan_data_source(Option<String>):No longer used. Always returns an empty string.
kms_key_id(Option<String>):A key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource
tags(Option<HashMap<String, String>>):Displays the key, value pairs of tags associated with this resource.
create_time(Option<DateTime>):The timestamp for when the geofence resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZupdate_time(Option<DateTime>):The timestamp for when the geofence collection was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
- On failure, responds with
SdkError<DescribeGeofenceCollectionError>
sourcepub fn describe_map(&self) -> DescribeMap
pub fn describe_map(&self) -> DescribeMap
Constructs a fluent builder for the DescribeMap operation.
- The fluent builder is configurable:
map_name(impl Into<String>)/set_map_name(Option<String>):The name of the map resource.
- On success, responds with
DescribeMapOutputwith field(s):map_name(Option<String>):The map style selected from an available provider.
map_arn(Option<String>):The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS.
-
Format example:
arn:aws:geo:region:account-id:maps/ExampleMap
-
pricing_plan(Option<PricingPlan>):No longer used. Always returns
RequestBasedUsage.data_source(Option<String>):Specifies the data provider for the associated map tiles.
configuration(Option<MapConfiguration>):Specifies the map tile style selected from a partner data provider.
description(Option<String>):The optional description for the map resource.
tags(Option<HashMap<String, String>>):Tags associated with the map resource.
create_time(Option<DateTime>):The timestamp for when the map resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.update_time(Option<DateTime>):The timestamp for when the map resource was last update in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
- On failure, responds with
SdkError<DescribeMapError>
sourcepub fn describe_place_index(&self) -> DescribePlaceIndex
pub fn describe_place_index(&self) -> DescribePlaceIndex
Constructs a fluent builder for the DescribePlaceIndex operation.
- The fluent builder is configurable:
index_name(impl Into<String>)/set_index_name(Option<String>):The name of the place index resource.
- On success, responds with
DescribePlaceIndexOutputwith field(s):index_name(Option<String>):The name of the place index resource being described.
index_arn(Option<String>):The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS.
-
Format example:
arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex
-
pricing_plan(Option<PricingPlan>):No longer used. Always returns
RequestBasedUsage.description(Option<String>):The optional description for the place index resource.
create_time(Option<DateTime>):The timestamp for when the place index resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.update_time(Option<DateTime>):The timestamp for when the place index resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.data_source(Option<String>):The data provider of geospatial data. Values can be one of the following:
-
Esri -
Here
For more information about data providers, see Amazon Location Service data providers.
-
data_source_configuration(Option<DataSourceConfiguration>):The specified data storage option for requesting Places.
tags(Option<HashMap<String, String>>):Tags associated with place index resource.
- On failure, responds with
SdkError<DescribePlaceIndexError>
sourcepub fn describe_route_calculator(&self) -> DescribeRouteCalculator
pub fn describe_route_calculator(&self) -> DescribeRouteCalculator
Constructs a fluent builder for the DescribeRouteCalculator operation.
- The fluent builder is configurable:
calculator_name(impl Into<String>)/set_calculator_name(Option<String>):The name of the route calculator resource.
- On success, responds with
DescribeRouteCalculatorOutputwith field(s):calculator_name(Option<String>):The name of the route calculator resource being described.
calculator_arn(Option<String>):The Amazon Resource Name (ARN) for the Route calculator resource. Use the ARN when you specify a resource across AWS.
-
Format example:
arn:aws:geo:region:account-id:route-calculator/ExampleCalculator
-
pricing_plan(Option<PricingPlan>):Always returns
RequestBasedUsage.description(Option<String>):The optional description of the route calculator resource.
create_time(Option<DateTime>):The timestamp when the route calculator resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.-
For example,
2020–07-2T12:15:20.000Z+01:00
-
update_time(Option<DateTime>):The timestamp when the route calculator resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.-
For example,
2020–07-2T12:15:20.000Z+01:00
-
data_source(Option<String>):The data provider of traffic and road network data. Indicates one of the available providers:
-
Esri -
Here
For more information about data providers, see Amazon Location Service data providers.
-
tags(Option<HashMap<String, String>>):Tags associated with route calculator resource.
- On failure, responds with
SdkError<DescribeRouteCalculatorError>
sourcepub fn describe_tracker(&self) -> DescribeTracker
pub fn describe_tracker(&self) -> DescribeTracker
Constructs a fluent builder for the DescribeTracker operation.
- The fluent builder is configurable:
tracker_name(impl Into<String>)/set_tracker_name(Option<String>):The name of the tracker resource.
- On success, responds with
DescribeTrackerOutputwith field(s):tracker_name(Option<String>):The name of the tracker resource.
tracker_arn(Option<String>):The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS.
-
Format example:
arn:aws:geo:region:account-id:tracker/ExampleTracker
-
description(Option<String>):The optional description for the tracker resource.
pricing_plan(Option<PricingPlan>):Always returns
RequestBasedUsage.pricing_plan_data_source(Option<String>):No longer used. Always returns an empty string.
tags(Option<HashMap<String, String>>):The tags associated with the tracker resource.
create_time(Option<DateTime>):The timestamp for when the tracker resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.update_time(Option<DateTime>):The timestamp for when the tracker resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.kms_key_id(Option<String>):A key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.
position_filtering(Option<PositionFiltering>):The position filtering method of the tracker resource.
- On failure, responds with
SdkError<DescribeTrackerError>
sourcepub fn disassociate_tracker_consumer(&self) -> DisassociateTrackerConsumer
pub fn disassociate_tracker_consumer(&self) -> DisassociateTrackerConsumer
Constructs a fluent builder for the DisassociateTrackerConsumer operation.
- The fluent builder is configurable:
tracker_name(impl Into<String>)/set_tracker_name(Option<String>):The name of the tracker resource to be dissociated from the consumer.
consumer_arn(impl Into<String>)/set_consumer_arn(Option<String>):The Amazon Resource Name (ARN) for the geofence collection to be disassociated from the tracker resource. Used when you need to specify a resource across all AWS.
-
Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer
-
- On success, responds with
DisassociateTrackerConsumerOutput - On failure, responds with
SdkError<DisassociateTrackerConsumerError>
sourcepub fn get_device_position(&self) -> GetDevicePosition
pub fn get_device_position(&self) -> GetDevicePosition
Constructs a fluent builder for the GetDevicePosition operation.
- The fluent builder is configurable:
tracker_name(impl Into<String>)/set_tracker_name(Option<String>):The tracker resource receiving the position update.
device_id(impl Into<String>)/set_device_id(Option<String>):The device whose position you want to retrieve.
- On success, responds with
GetDevicePositionOutputwith field(s):device_id(Option<String>):The device whose position you retrieved.
sample_time(Option<DateTime>):The timestamp at which the device’s position was determined. Uses ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.received_time(Option<DateTime>):The timestamp for when the tracker resource received the device position in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.position(Option<Vec<f64>>):The last known device position.
accuracy(Option<PositionalAccuracy>):The accuracy of the device position.
position_properties(Option<HashMap<String, String>>):The properties associated with the position.
- On failure, responds with
SdkError<GetDevicePositionError>
sourcepub fn get_device_position_history(&self) -> GetDevicePositionHistory
pub fn get_device_position_history(&self) -> GetDevicePositionHistory
Constructs a fluent builder for the GetDevicePositionHistory operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
tracker_name(impl Into<String>)/set_tracker_name(Option<String>):The tracker resource receiving the request for the device position history.
device_id(impl Into<String>)/set_device_id(Option<String>):The device whose position history you want to retrieve.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value:
nullstart_time_inclusive(DateTime)/set_start_time_inclusive(Option<DateTime>):Specify the start time for the position history in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be 24 hours prior to the time that the request is made.Requirement:
-
The time specified for
StartTimeInclusivemust be beforeEndTimeExclusive.
-
end_time_exclusive(DateTime)/set_end_time_exclusive(Option<DateTime>):Specify the end time for the position history in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the time that the request is made.Requirement:
-
The time specified for
EndTimeExclusivemust be after the time forStartTimeInclusive.
-
- On success, responds with
GetDevicePositionHistoryOutputwith field(s):device_positions(Option<Vec<DevicePosition>>):Contains the position history details for the requested device.
next_token(Option<String>):A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
- On failure, responds with
SdkError<GetDevicePositionHistoryError>
sourcepub fn get_geofence(&self) -> GetGeofence
pub fn get_geofence(&self) -> GetGeofence
Constructs a fluent builder for the GetGeofence operation.
- The fluent builder is configurable:
collection_name(impl Into<String>)/set_collection_name(Option<String>):The geofence collection storing the target geofence.
geofence_id(impl Into<String>)/set_geofence_id(Option<String>):The geofence you’re retrieving details for.
- On success, responds with
GetGeofenceOutputwith field(s):geofence_id(Option<String>):The geofence identifier.
geometry(Option<GeofenceGeometry>):Contains the geofence geometry details describing a polygon.
status(Option<String>):Identifies the state of the geofence. A geofence will hold one of the following states:
-
ACTIVE— The geofence has been indexed by the system. -
PENDING— The geofence is being processed by the system. -
FAILED— The geofence failed to be indexed by the system. -
DELETED— The geofence has been deleted from the system index. -
DELETING— The geofence is being deleted from the system index.
-
create_time(Option<DateTime>):The timestamp for when the geofence collection was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZupdate_time(Option<DateTime>):The timestamp for when the geofence collection was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
- On failure, responds with
SdkError<GetGeofenceError>
sourcepub fn get_map_glyphs(&self) -> GetMapGlyphs
pub fn get_map_glyphs(&self) -> GetMapGlyphs
Constructs a fluent builder for the GetMapGlyphs operation.
- The fluent builder is configurable:
map_name(impl Into<String>)/set_map_name(Option<String>):The map resource associated with the glyph file.
font_stack(impl Into<String>)/set_font_stack(Option<String>):A comma-separated list of fonts to load glyphs from in order of preference. For example,
Noto Sans Regular, Arial Unicode.Valid fonts stacks for Esri styles:
-
VectorEsriDarkGrayCanvas –
Ubuntu Medium Italic|Ubuntu Medium|Ubuntu Italic|Ubuntu Regular|Ubuntu Bold -
VectorEsriLightGrayCanvas –
Ubuntu Italic|Ubuntu Regular|Ubuntu Light|Ubuntu Bold -
VectorEsriTopographic –
Noto Sans Italic|Noto Sans Regular|Noto Sans Bold|Noto Serif Regular|Roboto Condensed Light Italic -
VectorEsriStreets –
Arial Regular|Arial Italic|Arial Bold -
VectorEsriNavigation –
Arial Regular|Arial Italic|Arial Bold
Valid font stacks for HERE Technologies styles:
-
VectorHereBerlin –
Fira GO Regular|Fira GO Bold -
VectorHereExplore, VectorHereExploreTruck –
Firo GO Italic|Fira GO Map|Fira GO Map Bold|Noto Sans CJK JP Bold|Noto Sans CJK JP Light|Noto Sans CJK JP Regular
-
font_unicode_range(impl Into<String>)/set_font_unicode_range(Option<String>):A Unicode range of characters to download glyphs for. Each response will contain 256 characters. For example, 0–255 includes all characters from range
U+0000to00FF. Must be aligned to multiples of 256.
- On success, responds with
GetMapGlyphsOutputwith field(s):blob(Option<Blob>):The blob’s content type.
content_type(Option<String>):The map glyph content type. For example,
application/octet-stream.
- On failure, responds with
SdkError<GetMapGlyphsError>
sourcepub fn get_map_sprites(&self) -> GetMapSprites
pub fn get_map_sprites(&self) -> GetMapSprites
Constructs a fluent builder for the GetMapSprites operation.
- The fluent builder is configurable:
map_name(impl Into<String>)/set_map_name(Option<String>):The map resource associated with the sprite file.
file_name(impl Into<String>)/set_file_name(Option<String>):The name of the sprite file. Use the following file names for the sprite sheet:
-
sprites.png -
sprites@2x.pngfor high pixel density displays
For the JSON document contain image offsets. Use the following file names:
-
sprites.json -
sprites@2x.jsonfor high pixel density displays
-
- On success, responds with
GetMapSpritesOutputwith field(s):blob(Option<Blob>):Contains the body of the sprite sheet or JSON offset file.
content_type(Option<String>):The content type of the sprite sheet and offsets. For example, the sprite sheet content type is
image/png, and the sprite offset JSON document isapplication/json.
- On failure, responds with
SdkError<GetMapSpritesError>
sourcepub fn get_map_style_descriptor(&self) -> GetMapStyleDescriptor
pub fn get_map_style_descriptor(&self) -> GetMapStyleDescriptor
Constructs a fluent builder for the GetMapStyleDescriptor operation.
- The fluent builder is configurable:
map_name(impl Into<String>)/set_map_name(Option<String>):The map resource to retrieve the style descriptor from.
- On success, responds with
GetMapStyleDescriptorOutputwith field(s):blob(Option<Blob>):Contains the body of the style descriptor.
content_type(Option<String>):The style descriptor’s content type. For example,
application/json.
- On failure, responds with
SdkError<GetMapStyleDescriptorError>
sourcepub fn get_map_tile(&self) -> GetMapTile
pub fn get_map_tile(&self) -> GetMapTile
Constructs a fluent builder for the GetMapTile operation.
- The fluent builder is configurable:
map_name(impl Into<String>)/set_map_name(Option<String>):The map resource to retrieve the map tiles from.
z(impl Into<String>)/set_z(Option<String>):The zoom value for the map tile.
x(impl Into<String>)/set_x(Option<String>):The X axis value for the map tile.
y(impl Into<String>)/set_y(Option<String>):The Y axis value for the map tile.
- On success, responds with
GetMapTileOutputwith field(s):blob(Option<Blob>):Contains Mapbox Vector Tile (MVT) data.
content_type(Option<String>):The map tile’s content type. For example,
application/vnd.mapbox-vector-tile.
- On failure, responds with
SdkError<GetMapTileError>
sourcepub fn list_device_positions(&self) -> ListDevicePositions
pub fn list_device_positions(&self) -> ListDevicePositions
Constructs a fluent builder for the ListDevicePositions operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
tracker_name(impl Into<String>)/set_tracker_name(Option<String>):The tracker resource containing the requested devices.
max_results(i32)/set_max_results(Option<i32>):An optional limit for the number of entries returned in a single call.
Default value:
100next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value:
null
- On success, responds with
ListDevicePositionsOutputwith field(s):entries(Option<Vec<ListDevicePositionsResponseEntry>>):Contains details about each device’s last known position. These details includes the device ID, the time when the position was sampled on the device, the time that the service received the update, and the most recent coordinates.
next_token(Option<String>):A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
- On failure, responds with
SdkError<ListDevicePositionsError>
sourcepub fn list_geofence_collections(&self) -> ListGeofenceCollections
pub fn list_geofence_collections(&self) -> ListGeofenceCollections
Constructs a fluent builder for the ListGeofenceCollections operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):An optional limit for the number of resources returned in a single call.
Default value:
100next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value:
null
- On success, responds with
ListGeofenceCollectionsOutputwith field(s):entries(Option<Vec<ListGeofenceCollectionsResponseEntry>>):Lists the geofence collections that exist in your AWS account.
next_token(Option<String>):A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
- On failure, responds with
SdkError<ListGeofenceCollectionsError>
sourcepub fn list_geofences(&self) -> ListGeofences
pub fn list_geofences(&self) -> ListGeofences
Constructs a fluent builder for the ListGeofences operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
collection_name(impl Into<String>)/set_collection_name(Option<String>):The name of the geofence collection storing the list of geofences.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value:
null
- On success, responds with
ListGeofencesOutputwith field(s):entries(Option<Vec<ListGeofenceResponseEntry>>):Contains a list of geofences stored in the geofence collection.
next_token(Option<String>):A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
- On failure, responds with
SdkError<ListGeofencesError>
sourcepub fn list_maps(&self) -> ListMaps
pub fn list_maps(&self) -> ListMaps
Constructs a fluent builder for the ListMaps operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):An optional limit for the number of resources returned in a single call.
Default value:
100next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value:
null
- On success, responds with
ListMapsOutputwith field(s):entries(Option<Vec<ListMapsResponseEntry>>):Contains a list of maps in your AWS account
next_token(Option<String>):A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
- On failure, responds with
SdkError<ListMapsError>
sourcepub fn list_place_indexes(&self) -> ListPlaceIndexes
pub fn list_place_indexes(&self) -> ListPlaceIndexes
Constructs a fluent builder for the ListPlaceIndexes operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):An optional limit for the maximum number of results returned in a single call.
Default value:
100next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value:
null
- On success, responds with
ListPlaceIndexesOutputwith field(s):entries(Option<Vec<ListPlaceIndexesResponseEntry>>):Lists the place index resources that exist in your AWS account
next_token(Option<String>):A pagination token indicating that there are additional pages available. You can use the token in a new request to fetch the next page of results.
- On failure, responds with
SdkError<ListPlaceIndexesError>
sourcepub fn list_route_calculators(&self) -> ListRouteCalculators
pub fn list_route_calculators(&self) -> ListRouteCalculators
Constructs a fluent builder for the ListRouteCalculators operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):An optional maximum number of results returned in a single call.
Default Value:
100next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default Value:
null
- On success, responds with
ListRouteCalculatorsOutputwith field(s):entries(Option<Vec<ListRouteCalculatorsResponseEntry>>):Lists the route calculator resources that exist in your AWS account
next_token(Option<String>):A pagination token indicating there are additional pages available. You can use the token in a subsequent request to fetch the next set of results.
- On failure, responds with
SdkError<ListRouteCalculatorsError>
Constructs a fluent builder for the ListTagsForResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.
-
Format example:
arn:aws:geo:region:account-id:resourcetype/ExampleResource
-
- On success, responds with
ListTagsForResourceOutputwith field(s):tags(Option<HashMap<String, String>>):Tags that have been applied to the specified resource. Tags are mapped from the tag key to the tag value:
“TagKey” : “TagValue”.-
Format example:
{“tag1” : “value1”, “tag2” : “value2”}
-
- On failure, responds with
SdkError<ListTagsForResourceError>
sourcepub fn list_tracker_consumers(&self) -> ListTrackerConsumers
pub fn list_tracker_consumers(&self) -> ListTrackerConsumers
Constructs a fluent builder for the ListTrackerConsumers operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
tracker_name(impl Into<String>)/set_tracker_name(Option<String>):The tracker resource whose associated geofence collections you want to list.
max_results(i32)/set_max_results(Option<i32>):An optional limit for the number of resources returned in a single call.
Default value:
100next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value:
null
- On success, responds with
ListTrackerConsumersOutputwith field(s):consumer_arns(Option<Vec<String>>):Contains the list of geofence collection ARNs associated to the tracker resource.
next_token(Option<String>):A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
- On failure, responds with
SdkError<ListTrackerConsumersError>
sourcepub fn list_trackers(&self) -> ListTrackers
pub fn list_trackers(&self) -> ListTrackers
Constructs a fluent builder for the ListTrackers operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):An optional limit for the number of resources returned in a single call.
Default value:
100next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value:
null
- On success, responds with
ListTrackersOutputwith field(s):entries(Option<Vec<ListTrackersResponseEntry>>):Contains tracker resources in your AWS account. Details include tracker name, description and timestamps for when the tracker was created and last updated.
next_token(Option<String>):A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
- On failure, responds with
SdkError<ListTrackersError>
sourcepub fn put_geofence(&self) -> PutGeofence
pub fn put_geofence(&self) -> PutGeofence
Constructs a fluent builder for the PutGeofence operation.
- The fluent builder is configurable:
collection_name(impl Into<String>)/set_collection_name(Option<String>):The geofence collection to store the geofence in.
geofence_id(impl Into<String>)/set_geofence_id(Option<String>):An identifier for the geofence. For example,
ExampleGeofence-1.geometry(GeofenceGeometry)/set_geometry(Option<GeofenceGeometry>):Contains the polygon details to specify the position of the geofence.
Each geofence polygon can have a maximum of 1,000 vertices.
- On success, responds with
PutGeofenceOutputwith field(s):geofence_id(Option<String>):The geofence identifier entered in the request.
create_time(Option<DateTime>):The timestamp for when the geofence was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZupdate_time(Option<DateTime>):The timestamp for when the geofence was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
- On failure, responds with
SdkError<PutGeofenceError>
sourcepub fn search_place_index_for_position(&self) -> SearchPlaceIndexForPosition
pub fn search_place_index_for_position(&self) -> SearchPlaceIndexForPosition
Constructs a fluent builder for the SearchPlaceIndexForPosition operation.
- The fluent builder is configurable:
index_name(impl Into<String>)/set_index_name(Option<String>):The name of the place index resource you want to use for the search.
position(Vec<f64>)/set_position(Option<Vec<f64>>):Specifies the longitude and latitude of the position to query.
This parameter must contain a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.
For example,
[-123.1174, 49.2847]represents a position with longitude-123.1174and latitude49.2847.max_results(i32)/set_max_results(i32):An optional parameter. The maximum number of results returned per request.
Default value:
50language(impl Into<String>)/set_language(Option<String>):The preferred language used to return results. The value must be a valid BCP 47 language tag, for example,
enfor English.This setting affects the languages used in the results. It does not change which results are returned. If the language is not specified, or not supported for a particular result, the partner automatically chooses a language for the result.
- On success, responds with
SearchPlaceIndexForPositionOutputwith field(s):summary(Option<SearchPlaceIndexForPositionSummary>):Contains a summary of the request. Echoes the input values for
Position,Language,MaxResults, and theDataSourceof the place index.results(Option<Vec<SearchForPositionResult>>):Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.
- On failure, responds with
SdkError<SearchPlaceIndexForPositionError>
sourcepub fn search_place_index_for_suggestions(
&self
) -> SearchPlaceIndexForSuggestions
pub fn search_place_index_for_suggestions(
&self
) -> SearchPlaceIndexForSuggestions
Constructs a fluent builder for the SearchPlaceIndexForSuggestions operation.
- The fluent builder is configurable:
index_name(impl Into<String>)/set_index_name(Option<String>):The name of the place index resource you want to use for the search.
text(impl Into<String>)/set_text(Option<String>):The free-form partial text to use to generate place suggestions. For example,
eiffel tow.bias_position(Vec<f64>)/set_bias_position(Option<Vec<f64>>):An optional parameter that indicates a preference for place suggestions that are closer to a specified position.
If provided, this parameter must contain a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.
For example,
[-123.1174, 49.2847]represents the position with longitude-123.1174and latitude49.2847.BiasPositionandFilterBBoxare mutually exclusive. Specifying both options results in an error.filter_b_box(Vec<f64>)/set_filter_b_box(Option<Vec<f64>>):An optional parameter that limits the search results by returning only suggestions within a specified bounding box.
If provided, this parameter must contain a total of four consecutive numbers in two pairs. The first pair of numbers represents the X and Y coordinates (longitude and latitude, respectively) of the southwest corner of the bounding box; the second pair of numbers represents the X and Y coordinates (longitude and latitude, respectively) of the northeast corner of the bounding box.
For example,
[-12.7935, -37.4835, -12.0684, -36.9542]represents a bounding box where the southwest corner has longitude-12.7935and latitude-37.4835, and the northeast corner has longitude-12.0684and latitude-36.9542.FilterBBoxandBiasPositionare mutually exclusive. Specifying both options results in an error.filter_countries(Vec<String>)/set_filter_countries(Option<Vec<String>>):An optional parameter that limits the search results by returning only suggestions within the provided list of countries.
-
Use the ISO 3166 3-digit country code. For example, Australia uses three upper-case characters:
AUS.
-
max_results(i32)/set_max_results(Option<i32>):An optional parameter. The maximum number of results returned per request.
The default:
5language(impl Into<String>)/set_language(Option<String>):The preferred language used to return results. The value must be a valid BCP 47 language tag, for example,
enfor English.This setting affects the languages used in the results. It does not change which results are returned. If the language is not specified, or not supported for a particular result, the partner automatically chooses a language for the result.
Used only when the partner selected is Here.
- On success, responds with
SearchPlaceIndexForSuggestionsOutputwith field(s):summary(Option<SearchPlaceIndexForSuggestionsSummary>):Contains a summary of the request. Echoes the input values for
BiasPosition,FilterBBox,FilterCountries,Language,MaxResults, andText. Also includes theDataSourceof the place index.results(Option<Vec<SearchForSuggestionsResult>>):A list of place suggestions that best match the search text.
- On failure, responds with
SdkError<SearchPlaceIndexForSuggestionsError>
sourcepub fn search_place_index_for_text(&self) -> SearchPlaceIndexForText
pub fn search_place_index_for_text(&self) -> SearchPlaceIndexForText
Constructs a fluent builder for the SearchPlaceIndexForText operation.
- The fluent builder is configurable:
index_name(impl Into<String>)/set_index_name(Option<String>):The name of the place index resource you want to use for the search.
text(impl Into<String>)/set_text(Option<String>):The address, name, city, or region to be used in the search in free-form text format. For example,
123 Any Street.bias_position(Vec<f64>)/set_bias_position(Option<Vec<f64>>):An optional parameter that indicates a preference for places that are closer to a specified position.
If provided, this parameter must contain a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.
For example,
[-123.1174, 49.2847]represents the position with longitude-123.1174and latitude49.2847.BiasPositionandFilterBBoxare mutually exclusive. Specifying both options results in an error.filter_b_box(Vec<f64>)/set_filter_b_box(Option<Vec<f64>>):An optional parameter that limits the search results by returning only places that are within the provided bounding box.
If provided, this parameter must contain a total of four consecutive numbers in two pairs. The first pair of numbers represents the X and Y coordinates (longitude and latitude, respectively) of the southwest corner of the bounding box; the second pair of numbers represents the X and Y coordinates (longitude and latitude, respectively) of the northeast corner of the bounding box.
For example,
[-12.7935, -37.4835, -12.0684, -36.9542]represents a bounding box where the southwest corner has longitude-12.7935and latitude-37.4835, and the northeast corner has longitude-12.0684and latitude-36.9542.FilterBBoxandBiasPositionare mutually exclusive. Specifying both options results in an error.filter_countries(Vec<String>)/set_filter_countries(Option<Vec<String>>):An optional parameter that limits the search results by returning only places that are in a specified list of countries.
-
Valid values include ISO 3166 3-digit country codes. For example, Australia uses three upper-case characters:
AUS.
-
max_results(i32)/set_max_results(i32):An optional parameter. The maximum number of results returned per request.
The default:
50language(impl Into<String>)/set_language(Option<String>):The preferred language used to return results. The value must be a valid BCP 47 language tag, for example,
enfor English.This setting affects the languages used in the results. It does not change which results are returned. If the language is not specified, or not supported for a particular result, the partner automatically chooses a language for the result.
- On success, responds with
SearchPlaceIndexForTextOutputwith field(s):summary(Option<SearchPlaceIndexForTextSummary>):Contains a summary of the request. Echoes the input values for
BiasPosition,FilterBBox,FilterCountries,Language,MaxResults, andText. Also includes theDataSourceof the place index and the bounding box,ResultBBox, which surrounds the search results.results(Option<Vec<SearchForTextResult>>):A list of Places matching the input text. Each result contains additional information about the specific point of interest.
- On failure, responds with
SdkError<SearchPlaceIndexForTextError>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) of the resource whose tags you want to update.
-
Format example:
arn:aws:geo:region:account-id:resourcetype/ExampleResource
-
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Applies one or more tags to specific resource. A tag is a key-value pair that helps you manage, identify, search, and filter your resources.
Format:
“key” : “value”Restrictions:
-
Maximum 50 tags per resource.
-
Each tag key must be unique and must have exactly one associated value.
-
Maximum key length: 128 Unicode characters in UTF-8.
-
Maximum value length: 256 Unicode characters in UTF-8.
-
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @
-
Cannot use “aws:” as a prefix for a key.
-
- On success, responds with
TagResourceOutput - On failure, responds with
SdkError<TagResourceError>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) of the resource from which you want to remove tags.
-
Format example:
arn:aws:geo:region:account-id:resourcetype/ExampleResource
-
tag_keys(Vec<String>)/set_tag_keys(Option<Vec<String>>):The list of tag keys to remove from the specified resource.
- On success, responds with
UntagResourceOutput - On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_geofence_collection(&self) -> UpdateGeofenceCollection
pub fn update_geofence_collection(&self) -> UpdateGeofenceCollection
Constructs a fluent builder for the UpdateGeofenceCollection operation.
- The fluent builder is configurable:
collection_name(impl Into<String>)/set_collection_name(Option<String>):The name of the geofence collection to update.
pricing_plan(PricingPlan)/set_pricing_plan(Option<PricingPlan>):No longer used. If included, the only allowed value is
RequestBasedUsage.pricing_plan_data_source(impl Into<String>)/set_pricing_plan_data_source(Option<String>):This parameter is no longer used.
description(impl Into<String>)/set_description(Option<String>):Updates the description for the geofence collection.
- On success, responds with
UpdateGeofenceCollectionOutputwith field(s):collection_name(Option<String>):The name of the updated geofence collection.
collection_arn(Option<String>):The Amazon Resource Name (ARN) of the updated geofence collection. Used to specify a resource across AWS.
-
Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
-
update_time(Option<DateTime>):The time when the geofence collection was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
- On failure, responds with
SdkError<UpdateGeofenceCollectionError>
sourcepub fn update_map(&self) -> UpdateMap
pub fn update_map(&self) -> UpdateMap
Constructs a fluent builder for the UpdateMap operation.
- The fluent builder is configurable:
map_name(impl Into<String>)/set_map_name(Option<String>):The name of the map resource to update.
pricing_plan(PricingPlan)/set_pricing_plan(Option<PricingPlan>):No longer used. If included, the only allowed value is
RequestBasedUsage.description(impl Into<String>)/set_description(Option<String>):Updates the description for the map resource.
- On success, responds with
UpdateMapOutputwith field(s):map_name(Option<String>):The name of the updated map resource.
map_arn(Option<String>):The Amazon Resource Name (ARN) of the updated map resource. Used to specify a resource across AWS.
-
Format example:
arn:aws:geo:region:account-id:maps/ExampleMap
-
update_time(Option<DateTime>):The timestamp for when the map resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
- On failure, responds with
SdkError<UpdateMapError>
sourcepub fn update_place_index(&self) -> UpdatePlaceIndex
pub fn update_place_index(&self) -> UpdatePlaceIndex
Constructs a fluent builder for the UpdatePlaceIndex operation.
- The fluent builder is configurable:
index_name(impl Into<String>)/set_index_name(Option<String>):The name of the place index resource to update.
pricing_plan(PricingPlan)/set_pricing_plan(Option<PricingPlan>):No longer used. If included, the only allowed value is
RequestBasedUsage.description(impl Into<String>)/set_description(Option<String>):Updates the description for the place index resource.
data_source_configuration(DataSourceConfiguration)/set_data_source_configuration(Option<DataSourceConfiguration>):Updates the data storage option for the place index resource.
- On success, responds with
UpdatePlaceIndexOutputwith field(s):index_name(Option<String>):The name of the updated place index resource.
index_arn(Option<String>):The Amazon Resource Name (ARN) of the upated place index resource. Used to specify a resource across AWS.
-
Format example:
arn:aws:geo:region:account-id:place- index/ExamplePlaceIndex
-
update_time(Option<DateTime>):The timestamp for when the place index resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
- On failure, responds with
SdkError<UpdatePlaceIndexError>
sourcepub fn update_route_calculator(&self) -> UpdateRouteCalculator
pub fn update_route_calculator(&self) -> UpdateRouteCalculator
Constructs a fluent builder for the UpdateRouteCalculator operation.
- The fluent builder is configurable:
calculator_name(impl Into<String>)/set_calculator_name(Option<String>):The name of the route calculator resource to update.
pricing_plan(PricingPlan)/set_pricing_plan(Option<PricingPlan>):No longer used. If included, the only allowed value is
RequestBasedUsage.description(impl Into<String>)/set_description(Option<String>):Updates the description for the route calculator resource.
- On success, responds with
UpdateRouteCalculatorOutputwith field(s):calculator_name(Option<String>):The name of the updated route calculator resource.
calculator_arn(Option<String>):The Amazon Resource Name (ARN) of the updated route calculator resource. Used to specify a resource across AWS.
-
Format example:
arn:aws:geo:region:account-id:route- calculator/ExampleCalculator
-
update_time(Option<DateTime>):The timestamp for when the route calculator was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
- On failure, responds with
SdkError<UpdateRouteCalculatorError>
sourcepub fn update_tracker(&self) -> UpdateTracker
pub fn update_tracker(&self) -> UpdateTracker
Constructs a fluent builder for the UpdateTracker operation.
- The fluent builder is configurable:
tracker_name(impl Into<String>)/set_tracker_name(Option<String>):The name of the tracker resource to update.
pricing_plan(PricingPlan)/set_pricing_plan(Option<PricingPlan>):No longer used. If included, the only allowed value is
RequestBasedUsage.pricing_plan_data_source(impl Into<String>)/set_pricing_plan_data_source(Option<String>):This parameter is no longer used.
description(impl Into<String>)/set_description(Option<String>):Updates the description for the tracker resource.
position_filtering(PositionFiltering)/set_position_filtering(Option<PositionFiltering>):Updates the position filtering for the tracker resource.
Valid values:
-
TimeBased- Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID. -
DistanceBased- If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this distance are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map. -
AccuracyBased- If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This helps educe the effects of GPS noise when displaying device trajectories on a map, and can help control costs by reducing the number of geofence evaluations.
-
- On success, responds with
UpdateTrackerOutputwith field(s):tracker_name(Option<String>):The name of the updated tracker resource.
tracker_arn(Option<String>):The Amazon Resource Name (ARN) of the updated tracker resource. Used to specify a resource across AWS.
-
Format example:
arn:aws:geo:region:account-id:tracker/ExampleTracker
-
update_time(Option<DateTime>):The timestamp for when the tracker resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
- On failure, responds with
SdkError<UpdateTrackerError>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.
Trait Implementations
sourceimpl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
sourcefn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more