You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::APIGateway::Types::ImportApiKeysRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::ImportApiKeysRequest
- Defined in:
- (unknown)
Overview
When passing ImportApiKeysRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
body: "data", # required
format: "csv", # required, accepts csv
fail_on_warnings: false,
}
The POST request to import API keys from an external source, such as a CSV-formatted file.
Instance Attribute Summary collapse
-
#body ⇒ String
The payload of the POST request to import API keys.
-
#fail_on_warnings ⇒ Boolean
A query parameter to indicate whether to rollback ApiKey importation (
true
) or not (false
) when error is encountered. -
#format ⇒ String
A query parameter to specify the input format to imported API keys.
Instance Attribute Details
#body ⇒ String
The payload of the POST request to import API keys. For the payload format, see API Key File Format.
#fail_on_warnings ⇒ Boolean
A query parameter to indicate whether to rollback ApiKey
importation (true
) or not (false
) when error is encountered.
#format ⇒ String
A query parameter to specify the input format to imported API keys.
Currently, only the csv
format is supported.
Possible values:
- csv