Class: Aws::APIGateway::Types::GetApiKeyRequest

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

Overview

Note:

When making an API call, you may pass GetApiKeyRequest data as a hash:

{
  api_key: "String", # required
  include_value: false,
}

A request to get information about the current ApiKey resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_keyString

[Required] The identifier of the ApiKey resource.

Returns:

  • (String)


3023
3024
3025
3026
3027
3028
# File 'lib/aws-sdk-apigateway/types.rb', line 3023

class GetApiKeyRequest < Struct.new(
  :api_key,
  :include_value)
  SENSITIVE = []
  include Aws::Structure
end

#include_valueBoolean

A boolean flag to specify whether (‘true`) or not (`false`) the result contains the key value.

Returns:

  • (Boolean)


3023
3024
3025
3026
3027
3028
# File 'lib/aws-sdk-apigateway/types.rb', line 3023

class GetApiKeyRequest < Struct.new(
  :api_key,
  :include_value)
  SENSITIVE = []
  include Aws::Structure
end