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",
}

Instance Attribute Summary collapse

Instance Attribute Details

#idString

ID of the public key to be updated.

Returns:

  • (String)


8560
8561
8562
8563
8564
8565
# File 'lib/aws-sdk-cloudfront/types.rb', line 8560

class UpdatePublicKeyRequest < Struct.new(
  :public_key_config,
  :id,
  :if_match)
  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)


8560
8561
8562
8563
8564
8565
# File 'lib/aws-sdk-cloudfront/types.rb', line 8560

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

#public_key_configTypes::PublicKeyConfig

Request to update public key information.



8560
8561
8562
8563
8564
8565
# File 'lib/aws-sdk-cloudfront/types.rb', line 8560

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