You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudFront::Types::UpdateStreamingDistributionRequest

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 UpdateStreamingDistributionRequest data as a hash:

{
  streaming_distribution_config: { # required
    caller_reference: "string", # required
    s3_origin: { # required
      domain_name: "string", # required
      origin_access_identity: "string", # required
    },
    aliases: {
      quantity: 1, # required
      items: ["string"],
    },
    comment: "string", # required
    logging: {
      enabled: false, # required
      bucket: "string", # required
      prefix: "string", # required
    },
    trusted_signers: { # required
      enabled: false, # required
      quantity: 1, # required
      items: ["string"],
    },
    price_class: "PriceClass_100", # accepts PriceClass_100, PriceClass_200, PriceClass_All
    enabled: false, # required
  },
  id: "string", # required
  if_match: "string",
}

The request to update a streaming distribution.

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The streaming distribution's id.

Returns:

  • (String)


5563
5564
5565
5566
5567
5568
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 5563

class UpdateStreamingDistributionRequest < Struct.new(
  :streaming_distribution_config,
  :id,
  :if_match)
  include Aws::Structure
end

#if_matchString

The value of the ETag header that you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL.

Returns:

  • (String)


5563
5564
5565
5566
5567
5568
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 5563

class UpdateStreamingDistributionRequest < Struct.new(
  :streaming_distribution_config,
  :id,
  :if_match)
  include Aws::Structure
end

#streaming_distribution_configTypes::StreamingDistributionConfig

The streaming distribution's configuration information.



5563
5564
5565
5566
5567
5568
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 5563

class UpdateStreamingDistributionRequest < Struct.new(
  :streaming_distribution_config,
  :id,
  :if_match)
  include Aws::Structure
end