++ed by:
SALVA DBOOK CAFEGRATZ IOANR EMAZEP

17 PAUSE users
15 non-PAUSE users.

Jose Luis Martinez Torres
and 1 contributors

NAME

Paws::ApiGateway::CreateApiKey - Arguments for method CreateApiKey on Paws::ApiGateway

DESCRIPTION

This class represents the parameters used for calling the method CreateApiKey on the Amazon API Gateway service. Use the attributes of this class as arguments to method CreateApiKey.

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

SYNOPSIS

    my $apigateway = Paws->service('ApiGateway');
    my $ApiKey = $apigateway->CreateApiKey(
      CustomerId         => 'MyString',    # OPTIONAL
      Description        => 'MyString',    # OPTIONAL
      Enabled            => 1,             # OPTIONAL
      GenerateDistinctId => 1,             # OPTIONAL
      Name               => 'MyString',    # OPTIONAL
      StageKeys          => [
        {
          restApiId => 'MyString',
          stageName => 'MyString',
        },
        ...
      ],                                   # OPTIONAL
      Value => 'MyString',                 # OPTIONAL
    );

    # Results:
    my $CreatedDate     = $ApiKey->CreatedDate;
    my $CustomerId      = $ApiKey->CustomerId;
    my $Description     = $ApiKey->Description;
    my $Enabled         = $ApiKey->Enabled;
    my $Id              = $ApiKey->Id;
    my $LastUpdatedDate = $ApiKey->LastUpdatedDate;
    my $Name            = $ApiKey->Name;
    my $StageKeys       = $ApiKey->StageKeys;
    my $Value           = $ApiKey->Value;

    # Returns a L<Paws::ApiGateway::ApiKey> 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://aws.amazon.com/documentation/apigateway/

ATTRIBUTES

CustomerId => Str

An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.

Description => Str

The description of the ApiKey.

Enabled => Bool

Specifies whether the ApiKey can be used by callers.

GenerateDistinctId => Bool

Specifies whether (true) or not (false) the key identifier is distinct from the created API key value.

Name => Str

The name of the ApiKey.

StageKeys => ArrayRef[Paws::ApiGateway::StageKey]

DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.

Value => Str

Specifies a value of the API key.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateApiKey in Paws::ApiGateway

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