lib/aws-sdk-cloudfront/client.rb in aws-sdk-cloudfront-1.18.0 vs lib/aws-sdk-cloudfront/client.rb in aws-sdk-cloudfront-1.19.0
- old
+ new
@@ -257,11 +257,11 @@
# see [Serving Private Content through CloudFront][1] in the *Amazon
# CloudFront Developer Guide*.
#
#
#
- # [1]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html
#
# @option params [required, Types::CloudFrontOriginAccessIdentityConfig] :cloud_front_origin_access_identity_config
# The current configuration information for the identity.
#
# @return [Types::CreateCloudFrontOriginAccessIdentityResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -286,11 +286,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-11-05/CreateCloudFrontOriginAccessIdentity2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateCloudFrontOriginAccessIdentity2019_03_26 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)
@@ -303,25 +303,22 @@
# `POST` request to the `/CloudFront API
# version/distribution`/`distribution ID` resource.
#
# When you update a distribution, there are more required fields than
# when you create a distribution. When you update your distribution by
- # using UpdateDistribution, follow the steps included in the
+ # using [UpdateDistribution][1], follow the steps included in the
# documentation to get the current configuration and then make your
# updates. This helps to make sure that you include all of the required
# fields. To view a summary, see [Required Fields for Create
- # Distribution and Update Distribution][1] in the *Amazon CloudFront
+ # Distribution and Update Distribution][2] in the *Amazon CloudFront
# Developer Guide*.
#
- # If you are using Adobe Flash Media Server's RTMP protocol, you set up
- # a different kind of CloudFront distribution. For more information, see
- # CreateStreamingDistribution.
#
#
+ # [1]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html
+ # [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html
#
- # [1]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html
- #
# @option params [required, Types::DistributionConfig] :distribution_config
# The distribution's configuration information.
#
# @return [Types::CreateDistributionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
@@ -511,11 +508,11 @@
# response_code: "string",
# error_caching_min_ttl: 1,
# },
# ],
# },
- # comment: "string", # required
+ # comment: "CommentType", # required
# logging: {
# enabled: false, # required
# include_cookies: false, # required
# bucket: "string", # required
# prefix: "string", # required
@@ -687,14 +684,17 @@
# resp.distribution.distribution_config.restrictions.geo_restriction.items #=> Array
# resp.distribution.distribution_config.restrictions.geo_restriction.items[0] #=> String
# 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.distribution.alias_icp_recordals #=> Array
+ # resp.distribution.alias_icp_recordals[0].cname #=> String
+ # resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
# resp.location #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/CreateDistribution2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateDistribution2019_03_26 AWS API Documentation
#
# @overload create_distribution(params = {})
# @param [Hash] params ({})
def create_distribution(params = {}, options = {})
req = build_request(:create_distribution, params)
@@ -895,11 +895,11 @@
# response_code: "string",
# error_caching_min_ttl: 1,
# },
# ],
# },
- # comment: "string", # required
+ # comment: "CommentType", # required
# logging: {
# enabled: false, # required
# include_cookies: false, # required
# bucket: "string", # required
# prefix: "string", # required
@@ -1080,14 +1080,17 @@
# resp.distribution.distribution_config.restrictions.geo_restriction.items #=> Array
# resp.distribution.distribution_config.restrictions.geo_restriction.items[0] #=> String
# 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.distribution.alias_icp_recordals #=> Array
+ # resp.distribution.alias_icp_recordals[0].cname #=> String
+ # resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
# resp.location #=> String
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/CreateDistributionWithTags2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateDistributionWithTags2019_03_26 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)
@@ -1157,11 +1160,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-11-05/CreateFieldLevelEncryptionConfig2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateFieldLevelEncryptionConfig2019_03_26 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)
@@ -1217,11 +1220,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-11-05/CreateFieldLevelEncryptionProfile2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateFieldLevelEncryptionProfile2019_03_26 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)
@@ -1263,11 +1266,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-11-05/CreateInvalidation2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateInvalidation2019_03_26 AWS API Documentation
#
# @overload create_invalidation(params = {})
# @param [Hash] params ({})
def create_invalidation(params = {}, options = {})
req = build_request(:create_invalidation, params)
@@ -1307,25 +1310,25 @@
# 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-11-05/CreatePublicKey2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreatePublicKey2019_03_26 AWS API Documentation
#
# @overload create_public_key(params = {})
# @param [Hash] params ({})
def create_public_key(params = {}, options = {})
req = build_request(:create_public_key, params)
req.send_request(options)
end
- # Creates a new RMTP distribution. An RTMP distribution is similar to a
+ # Creates a new RTMP distribution. An RTMP distribution is similar to a
# web distribution, but an RTMP distribution streams media files using
# the Adobe Real-Time Messaging Protocol (RTMP) instead of serving files
# using HTTP.
#
- # To create a new web distribution, submit a `POST` request to the
+ # To create a new distribution, submit a `POST` request to the
# *CloudFront API version*/distribution resource. The request body must
# include a document with a *StreamingDistributionConfig* element. The
# response echoes the `StreamingDistributionConfig` element and returns
# other information about the RTMP distribution.
#
@@ -1349,11 +1352,11 @@
# number of values you say you're specifying in the `Quantity` element
# and the number of values specified.
#
#
#
- # [1]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-rtmp.html
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-rtmp.html
#
# @option params [required, Types::StreamingDistributionConfig] :streaming_distribution_config
# The streaming distribution's configuration information.
#
# @return [Types::CreateStreamingDistributionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1422,11 +1425,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-11-05/CreateStreamingDistribution2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateStreamingDistribution2019_03_26 AWS API Documentation
#
# @overload create_streaming_distribution(params = {})
# @param [Hash] params ({})
def create_streaming_distribution(params = {}, options = {})
req = build_request(:create_streaming_distribution, params)
@@ -1514,11 +1517,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-11-05/CreateStreamingDistributionWithTags2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateStreamingDistributionWithTags2019_03_26 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)
@@ -1541,11 +1544,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-11-05/DeleteCloudFrontOriginAccessIdentity2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/DeleteCloudFrontOriginAccessIdentity2019_03_26 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)
@@ -1568,11 +1571,11 @@
# resp = client.delete_distribution({
# id: "string", # required
# if_match: "string",
# })
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/DeleteDistribution2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/DeleteDistribution2019_03_26 AWS API Documentation
#
# @overload delete_distribution(params = {})
# @param [Hash] params ({})
def delete_distribution(params = {}, options = {})
req = build_request(:delete_distribution, params)
@@ -1595,11 +1598,11 @@
# resp = client.delete_field_level_encryption_config({
# id: "string", # required
# if_match: "string",
# })
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/DeleteFieldLevelEncryptionConfig2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/DeleteFieldLevelEncryptionConfig2019_03_26 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)
@@ -1622,11 +1625,11 @@
# resp = client.delete_field_level_encryption_profile({
# id: "string", # required
# if_match: "string",
# })
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/DeleteFieldLevelEncryptionProfile2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/DeleteFieldLevelEncryptionProfile2019_03_26 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)
@@ -1649,11 +1652,11 @@
# resp = client.delete_public_key({
# id: "string", # required
# if_match: "string",
# })
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/DeletePublicKey2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/DeletePublicKey2019_03_26 AWS API Documentation
#
# @overload delete_public_key(params = {})
# @param [Hash] params ({})
def delete_public_key(params = {}, options = {})
req = build_request(:delete_public_key, params)
@@ -1701,11 +1704,11 @@
# console, see [Deleting a Distribution][1] in the *Amazon CloudFront
# Developer Guide*.
#
#
#
- # [1]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html
#
# @option params [required, String] :id
# The distribution ID.
#
# @option params [String] :if_match
@@ -1719,11 +1722,11 @@
# resp = client.delete_streaming_distribution({
# id: "string", # required
# if_match: "string",
# })
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/DeleteStreamingDistribution2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/DeleteStreamingDistribution2019_03_26 AWS API Documentation
#
# @overload delete_streaming_distribution(params = {})
# @param [Hash] params ({})
def delete_streaming_distribution(params = {}, options = {})
req = build_request(:delete_streaming_distribution, params)
@@ -1752,11 +1755,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-11-05/GetCloudFrontOriginAccessIdentity2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetCloudFrontOriginAccessIdentity2019_03_26 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)
@@ -1783,11 +1786,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-11-05/GetCloudFrontOriginAccessIdentityConfig2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetCloudFrontOriginAccessIdentityConfig2019_03_26 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)
@@ -1795,11 +1798,12 @@
end
# Get the information about a distribution.
#
# @option params [required, String] :id
- # The distribution's ID.
+ # The distribution's ID. If the ID is empty, an empty distribution
+ # configuration is returned.
#
# @return [Types::GetDistributionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::GetDistributionResult#distribution #distribution} => Types::Distribution
# * {Types::GetDistributionResult#etag #etag} => String
@@ -1953,13 +1957,16 @@
# resp.distribution.distribution_config.restrictions.geo_restriction.items #=> Array
# resp.distribution.distribution_config.restrictions.geo_restriction.items[0] #=> String
# 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.distribution.alias_icp_recordals #=> Array
+ # resp.distribution.alias_icp_recordals[0].cname #=> String
+ # resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/GetDistribution2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetDistribution2019_03_26 AWS API Documentation
#
# @overload get_distribution(params = {})
# @param [Hash] params ({})
def get_distribution(params = {}, options = {})
req = build_request(:get_distribution, params)
@@ -1967,11 +1974,12 @@
end
# Get the configuration information about a distribution.
#
# @option params [required, String] :id
- # The distribution's ID.
+ # The distribution's ID. If the ID is empty, an empty distribution
+ # configuration is returned.
#
# @return [Types::GetDistributionConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::GetDistributionConfigResult#distribution_config #distribution_config} => Types::DistributionConfig
# * {Types::GetDistributionConfigResult#etag #etag} => String
@@ -2114,11 +2122,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-11-05/GetDistributionConfig2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetDistributionConfig2019_03_26 AWS API Documentation
#
# @overload get_distribution_config(params = {})
# @param [Hash] params ({})
def get_distribution_config(params = {}, options = {})
req = build_request(:get_distribution_config, params)
@@ -2159,11 +2167,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-11-05/GetFieldLevelEncryption2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetFieldLevelEncryption2019_03_26 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)
@@ -2202,11 +2210,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-11-05/GetFieldLevelEncryptionConfig2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetFieldLevelEncryptionConfig2019_03_26 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)
@@ -2243,11 +2251,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-11-05/GetFieldLevelEncryptionProfile2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetFieldLevelEncryptionProfile2019_03_26 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)
@@ -2283,11 +2291,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-11-05/GetFieldLevelEncryptionProfileConfig2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetFieldLevelEncryptionProfileConfig2019_03_26 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)
@@ -2322,11 +2330,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-11-05/GetInvalidation2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetInvalidation2019_03_26 AWS API Documentation
#
# @overload get_invalidation(params = {})
# @param [Hash] params ({})
def get_invalidation(params = {}, options = {})
req = build_request(:get_invalidation, params)
@@ -2357,11 +2365,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-11-05/GetPublicKey2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetPublicKey2019_03_26 AWS API Documentation
#
# @overload get_public_key(params = {})
# @param [Hash] params ({})
def get_public_key(params = {}, options = {})
req = build_request(:get_public_key, params)
@@ -2390,11 +2398,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-11-05/GetPublicKeyConfig2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetPublicKeyConfig2019_03_26 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)
@@ -2448,11 +2456,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-11-05/GetStreamingDistribution2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetStreamingDistribution2019_03_26 AWS API Documentation
#
# @overload get_streaming_distribution(params = {})
# @param [Hash] params ({})
def get_streaming_distribution(params = {}, options = {})
req = build_request(:get_streaming_distribution, params)
@@ -2493,11 +2501,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-11-05/GetStreamingDistributionConfig2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetStreamingDistributionConfig2019_03_26 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)
@@ -2539,20 +2547,20 @@
# 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-11-05/ListCloudFrontOriginAccessIdentities2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListCloudFrontOriginAccessIdentities2019_03_26 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)
req.send_request(options)
end
- # List distributions.
+ # List CloudFront distributions.
#
# @option params [String] :marker
# Use this when paginating results to indicate where to begin in your
# list of distributions. The results include distributions in the list
# that occur after the marker. To get the next page of results, set the
@@ -2708,12 +2716,15 @@
# resp.distribution_list.items[0].restrictions.geo_restriction.items #=> Array
# 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
+ # resp.distribution_list.items[0].alias_icp_recordals #=> Array
+ # resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
+ # resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/ListDistributions2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListDistributions2019_03_26 AWS API Documentation
#
# @overload list_distributions(params = {})
# @param [Hash] params ({})
def list_distributions(params = {}, options = {})
req = build_request(:list_distributions, params)
@@ -2887,12 +2898,15 @@
# resp.distribution_list.items[0].restrictions.geo_restriction.items #=> Array
# 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
+ # resp.distribution_list.items[0].alias_icp_recordals #=> Array
+ # resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
+ # resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/ListDistributionsByWebACLId2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListDistributionsByWebACLId2019_03_26 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)
@@ -2944,11 +2958,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-11-05/ListFieldLevelEncryptionConfigs2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListFieldLevelEncryptionConfigs2019_03_26 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)
@@ -2996,11 +3010,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-11-05/ListFieldLevelEncryptionProfiles2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListFieldLevelEncryptionProfiles2019_03_26 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)
@@ -3048,11 +3062,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-11-05/ListInvalidations2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListInvalidations2019_03_26 AWS API Documentation
#
# @overload list_invalidations(params = {})
# @param [Hash] params ({})
def list_invalidations(params = {}, options = {})
req = build_request(:list_invalidations, params)
@@ -3093,11 +3107,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-11-05/ListPublicKeys2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListPublicKeys2019_03_26 AWS API Documentation
#
# @overload list_public_keys(params = {})
# @param [Hash] params ({})
def list_public_keys(params = {}, options = {})
req = build_request(:list_public_keys, params)
@@ -3147,11 +3161,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-11-05/ListStreamingDistributions2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListStreamingDistributions2019_03_26 AWS API Documentation
#
# @overload list_streaming_distributions(params = {})
# @param [Hash] params ({})
def list_streaming_distributions(params = {}, options = {})
req = build_request(:list_streaming_distributions, params)
@@ -3177,11 +3191,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-11-05/ListTagsForResource2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListTagsForResource2019_03_26 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)
@@ -3210,11 +3224,11 @@
# },
# ],
# },
# })
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/TagResource2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/TagResource2019_03_26 AWS API Documentation
#
# @overload tag_resource(params = {})
# @param [Hash] params ({})
def tag_resource(params = {}, options = {})
req = build_request(:tag_resource, params)
@@ -3238,11 +3252,11 @@
# tag_keys: { # required
# items: ["TagKey"],
# },
# })
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/UntagResource2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/UntagResource2019_03_26 AWS API Documentation
#
# @overload untag_resource(params = {})
# @param [Hash] params ({})
def untag_resource(params = {}, options = {})
req = build_request(:untag_resource, params)
@@ -3283,11 +3297,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-11-05/UpdateCloudFrontOriginAccessIdentity2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/UpdateCloudFrontOriginAccessIdentity2019_03_26 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)
@@ -3313,11 +3327,11 @@
# console instead, see [Creating a Distribution][2] in the *Amazon
# CloudFront Developer Guide*.
#
# **To update a web distribution using the CloudFront API**
#
- # 1. Submit a GetDistributionConfig request to get the current
+ # 1. Submit a [GetDistributionConfig][3] request to get the current
# configuration and an `Etag` header for the distribution.
#
# <note markdown="1"> If you update the distribution again, you must get a new `Etag`
# header.
#
@@ -3358,18 +3372,20 @@
# `GetDistributionConfig` request in Step 1.
#
# 4. Review the response to the `UpdateDistribution` request to confirm
# that the configuration was successfully updated.
#
- # 5. Optional: Submit a GetDistribution request to confirm that your
- # changes have propagated. When propagation is complete, the value
- # of `Status` is `Deployed`.
+ # 5. Optional: Submit a [GetDistribution][4] request to confirm that
+ # your changes have propagated. When propagation is complete, the
+ # value of `Status` is `Deployed`.
#
#
#
- # [1]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html
- # [2]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-creating-console.html
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html
+ # [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-creating-console.html
+ # [3]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistributionConfig.html
+ # [4]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistribution.html
#
# @option params [required, Types::DistributionConfig] :distribution_config
# The distribution's configuration information.
#
# @option params [required, String] :id
@@ -3566,11 +3582,11 @@
# response_code: "string",
# error_caching_min_ttl: 1,
# },
# ],
# },
- # comment: "string", # required
+ # comment: "CommentType", # required
# logging: {
# enabled: false, # required
# include_cookies: false, # required
# bucket: "string", # required
# prefix: "string", # required
@@ -3744,13 +3760,16 @@
# resp.distribution.distribution_config.restrictions.geo_restriction.items #=> Array
# resp.distribution.distribution_config.restrictions.geo_restriction.items[0] #=> String
# 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.distribution.alias_icp_recordals #=> Array
+ # resp.distribution.alias_icp_recordals[0].cname #=> String
+ # resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
# resp.etag #=> String
#
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/UpdateDistribution2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/UpdateDistribution2019_03_26 AWS API Documentation
#
# @overload update_distribution(params = {})
# @param [Hash] params ({})
def update_distribution(params = {}, options = {})
req = build_request(:update_distribution, params)
@@ -3827,11 +3846,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-11-05/UpdateFieldLevelEncryptionConfig2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/UpdateFieldLevelEncryptionConfig2019_03_26 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)
@@ -3894,11 +3913,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-11-05/UpdateFieldLevelEncryptionProfile2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/UpdateFieldLevelEncryptionProfile2019_03_26 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)
@@ -3944,11 +3963,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-11-05/UpdatePublicKey2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/UpdatePublicKey2019_03_26 AWS API Documentation
#
# @overload update_public_key(params = {})
# @param [Hash] params ({})
def update_public_key(params = {}, options = {})
req = build_request(:update_public_key, params)
@@ -4034,11 +4053,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-11-05/UpdateStreamingDistribution2018_11_05 AWS API Documentation
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/UpdateStreamingDistribution2019_03_26 AWS API Documentation
#
# @overload update_streaming_distribution(params = {})
# @param [Hash] params ({})
def update_streaming_distribution(params = {}, options = {})
req = build_request(:update_streaming_distribution, params)
@@ -4056,11 +4075,11 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-cloudfront'
- context[:gem_version] = '1.18.0'
+ context[:gem_version] = '1.19.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#
@@ -4124,10 +4143,10 @@
# The following table lists the valid waiter names, the operations they call,
# and the default `:delay` and `:max_attempts` values.
#
# | waiter_name | params | :delay | :max_attempts |
# | ------------------------------- | ----------------------------- | -------- | ------------- |
- # | distribution_deployed | {#get_distribution} | 60 | 25 |
+ # | distribution_deployed | {#get_distribution} | 60 | 35 |
# | invalidation_completed | {#get_invalidation} | 20 | 30 |
# | streaming_distribution_deployed | {#get_streaming_distribution} | 60 | 25 |
#
# @raise [Errors::FailureStateError] Raised when the waiter terminates
# because the waiter has entered a state that it will not transition