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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/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

ID of the public key to be updated.

Returns:

  • (String)


8853
8854
8855
8856
8857
8858
8859
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 8853

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)


8853
8854
8855
8856
8857
8858
8859
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 8853

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

#public_key_configTypes::PublicKeyConfig

Request to update public key information.



8853
8854
8855
8856
8857
8858
8859
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 8853

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