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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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`.

[1]: www.iso.org/iso-8601-date-and-time-format.html

Returns:

  • (Time)


1528
1529
1530
1531
1532
1533
1534
1535
# File '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].

[1]: docs.aws.amazon.com/location/latest/APIReference/API_GetMapGlyphs.html

Returns:

  • (String)


1528
1529
1530
1531
1532
1533
1534
1535
# File '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 '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 '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