Class: Aws::CloudFront::Types::UpdatePublicKeyRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudfront/types.rb

Overview

Note:

When making an API call, you may pass UpdatePublicKeyRequest data as a hash:

{
  public_key_config: { # required
    caller_reference: "string", # required
    name: "string", # required
    encoded_key: "string", # required
    comment: "string",
  },
  id: "string", # required
  if_match: "string",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The identifier of the public key that you are updating.

Returns:

  • (String)


13365
13366
13367
13368
13369
13370
13371
# File 'lib/aws-sdk-cloudfront/types.rb', line 13365

class UpdatePublicKeyRequest < Struct.new(
  :public_key_config,
  :id,
  :if_match)
  SENSITIVE = []
  include Aws::Structure
end

#if_matchString

The value of the ‘ETag` header that you received when retrieving the public key to update. For example: `E2QWRUHAPOMQZL`.

Returns:

  • (String)


13365
13366
13367
13368
13369
13370
13371
# File 'lib/aws-sdk-cloudfront/types.rb', line 13365

class UpdatePublicKeyRequest < Struct.new(
  :public_key_config,
  :id,
  :if_match)
  SENSITIVE = []
  include Aws::Structure
end

#public_key_configTypes::PublicKeyConfig

A public key configuration.



13365
13366
13367
13368
13369
13370
13371
# File 'lib/aws-sdk-cloudfront/types.rb', line 13365

class UpdatePublicKeyRequest < Struct.new(
  :public_key_config,
  :id,
  :if_match)
  SENSITIVE = []
  include Aws::Structure
end