Class: Aws::LocationService::Types::DescribeKeyResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[:key]

Instance Attribute Summary collapse

Instance Attribute Details

#create_timeTime

The timestamp for when the API key resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

Returns:

  • (Time)


2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2387

class DescribeKeyResponse < Struct.new(
  :create_time,
  :description,
  :expire_time,
  :key,
  :key_arn,
  :key_name,
  :restrictions,
  :tags,
  :update_time)
  SENSITIVE = [:key]
  include Aws::Structure
end

#descriptionString

The optional description for the API key resource.

Returns:

  • (String)


2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2387

class DescribeKeyResponse < Struct.new(
  :create_time,
  :description,
  :expire_time,
  :key,
  :key_arn,
  :key_name,
  :restrictions,
  :tags,
  :update_time)
  SENSITIVE = [:key]
  include Aws::Structure
end

#expire_timeTime

The timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

Returns:

  • (Time)


2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2387

class DescribeKeyResponse < Struct.new(
  :create_time,
  :description,
  :expire_time,
  :key,
  :key_arn,
  :key_name,
  :restrictions,
  :tags,
  :update_time)
  SENSITIVE = [:key]
  include Aws::Structure
end

#keyString

The key value/string of an API key.

Returns:

  • (String)


2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2387

class DescribeKeyResponse < Struct.new(
  :create_time,
  :description,
  :expire_time,
  :key,
  :key_arn,
  :key_name,
  :restrictions,
  :tags,
  :update_time)
  SENSITIVE = [:key]
  include Aws::Structure
end

#key_arnString

The Amazon Resource Name (ARN) for the API key resource. Used when you need to specify a resource across all Amazon Web Services.

  • Format example: arn:aws:geo:region:account-id:key/ExampleKey

^

Returns:

  • (String)


2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2387

class DescribeKeyResponse < Struct.new(
  :create_time,
  :description,
  :expire_time,
  :key,
  :key_arn,
  :key_name,
  :restrictions,
  :tags,
  :update_time)
  SENSITIVE = [:key]
  include Aws::Structure
end

#key_nameString

The name of the API key resource.

Returns:

  • (String)


2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2387

class DescribeKeyResponse < Struct.new(
  :create_time,
  :description,
  :expire_time,
  :key,
  :key_arn,
  :key_name,
  :restrictions,
  :tags,
  :update_time)
  SENSITIVE = [:key]
  include Aws::Structure
end

#restrictionsTypes::ApiKeyRestrictions

API Restrictions on the allowed actions, resources, and referers for an API key resource.



2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2387

class DescribeKeyResponse < Struct.new(
  :create_time,
  :description,
  :expire_time,
  :key,
  :key_arn,
  :key_name,
  :restrictions,
  :tags,
  :update_time)
  SENSITIVE = [:key]
  include Aws::Structure
end

#tagsHash<String,String>

Tags associated with the API key resource.

Returns:

  • (Hash<String,String>)


2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2387

class DescribeKeyResponse < Struct.new(
  :create_time,
  :description,
  :expire_time,
  :key,
  :key_arn,
  :key_name,
  :restrictions,
  :tags,
  :update_time)
  SENSITIVE = [:key]
  include Aws::Structure
end

#update_timeTime

The timestamp for when the API key resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

Returns:

  • (Time)


2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2387

class DescribeKeyResponse < Struct.new(
  :create_time,
  :description,
  :expire_time,
  :key,
  :key_arn,
  :key_name,
  :restrictions,
  :tags,
  :update_time)
  SENSITIVE = [:key]
  include Aws::Structure
end