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

The identifier of the public key that you are updating.

Returns:

  • (String)


12414
12415
12416
12417
12418
12419
12420
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 12414

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)


12414
12415
12416
12417
12418
12419
12420
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 12414

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

#public_key_configTypes::PublicKeyConfig

A public key configuration.



12414
12415
12416
12417
12418
12419
12420
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 12414

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