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

DESCRIPTION

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

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

SYNOPSIS

    my $geo = Paws->service('LocationService');
    my $CreateMapResponse = $geo->CreateMap(
      Configuration => {
        Style => 'MyMapStyle',    # min: 1, max: 100

      },
      MapName     => 'MyResourceName',
      PricingPlan => 'RequestBasedUsage',
      Description => 'MyResourceDescription',    # OPTIONAL
      Tags        => {
        'MyTagKey' => 'MyTagValue',    # key: min: 1, max: 128, value: max: 256
      },    # OPTIONAL
    );

    # Results:
    my $CreateTime = $CreateMapResponse->CreateTime;
    my $MapArn     = $CreateMapResponse->MapArn;
    my $MapName    = $CreateMapResponse->MapName;

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

ATTRIBUTES

REQUIRED Configuration => Paws::LocationService::MapConfiguration

Specifies the map style selected from an available data provider.

Description => Str

An optional description for the map resource.

REQUIRED MapName => Str

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.

REQUIRED PricingPlan => Str

Specifies the pricing plan for your map 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"

Tags => Paws::LocationService::TagMap

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

SEE ALSO

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