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)


7402
7403
7404
7405
7406
7407
# File 'lib/aws-sdk-cloudfront/types.rb', line 7402

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)


7402
7403
7404
7405
7406
7407
# File 'lib/aws-sdk-cloudfront/types.rb', line 7402

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

#public_key_configTypes::PublicKeyConfig

Request to update public key information.



7402
7403
7404
7405
7406
7407
# File 'lib/aws-sdk-cloudfront/types.rb', line 7402

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