class Amazonite::ApiGateway::ImportApiKeysRequest

Overview

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

Included Modules

Defined in:

api_gateway/import_api_keys_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(body : String, format : ApiKeysFormat, fail_on_warnings : Bool | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def body : String #

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


[View source]
def body=(body : String) #

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


[View source]
def fail_on_warnings : Bool | Nil #

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


[View source]
def fail_on_warnings=(fail_on_warnings : Bool | Nil) #

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


[View source]
def format : ApiKeysFormat #

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


[View source]
def format=(format : ApiKeysFormat) #

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


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def validate! : Nil #

[View source]