NAME
Paws::LocationService::CreateRouteCalculator - Arguments for method CreateRouteCalculator on Paws::LocationService
DESCRIPTION
This class represents the parameters used for calling the method CreateRouteCalculator on the Amazon Location Service service. Use the attributes of this class as arguments to method CreateRouteCalculator.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateRouteCalculator.
SYNOPSIS
my $geo = Paws->service('LocationService');
my $CreateRouteCalculatorResponse = $geo->CreateRouteCalculator(
CalculatorName => 'MyResourceName',
DataSource => 'MyString',
PricingPlan => 'RequestBasedUsage',
Description => 'MyResourceDescription', # OPTIONAL
Tags => {
'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256
}, # OPTIONAL
);
# Results:
my $CalculatorArn = $CreateRouteCalculatorResponse->CalculatorArn;
my $CalculatorName = $CreateRouteCalculatorResponse->CalculatorName;
my $CreateTime = $CreateRouteCalculatorResponse->CreateTime;
# Returns a L<Paws::LocationService::CreateRouteCalculatorResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/geo/CreateRouteCalculator
ATTRIBUTES
REQUIRED CalculatorName => Str
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
.
REQUIRED DataSource => Str
Specifies the data provider of traffic and road network data.
This field is case-sensitive. Enter the valid values as shown. For example, entering HERE
returns an error.
Valid Values: Esri
| Here
For more information about data providers, see Amazon Location Service data providers (https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html).
Description => Str
The optional description for the route calculator resource.
REQUIRED PricingPlan => Str
Specifies the pricing plan for your route calculator resource.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing (https://aws.amazon.com/location/pricing/).
Valid values are: "RequestBasedUsage"
, "MobileAssetTracking"
, "MobileAssetManagement"
Tags => Paws::LocationService::TagMap
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: + - = . _ : / @.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateRouteCalculator in Paws::LocationService
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues