lib/aws-sdk-cloudfront/client.rb in aws-sdk-cloudfront-1.10.1 vs lib/aws-sdk-cloudfront/client.rb in aws-sdk-cloudfront-1.11.0
- old
+ new
@@ -14,10 +14,11 @@
require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
require 'aws-sdk-core/plugins/retry_errors.rb'
require 'aws-sdk-core/plugins/global_configuration.rb'
require 'aws-sdk-core/plugins/regional_endpoint.rb'
require 'aws-sdk-core/plugins/endpoint_discovery.rb'
+require 'aws-sdk-core/plugins/endpoint_pattern.rb'
require 'aws-sdk-core/plugins/response_paging.rb'
require 'aws-sdk-core/plugins/stub_responses.rb'
require 'aws-sdk-core/plugins/idempotency_token.rb'
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
@@ -45,10 +46,11 @@
add_plugin(Aws::Plugins::HelpfulSocketErrors)
add_plugin(Aws::Plugins::RetryErrors)
add_plugin(Aws::Plugins::GlobalConfiguration)
add_plugin(Aws::Plugins::RegionalEndpoint)
add_plugin(Aws::Plugins::EndpointDiscovery)
+ add_plugin(Aws::Plugins::EndpointPattern)
add_plugin(Aws::Plugins::ResponsePaging)
add_plugin(Aws::Plugins::StubResponses)
add_plugin(Aws::Plugins::IdempotencyToken)
add_plugin(Aws::Plugins::JsonvalueConverter)
add_plugin(Aws::Plugins::ClientMetricsPlugin)
@@ -122,10 +124,14 @@
#
# @option options [Boolean] :convert_params (true)
# When `true`, an attempt is made to coerce request parameters into
# the required types.
#
+ # @option options [Boolean] :disable_host_prefix_injection (false)
+ # Set to true to disable SDK automatically adding host prefix
+ # to default service endpoint when available.
+ #
# @option options [String] :endpoint
# The client endpoint is normally constructed from the `:region`
# option. You should only configure an `:endpoint` when connecting
# to test endpoints. This should be avalid HTTP(S) URI.
#
@@ -235,11 +241,11 @@
# resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.caller_reference #=> String
# resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.comment #=> String
# resp.location #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/CreateCloudFrontOriginAccessIdentity2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/CreateCloudFrontOriginAccessIdentity2018_11_05 AWS API Documentation
#
# @overload create_cloud_front_origin_access_identity(params = {})
# @param [Hash] params ({})
def create_cloud_front_origin_access_identity(params = {}, options = {})
req = build_request(:create_cloud_front_origin_access_identity, params)
@@ -288,11 +294,11 @@
# items: ["string"],
# },
# default_root_object: "string",
# origins: { # required
# quantity: 1, # required
- # items: [
+ # items: [ # required
# {
# id: "string", # required
# domain_name: "string", # required
# origin_path: "string",
# custom_headers: {
@@ -319,10 +325,32 @@
# origin_keepalive_timeout: 1,
# },
# },
# ],
# },
+ # origin_groups: {
+ # quantity: 1, # required
+ # items: [
+ # {
+ # id: "string", # required
+ # failover_criteria: { # required
+ # status_codes: { # required
+ # quantity: 1, # required
+ # items: [1], # required
+ # },
+ # },
+ # members: { # required
+ # quantity: 1, # required
+ # items: [ # required
+ # {
+ # origin_id: "string", # required
+ # },
+ # ],
+ # },
+ # },
+ # ],
+ # },
# default_cache_behavior: { # required
# target_origin_id: "string", # required
# forwarded_values: { # required
# query_string: false, # required
# cookies: { # required
@@ -507,10 +535,19 @@
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.quantity #=> Integer
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items #=> Array
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
+ # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items #=> Array
+ # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
+ # resp.distribution.distribution_config.origin_groups.items[0].failover_criteria.status_codes.quantity #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items[0].failover_criteria.status_codes.items #=> Array
+ # resp.distribution.distribution_config.origin_groups.items[0].failover_criteria.status_codes.items[0] #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items[0].members.quantity #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
+ # resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
# resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
@@ -608,11 +645,11 @@
# resp.distribution.distribution_config.http_version #=> String, one of "http1.1", "http2"
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
# resp.location #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/CreateDistribution2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/CreateDistribution2018_11_05 AWS API Documentation
#
# @overload create_distribution(params = {})
# @param [Hash] params ({})
def create_distribution(params = {}, options = {})
req = build_request(:create_distribution, params)
@@ -641,11 +678,11 @@
# items: ["string"],
# },
# default_root_object: "string",
# origins: { # required
# quantity: 1, # required
- # items: [
+ # items: [ # required
# {
# id: "string", # required
# domain_name: "string", # required
# origin_path: "string",
# custom_headers: {
@@ -672,10 +709,32 @@
# origin_keepalive_timeout: 1,
# },
# },
# ],
# },
+ # origin_groups: {
+ # quantity: 1, # required
+ # items: [
+ # {
+ # id: "string", # required
+ # failover_criteria: { # required
+ # status_codes: { # required
+ # quantity: 1, # required
+ # items: [1], # required
+ # },
+ # },
+ # members: { # required
+ # quantity: 1, # required
+ # items: [ # required
+ # {
+ # origin_id: "string", # required
+ # },
+ # ],
+ # },
+ # },
+ # ],
+ # },
# default_cache_behavior: { # required
# target_origin_id: "string", # required
# forwarded_values: { # required
# query_string: false, # required
# cookies: { # required
@@ -869,10 +928,19 @@
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.quantity #=> Integer
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items #=> Array
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
+ # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items #=> Array
+ # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
+ # resp.distribution.distribution_config.origin_groups.items[0].failover_criteria.status_codes.quantity #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items[0].failover_criteria.status_codes.items #=> Array
+ # resp.distribution.distribution_config.origin_groups.items[0].failover_criteria.status_codes.items[0] #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items[0].members.quantity #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
+ # resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
# resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
@@ -970,11 +1038,11 @@
# resp.distribution.distribution_config.http_version #=> String, one of "http1.1", "http2"
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
# resp.location #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/CreateDistributionWithTags2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/CreateDistributionWithTags2018_11_05 AWS API Documentation
#
# @overload create_distribution_with_tags(params = {})
# @param [Hash] params ({})
def create_distribution_with_tags(params = {}, options = {})
req = build_request(:create_distribution_with_tags, params)
@@ -1044,11 +1112,11 @@
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].profile_id #=> String
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
# resp.location #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/CreateFieldLevelEncryptionConfig2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/CreateFieldLevelEncryptionConfig2018_11_05 AWS API Documentation
#
# @overload create_field_level_encryption_config(params = {})
# @param [Hash] params ({})
def create_field_level_encryption_config(params = {}, options = {})
req = build_request(:create_field_level_encryption_config, params)
@@ -1104,11 +1172,11 @@
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items #=> Array
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
# resp.location #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/CreateFieldLevelEncryptionProfile2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/CreateFieldLevelEncryptionProfile2018_11_05 AWS API Documentation
#
# @overload create_field_level_encryption_profile(params = {})
# @param [Hash] params ({})
def create_field_level_encryption_profile(params = {}, options = {})
req = build_request(:create_field_level_encryption_profile, params)
@@ -1150,11 +1218,11 @@
# resp.invalidation.invalidation_batch.paths.quantity #=> Integer
# resp.invalidation.invalidation_batch.paths.items #=> Array
# resp.invalidation.invalidation_batch.paths.items[0] #=> String
# resp.invalidation.invalidation_batch.caller_reference #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/CreateInvalidation2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/CreateInvalidation2018_11_05 AWS API Documentation
#
# @overload create_invalidation(params = {})
# @param [Hash] params ({})
def create_invalidation(params = {}, options = {})
req = build_request(:create_invalidation, params)
@@ -1194,11 +1262,11 @@
# resp.public_key.public_key_config.encoded_key #=> String
# resp.public_key.public_key_config.comment #=> String
# resp.location #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/CreatePublicKey2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/CreatePublicKey2018_11_05 AWS API Documentation
#
# @overload create_public_key(params = {})
# @param [Hash] params ({})
def create_public_key(params = {}, options = {})
req = build_request(:create_public_key, params)
@@ -1309,11 +1377,11 @@
# resp.streaming_distribution.streaming_distribution_config.price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
# resp.streaming_distribution.streaming_distribution_config.enabled #=> Boolean
# resp.location #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/CreateStreamingDistribution2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/CreateStreamingDistribution2018_11_05 AWS API Documentation
#
# @overload create_streaming_distribution(params = {})
# @param [Hash] params ({})
def create_streaming_distribution(params = {}, options = {})
req = build_request(:create_streaming_distribution, params)
@@ -1401,11 +1469,11 @@
# resp.streaming_distribution.streaming_distribution_config.price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
# resp.streaming_distribution.streaming_distribution_config.enabled #=> Boolean
# resp.location #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/CreateStreamingDistributionWithTags2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/CreateStreamingDistributionWithTags2018_11_05 AWS API Documentation
#
# @overload create_streaming_distribution_with_tags(params = {})
# @param [Hash] params ({})
def create_streaming_distribution_with_tags(params = {}, options = {})
req = build_request(:create_streaming_distribution_with_tags, params)
@@ -1428,11 +1496,11 @@
# resp = client.delete_cloud_front_origin_access_identity({
# id: "string", # required
# if_match: "string",
# })
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/DeleteCloudFrontOriginAccessIdentity2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/DeleteCloudFrontOriginAccessIdentity2018_11_05 AWS API Documentation
#
# @overload delete_cloud_front_origin_access_identity(params = {})
# @param [Hash] params ({})
def delete_cloud_front_origin_access_identity(params = {}, options = {})
req = build_request(:delete_cloud_front_origin_access_identity, params)
@@ -1455,11 +1523,11 @@
# resp = client.delete_distribution({
# id: "string", # required
# if_match: "string",
# })
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/DeleteDistribution2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/DeleteDistribution2018_11_05 AWS API Documentation
#
# @overload delete_distribution(params = {})
# @param [Hash] params ({})
def delete_distribution(params = {}, options = {})
req = build_request(:delete_distribution, params)
@@ -1482,11 +1550,11 @@
# resp = client.delete_field_level_encryption_config({
# id: "string", # required
# if_match: "string",
# })
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/DeleteFieldLevelEncryptionConfig2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/DeleteFieldLevelEncryptionConfig2018_11_05 AWS API Documentation
#
# @overload delete_field_level_encryption_config(params = {})
# @param [Hash] params ({})
def delete_field_level_encryption_config(params = {}, options = {})
req = build_request(:delete_field_level_encryption_config, params)
@@ -1509,11 +1577,11 @@
# resp = client.delete_field_level_encryption_profile({
# id: "string", # required
# if_match: "string",
# })
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/DeleteFieldLevelEncryptionProfile2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/DeleteFieldLevelEncryptionProfile2018_11_05 AWS API Documentation
#
# @overload delete_field_level_encryption_profile(params = {})
# @param [Hash] params ({})
def delete_field_level_encryption_profile(params = {}, options = {})
req = build_request(:delete_field_level_encryption_profile, params)
@@ -1536,11 +1604,11 @@
# resp = client.delete_public_key({
# id: "string", # required
# if_match: "string",
# })
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/DeletePublicKey2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/DeletePublicKey2018_11_05 AWS API Documentation
#
# @overload delete_public_key(params = {})
# @param [Hash] params ({})
def delete_public_key(params = {}, options = {})
req = build_request(:delete_public_key, params)
@@ -1606,11 +1674,11 @@
# resp = client.delete_streaming_distribution({
# id: "string", # required
# if_match: "string",
# })
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/DeleteStreamingDistribution2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/DeleteStreamingDistribution2018_11_05 AWS API Documentation
#
# @overload delete_streaming_distribution(params = {})
# @param [Hash] params ({})
def delete_streaming_distribution(params = {}, options = {})
req = build_request(:delete_streaming_distribution, params)
@@ -1639,11 +1707,11 @@
# resp.cloud_front_origin_access_identity.s3_canonical_user_id #=> String
# resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.caller_reference #=> String
# resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.comment #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/GetCloudFrontOriginAccessIdentity2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/GetCloudFrontOriginAccessIdentity2018_11_05 AWS API Documentation
#
# @overload get_cloud_front_origin_access_identity(params = {})
# @param [Hash] params ({})
def get_cloud_front_origin_access_identity(params = {}, options = {})
req = build_request(:get_cloud_front_origin_access_identity, params)
@@ -1670,11 +1738,11 @@
#
# resp.cloud_front_origin_access_identity_config.caller_reference #=> String
# resp.cloud_front_origin_access_identity_config.comment #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/GetCloudFrontOriginAccessIdentityConfig2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/GetCloudFrontOriginAccessIdentityConfig2018_11_05 AWS API Documentation
#
# @overload get_cloud_front_origin_access_identity_config(params = {})
# @param [Hash] params ({})
def get_cloud_front_origin_access_identity_config(params = {}, options = {})
req = build_request(:get_cloud_front_origin_access_identity_config, params)
@@ -1733,10 +1801,19 @@
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.quantity #=> Integer
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items #=> Array
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
+ # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items #=> Array
+ # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
+ # resp.distribution.distribution_config.origin_groups.items[0].failover_criteria.status_codes.quantity #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items[0].failover_criteria.status_codes.items #=> Array
+ # resp.distribution.distribution_config.origin_groups.items[0].failover_criteria.status_codes.items[0] #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items[0].members.quantity #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
+ # resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
# resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
@@ -1833,11 +1910,11 @@
# resp.distribution.distribution_config.web_acl_id #=> String
# resp.distribution.distribution_config.http_version #=> String, one of "http1.1", "http2"
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/GetDistribution2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/GetDistribution2018_11_05 AWS API Documentation
#
# @overload get_distribution(params = {})
# @param [Hash] params ({})
def get_distribution(params = {}, options = {})
req = build_request(:get_distribution, params)
@@ -1883,10 +1960,19 @@
# resp.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.quantity #=> Integer
# resp.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items #=> Array
# resp.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
# resp.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
# resp.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
+ # resp.distribution_config.origin_groups.quantity #=> Integer
+ # resp.distribution_config.origin_groups.items #=> Array
+ # resp.distribution_config.origin_groups.items[0].id #=> String
+ # resp.distribution_config.origin_groups.items[0].failover_criteria.status_codes.quantity #=> Integer
+ # resp.distribution_config.origin_groups.items[0].failover_criteria.status_codes.items #=> Array
+ # resp.distribution_config.origin_groups.items[0].failover_criteria.status_codes.items[0] #=> Integer
+ # resp.distribution_config.origin_groups.items[0].members.quantity #=> Integer
+ # resp.distribution_config.origin_groups.items[0].members.items #=> Array
+ # resp.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
# resp.distribution_config.default_cache_behavior.target_origin_id #=> String
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
@@ -1983,11 +2069,11 @@
# resp.distribution_config.web_acl_id #=> String
# resp.distribution_config.http_version #=> String, one of "http1.1", "http2"
# resp.distribution_config.is_ipv6_enabled #=> Boolean
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/GetDistributionConfig2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/GetDistributionConfig2018_11_05 AWS API Documentation
#
# @overload get_distribution_config(params = {})
# @param [Hash] params ({})
def get_distribution_config(params = {}, options = {})
req = build_request(:get_distribution_config, params)
@@ -2028,11 +2114,11 @@
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].format #=> String, one of "URLEncoded"
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].profile_id #=> String
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/GetFieldLevelEncryption2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/GetFieldLevelEncryption2018_11_05 AWS API Documentation
#
# @overload get_field_level_encryption(params = {})
# @param [Hash] params ({})
def get_field_level_encryption(params = {}, options = {})
req = build_request(:get_field_level_encryption, params)
@@ -2071,11 +2157,11 @@
# resp.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].format #=> String, one of "URLEncoded"
# resp.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].profile_id #=> String
# resp.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/GetFieldLevelEncryptionConfig2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/GetFieldLevelEncryptionConfig2018_11_05 AWS API Documentation
#
# @overload get_field_level_encryption_config(params = {})
# @param [Hash] params ({})
def get_field_level_encryption_config(params = {}, options = {})
req = build_request(:get_field_level_encryption_config, params)
@@ -2112,11 +2198,11 @@
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.quantity #=> Integer
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items #=> Array
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/GetFieldLevelEncryptionProfile2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/GetFieldLevelEncryptionProfile2018_11_05 AWS API Documentation
#
# @overload get_field_level_encryption_profile(params = {})
# @param [Hash] params ({})
def get_field_level_encryption_profile(params = {}, options = {})
req = build_request(:get_field_level_encryption_profile, params)
@@ -2152,11 +2238,11 @@
# resp.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.quantity #=> Integer
# resp.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items #=> Array
# resp.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/GetFieldLevelEncryptionProfileConfig2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/GetFieldLevelEncryptionProfileConfig2018_11_05 AWS API Documentation
#
# @overload get_field_level_encryption_profile_config(params = {})
# @param [Hash] params ({})
def get_field_level_encryption_profile_config(params = {}, options = {})
req = build_request(:get_field_level_encryption_profile_config, params)
@@ -2191,11 +2277,11 @@
# resp.invalidation.invalidation_batch.paths.quantity #=> Integer
# resp.invalidation.invalidation_batch.paths.items #=> Array
# resp.invalidation.invalidation_batch.paths.items[0] #=> String
# resp.invalidation.invalidation_batch.caller_reference #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/GetInvalidation2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/GetInvalidation2018_11_05 AWS API Documentation
#
# @overload get_invalidation(params = {})
# @param [Hash] params ({})
def get_invalidation(params = {}, options = {})
req = build_request(:get_invalidation, params)
@@ -2226,11 +2312,11 @@
# resp.public_key.public_key_config.name #=> String
# resp.public_key.public_key_config.encoded_key #=> String
# resp.public_key.public_key_config.comment #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/GetPublicKey2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/GetPublicKey2018_11_05 AWS API Documentation
#
# @overload get_public_key(params = {})
# @param [Hash] params ({})
def get_public_key(params = {}, options = {})
req = build_request(:get_public_key, params)
@@ -2259,11 +2345,11 @@
# resp.public_key_config.name #=> String
# resp.public_key_config.encoded_key #=> String
# resp.public_key_config.comment #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/GetPublicKeyConfig2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/GetPublicKeyConfig2018_11_05 AWS API Documentation
#
# @overload get_public_key_config(params = {})
# @param [Hash] params ({})
def get_public_key_config(params = {}, options = {})
req = build_request(:get_public_key_config, params)
@@ -2317,11 +2403,11 @@
# resp.streaming_distribution.streaming_distribution_config.trusted_signers.items[0] #=> String
# resp.streaming_distribution.streaming_distribution_config.price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
# resp.streaming_distribution.streaming_distribution_config.enabled #=> Boolean
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/GetStreamingDistribution2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/GetStreamingDistribution2018_11_05 AWS API Documentation
#
# @overload get_streaming_distribution(params = {})
# @param [Hash] params ({})
def get_streaming_distribution(params = {}, options = {})
req = build_request(:get_streaming_distribution, params)
@@ -2362,11 +2448,11 @@
# resp.streaming_distribution_config.trusted_signers.items[0] #=> String
# resp.streaming_distribution_config.price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
# resp.streaming_distribution_config.enabled #=> Boolean
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/GetStreamingDistributionConfig2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/GetStreamingDistributionConfig2018_11_05 AWS API Documentation
#
# @overload get_streaming_distribution_config(params = {})
# @param [Hash] params ({})
def get_streaming_distribution_config(params = {}, options = {})
req = build_request(:get_streaming_distribution_config, params)
@@ -2408,11 +2494,11 @@
# resp.cloud_front_origin_access_identity_list.items #=> Array
# resp.cloud_front_origin_access_identity_list.items[0].id #=> String
# resp.cloud_front_origin_access_identity_list.items[0].s3_canonical_user_id #=> String
# resp.cloud_front_origin_access_identity_list.items[0].comment #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/ListCloudFrontOriginAccessIdentities2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/ListCloudFrontOriginAccessIdentities2018_11_05 AWS API Documentation
#
# @overload list_cloud_front_origin_access_identities(params = {})
# @param [Hash] params ({})
def list_cloud_front_origin_access_identities(params = {}, options = {})
req = build_request(:list_cloud_front_origin_access_identities, params)
@@ -2474,10 +2560,19 @@
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.quantity #=> Integer
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items #=> Array
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
+ # resp.distribution_list.items[0].origin_groups.quantity #=> Integer
+ # resp.distribution_list.items[0].origin_groups.items #=> Array
+ # resp.distribution_list.items[0].origin_groups.items[0].id #=> String
+ # resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.quantity #=> Integer
+ # resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items #=> Array
+ # resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items[0] #=> Integer
+ # resp.distribution_list.items[0].origin_groups.items[0].members.quantity #=> Integer
+ # resp.distribution_list.items[0].origin_groups.items[0].members.items #=> Array
+ # resp.distribution_list.items[0].origin_groups.items[0].members.items[0].origin_id #=> String
# resp.distribution_list.items[0].default_cache_behavior.target_origin_id #=> String
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
@@ -2569,11 +2664,11 @@
# resp.distribution_list.items[0].restrictions.geo_restriction.items[0] #=> String
# resp.distribution_list.items[0].web_acl_id #=> String
# resp.distribution_list.items[0].http_version #=> String, one of "http1.1", "http2"
# resp.distribution_list.items[0].is_ipv6_enabled #=> Boolean
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/ListDistributions2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/ListDistributions2018_11_05 AWS API Documentation
#
# @overload list_distributions(params = {})
# @param [Hash] params ({})
def list_distributions(params = {}, options = {})
req = build_request(:list_distributions, params)
@@ -2644,10 +2739,19 @@
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.quantity #=> Integer
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items #=> Array
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
+ # resp.distribution_list.items[0].origin_groups.quantity #=> Integer
+ # resp.distribution_list.items[0].origin_groups.items #=> Array
+ # resp.distribution_list.items[0].origin_groups.items[0].id #=> String
+ # resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.quantity #=> Integer
+ # resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items #=> Array
+ # resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items[0] #=> Integer
+ # resp.distribution_list.items[0].origin_groups.items[0].members.quantity #=> Integer
+ # resp.distribution_list.items[0].origin_groups.items[0].members.items #=> Array
+ # resp.distribution_list.items[0].origin_groups.items[0].members.items[0].origin_id #=> String
# resp.distribution_list.items[0].default_cache_behavior.target_origin_id #=> String
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
@@ -2739,11 +2843,11 @@
# resp.distribution_list.items[0].restrictions.geo_restriction.items[0] #=> String
# resp.distribution_list.items[0].web_acl_id #=> String
# resp.distribution_list.items[0].http_version #=> String, one of "http1.1", "http2"
# resp.distribution_list.items[0].is_ipv6_enabled #=> Boolean
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/ListDistributionsByWebACLId2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/ListDistributionsByWebACLId2018_11_05 AWS API Documentation
#
# @overload list_distributions_by_web_acl_id(params = {})
# @param [Hash] params ({})
def list_distributions_by_web_acl_id(params = {}, options = {})
req = build_request(:list_distributions_by_web_acl_id, params)
@@ -2795,11 +2899,11 @@
# resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items #=> Array
# resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].format #=> String, one of "URLEncoded"
# resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].profile_id #=> String
# resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].content_type #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/ListFieldLevelEncryptionConfigs2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/ListFieldLevelEncryptionConfigs2018_11_05 AWS API Documentation
#
# @overload list_field_level_encryption_configs(params = {})
# @param [Hash] params ({})
def list_field_level_encryption_configs(params = {}, options = {})
req = build_request(:list_field_level_encryption_configs, params)
@@ -2847,11 +2951,11 @@
# resp.field_level_encryption_profile_list.items[0].encryption_entities.items[0].field_patterns.quantity #=> Integer
# resp.field_level_encryption_profile_list.items[0].encryption_entities.items[0].field_patterns.items #=> Array
# resp.field_level_encryption_profile_list.items[0].encryption_entities.items[0].field_patterns.items[0] #=> String
# resp.field_level_encryption_profile_list.items[0].comment #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/ListFieldLevelEncryptionProfiles2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/ListFieldLevelEncryptionProfiles2018_11_05 AWS API Documentation
#
# @overload list_field_level_encryption_profiles(params = {})
# @param [Hash] params ({})
def list_field_level_encryption_profiles(params = {}, options = {})
req = build_request(:list_field_level_encryption_profiles, params)
@@ -2899,11 +3003,11 @@
# resp.invalidation_list.items #=> Array
# resp.invalidation_list.items[0].id #=> String
# resp.invalidation_list.items[0].create_time #=> Time
# resp.invalidation_list.items[0].status #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/ListInvalidations2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/ListInvalidations2018_11_05 AWS API Documentation
#
# @overload list_invalidations(params = {})
# @param [Hash] params ({})
def list_invalidations(params = {}, options = {})
req = build_request(:list_invalidations, params)
@@ -2944,11 +3048,11 @@
# resp.public_key_list.items[0].name #=> String
# resp.public_key_list.items[0].created_time #=> Time
# resp.public_key_list.items[0].encoded_key #=> String
# resp.public_key_list.items[0].comment #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/ListPublicKeys2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/ListPublicKeys2018_11_05 AWS API Documentation
#
# @overload list_public_keys(params = {})
# @param [Hash] params ({})
def list_public_keys(params = {}, options = {})
req = build_request(:list_public_keys, params)
@@ -2998,11 +3102,11 @@
# resp.streaming_distribution_list.items[0].trusted_signers.items[0] #=> String
# resp.streaming_distribution_list.items[0].comment #=> String
# resp.streaming_distribution_list.items[0].price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
# resp.streaming_distribution_list.items[0].enabled #=> Boolean
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/ListStreamingDistributions2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/ListStreamingDistributions2018_11_05 AWS API Documentation
#
# @overload list_streaming_distributions(params = {})
# @param [Hash] params ({})
def list_streaming_distributions(params = {}, options = {})
req = build_request(:list_streaming_distributions, params)
@@ -3028,11 +3132,11 @@
#
# resp.tags.items #=> Array
# resp.tags.items[0].key #=> String
# resp.tags.items[0].value #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/ListTagsForResource2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/ListTagsForResource2018_11_05 AWS API Documentation
#
# @overload list_tags_for_resource(params = {})
# @param [Hash] params ({})
def list_tags_for_resource(params = {}, options = {})
req = build_request(:list_tags_for_resource, params)
@@ -3061,11 +3165,11 @@
# },
# ],
# },
# })
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/TagResource2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/TagResource2018_11_05 AWS API Documentation
#
# @overload tag_resource(params = {})
# @param [Hash] params ({})
def tag_resource(params = {}, options = {})
req = build_request(:tag_resource, params)
@@ -3089,11 +3193,11 @@
# tag_keys: { # required
# items: ["TagKey"],
# },
# })
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/UntagResource2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/UntagResource2018_11_05 AWS API Documentation
#
# @overload untag_resource(params = {})
# @param [Hash] params ({})
def untag_resource(params = {}, options = {})
req = build_request(:untag_resource, params)
@@ -3134,11 +3238,11 @@
# resp.cloud_front_origin_access_identity.s3_canonical_user_id #=> String
# resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.caller_reference #=> String
# resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.comment #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/UpdateCloudFrontOriginAccessIdentity2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/UpdateCloudFrontOriginAccessIdentity2018_11_05 AWS API Documentation
#
# @overload update_cloud_front_origin_access_identity(params = {})
# @param [Hash] params ({})
def update_cloud_front_origin_access_identity(params = {}, options = {})
req = build_request(:update_cloud_front_origin_access_identity, params)
@@ -3245,11 +3349,11 @@
# items: ["string"],
# },
# default_root_object: "string",
# origins: { # required
# quantity: 1, # required
- # items: [
+ # items: [ # required
# {
# id: "string", # required
# domain_name: "string", # required
# origin_path: "string",
# custom_headers: {
@@ -3276,10 +3380,32 @@
# origin_keepalive_timeout: 1,
# },
# },
# ],
# },
+ # origin_groups: {
+ # quantity: 1, # required
+ # items: [
+ # {
+ # id: "string", # required
+ # failover_criteria: { # required
+ # status_codes: { # required
+ # quantity: 1, # required
+ # items: [1], # required
+ # },
+ # },
+ # members: { # required
+ # quantity: 1, # required
+ # items: [ # required
+ # {
+ # origin_id: "string", # required
+ # },
+ # ],
+ # },
+ # },
+ # ],
+ # },
# default_cache_behavior: { # required
# target_origin_id: "string", # required
# forwarded_values: { # required
# query_string: false, # required
# cookies: { # required
@@ -3466,10 +3592,19 @@
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.quantity #=> Integer
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items #=> Array
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
+ # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items #=> Array
+ # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
+ # resp.distribution.distribution_config.origin_groups.items[0].failover_criteria.status_codes.quantity #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items[0].failover_criteria.status_codes.items #=> Array
+ # resp.distribution.distribution_config.origin_groups.items[0].failover_criteria.status_codes.items[0] #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items[0].members.quantity #=> Integer
+ # resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
+ # resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
# resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
@@ -3566,11 +3701,11 @@
# resp.distribution.distribution_config.web_acl_id #=> String
# resp.distribution.distribution_config.http_version #=> String, one of "http1.1", "http2"
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/UpdateDistribution2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/UpdateDistribution2018_11_05 AWS API Documentation
#
# @overload update_distribution(params = {})
# @param [Hash] params ({})
def update_distribution(params = {}, options = {})
req = build_request(:update_distribution, params)
@@ -3647,11 +3782,11 @@
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].format #=> String, one of "URLEncoded"
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].profile_id #=> String
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/UpdateFieldLevelEncryptionConfig2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/UpdateFieldLevelEncryptionConfig2018_11_05 AWS API Documentation
#
# @overload update_field_level_encryption_config(params = {})
# @param [Hash] params ({})
def update_field_level_encryption_config(params = {}, options = {})
req = build_request(:update_field_level_encryption_config, params)
@@ -3714,11 +3849,11 @@
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.quantity #=> Integer
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items #=> Array
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/UpdateFieldLevelEncryptionProfile2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/UpdateFieldLevelEncryptionProfile2018_11_05 AWS API Documentation
#
# @overload update_field_level_encryption_profile(params = {})
# @param [Hash] params ({})
def update_field_level_encryption_profile(params = {}, options = {})
req = build_request(:update_field_level_encryption_profile, params)
@@ -3764,11 +3899,11 @@
# resp.public_key.public_key_config.name #=> String
# resp.public_key.public_key_config.encoded_key #=> String
# resp.public_key.public_key_config.comment #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/UpdatePublicKey2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/UpdatePublicKey2018_11_05 AWS API Documentation
#
# @overload update_public_key(params = {})
# @param [Hash] params ({})
def update_public_key(params = {}, options = {})
req = build_request(:update_public_key, params)
@@ -3854,11 +3989,11 @@
# resp.streaming_distribution.streaming_distribution_config.trusted_signers.items[0] #=> String
# resp.streaming_distribution.streaming_distribution_config.price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
# resp.streaming_distribution.streaming_distribution_config.enabled #=> Boolean
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/UpdateStreamingDistribution2018_06_18 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/UpdateStreamingDistribution2018_11_05 AWS API Documentation
#
# @overload update_streaming_distribution(params = {})
# @param [Hash] params ({})
def update_streaming_distribution(params = {}, options = {})
req = build_request(:update_streaming_distribution, params)
@@ -3876,10 +4011,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-cloudfront'
- context[:gem_version] = '1.10.1'
+ context[:gem_version] = '1.11.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#