Class: Aws::AmplifyGen3::Types::GetApiKeyResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:api_key]

Instance Attribute Summary collapse

Instance Attribute Details

#api_key ⇒ String

The value of the API key. The key value is a credential. Store it securely and don't log it.

Returns:

  • (String)


3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 3371

class GetApiKeyResponse < Struct.new(
  :api_key,
  :api_key_id,
  :created_at,
  :status,
  :updated_at)
  SENSITIVE = [:api_key]
  include Aws::Structure
end

#api_key_id ⇒ String

The ID of the API key. Use the ID to identify the key when you list or revoke keys.

Returns:

  • (String)


3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 3371

class GetApiKeyResponse < Struct.new(
  :api_key,
  :api_key_id,
  :created_at,
  :status,
  :updated_at)
  SENSITIVE = [:api_key]
  include Aws::Structure
end

#created_at ⇒ Time

The time at which the API key was created. The value is in ISO-8601 format.

Returns:

  • (Time)


3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 3371

class GetApiKeyResponse < Struct.new(
  :api_key,
  :api_key_id,
  :created_at,
  :status,
  :updated_at)
  SENSITIVE = [:api_key]
  include Aws::Structure
end

#status ⇒ String

The status of the API key.

Returns:

  • (String)


3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 3371

class GetApiKeyResponse < Struct.new(
  :api_key,
  :api_key_id,
  :created_at,
  :status,
  :updated_at)
  SENSITIVE = [:api_key]
  include Aws::Structure
end

#updated_at ⇒ Time

The time at which the API key was last updated. The value is in ISO-8601 format. For a key that was never updated, this is the same as the creation time.

Returns:

  • (Time)


3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 3371

class GetApiKeyResponse < Struct.new(
  :api_key,
  :api_key_id,
  :created_at,
  :status,
  :updated_at)
  SENSITIVE = [:api_key]
  include Aws::Structure
end