Class: Aws::LocationService::Types::CreateKeyResponse

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)


1510
1511
1512
1513
1514
1515
1516
1517
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 1510

class CreateKeyResponse < Struct.new(
  :create_time,
  :key,
  :key_arn,
  :key_name)
  SENSITIVE = [:key]
  include Aws::Structure
end

#keyString

The key value/string of an API key. This value is used when making API calls to authorize the call. For example, see GetMapGlyphs.

Returns:

  • (String)


1510
1511
1512
1513
1514
1515
1516
1517
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 1510

class CreateKeyResponse < Struct.new(
  :create_time,
  :key,
  :key_arn,
  :key_name)
  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)


1510
1511
1512
1513
1514
1515
1516
1517
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 1510

class CreateKeyResponse < Struct.new(
  :create_time,
  :key,
  :key_arn,
  :key_name)
  SENSITIVE = [:key]
  include Aws::Structure
end

#key_nameString

The name of the API key resource.

Returns:

  • (String)


1510
1511
1512
1513
1514
1515
1516
1517
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 1510

class CreateKeyResponse < Struct.new(
  :create_time,
  :key,
  :key_arn,
  :key_name)
  SENSITIVE = [:key]
  include Aws::Structure
end