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::CreateGeofenceCollection - Arguments for method CreateGeofenceCollection on Paws::LocationService

DESCRIPTION

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

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

SYNOPSIS

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

    # Results:
    my $CollectionArn  = $CreateGeofenceCollectionResponse->CollectionArn;
    my $CollectionName = $CreateGeofenceCollectionResponse->CollectionName;
    my $CreateTime     = $CreateGeofenceCollectionResponse->CreateTime;

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

ATTRIBUTES

REQUIRED CollectionName => Str

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.

Description => Str

An optional description for the geofence collection.

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 geofence collection.

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 geofence collection.

  • 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 geofence collection. Your data won't 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 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: + - = . _ : / @.

SEE ALSO

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