The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::LocationService::CreateTracker - Arguments for method CreateTracker on Paws::LocationService

DESCRIPTION

This class represents the parameters used for calling the method CreateTracker on the Amazon Location Service service. Use the attributes of this class as arguments to method CreateTracker.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateTracker.

SYNOPSIS

    my $geo = Paws->service('LocationService');
    my $CreateTrackerResponse = $geo->CreateTracker(
      PricingPlan           => 'RequestBasedUsage',
      TrackerName           => 'MyResourceName',
      Description           => 'MyResourceDescription',    # OPTIONAL
      KmsKeyId              => 'MyKmsKeyId',               # OPTIONAL
      PricingPlanDataSource => 'MyString',                 # OPTIONAL
      Tags                  => {
        'MyTagKey' => 'MyTagValue',    # key: min: 1, max: 128, value: max: 256
      },    # OPTIONAL
    );

    # Results:
    my $CreateTime  = $CreateTrackerResponse->CreateTime;
    my $TrackerArn  = $CreateTrackerResponse->TrackerArn;
    my $TrackerName = $CreateTrackerResponse->TrackerName;

    # Returns a L<Paws::LocationService::CreateTrackerResponse> 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/CreateTracker

ATTRIBUTES

Description => Str

An optional description for the tracker resource.

KmsKeyId => Str

A key identifier for an AWS KMS customer managed key (https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html). Enter a key ID, key ARN, alias name, or alias ARN.

REQUIRED PricingPlan => Str

Specifies the pricing plan for the tracker resource.

For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page (https://aws.amazon.com/location/pricing/).

Valid values are: "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"

PricingPlanDataSource => Str

Specifies the data provider for the tracker resource.

  • Required value for the following pricing plans: MobileAssetTracking | MobileAssetManagement

For more information about Data Providers (https://aws.amazon.com/location/data-providers/), and Pricing plans (https://aws.amazon.com/location/pricing/), see the Amazon Location Service product page.

Amazon Location Service only uses PricingPlanDataSource to calculate billing for your tracker resource. Your data will not be shared with the data provider, and will remain in your AWS account or Region unless you move it.

Valid Values: Esri | Here

Tags => Paws::LocationService::TagMap

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: + - = . _ : / @.

REQUIRED TrackerName => Str

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.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateTracker 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