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.

Instance Attribute Summary collapse

Instance Attribute Details

#api_keyString

The identifier of the ApiKey resource.

Returns:

  • (String)


2396
2397
2398
2399
2400
# File 'lib/aws-sdk-apigateway/types.rb', line 2396

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

#include_valueBoolean

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

Returns:

  • (Boolean)


2396
2397
2398
2399
2400
# File 'lib/aws-sdk-apigateway/types.rb', line 2396

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