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


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

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


    my $apigateway = Paws->service('ApiGateway');
    my $ApiKeyIds = $apigateway->ImportApiKeys(
      Body           => 'BlobBlob',
      Format         => 'csv',
      FailOnWarnings => 1,            # OPTIONAL

    # Results:
    my $Ids      = $ApiKeyIds->Ids;
    my $Warnings = $ApiKeyIds->Warnings;

    # Returns a L<Paws::ApiGateway::ApiKeyIds> 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


REQUIRED Body => Str

The payload of the POST request to import API keys. For the payload format, see API Key File Format (

FailOnWarnings => Bool

A query parameter to indicate whether to rollback ApiKey importation (true) or not (false) when error is encountered.

REQUIRED Format => Str

A query parameter to specify the input format to imported API keys. Currently, only the csv format is supported.

Valid values are: "csv"


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


The source code is located here:

Please report bugs to: