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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apigateway/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)


3016
3017
3018
3019
3020
3021
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3016

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)


3016
3017
3018
3019
3020
3021
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3016

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