Class: Aws::APIGateway::Types::ImportApiKeysRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-apigateway/types.rb

Overview

The POST request to import API keys from an external source, such as a CSV-formatted file.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

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

Returns:

  • (String)


3370
3371
3372
3373
3374
3375
3376
# File 'lib/aws-sdk-apigateway/types.rb', line 3370

class ImportApiKeysRequest < Struct.new(
  :body,
  :format,
  :fail_on_warnings)
  SENSITIVE = []
  include Aws::Structure
end

#fail_on_warningsBoolean

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

Returns:

  • (Boolean)


3370
3371
3372
3373
3374
3375
3376
# File 'lib/aws-sdk-apigateway/types.rb', line 3370

class ImportApiKeysRequest < Struct.new(
  :body,
  :format,
  :fail_on_warnings)
  SENSITIVE = []
  include Aws::Structure
end

#formatString

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

Returns:

  • (String)


3370
3371
3372
3373
3374
3375
3376
# File 'lib/aws-sdk-apigateway/types.rb', line 3370

class ImportApiKeysRequest < Struct.new(
  :body,
  :format,
  :fail_on_warnings)
  SENSITIVE = []
  include Aws::Structure
end