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)


1528
1529
1530
1531
1532
1533
1534
1535
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 1528

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


1528
1529
1530
1531
1532
1533
1534
1535
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 1528

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


1528
1529
1530
1531
1532
1533
1534
1535
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 1528

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

#key_nameString

The name of the API key resource.

Returns:

  • (String)


1528
1529
1530
1531
1532
1533
1534
1535
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 1528

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