aws-sdk-cloudfront 1.70.0 → 1.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +261 -1
- data/lib/aws-sdk-cloudfront/client_api.rb +114 -0
- data/lib/aws-sdk-cloudfront/endpoint_provider.rb +157 -159
- data/lib/aws-sdk-cloudfront/endpoints.rb +14 -0
- data/lib/aws-sdk-cloudfront/errors.rb +64 -0
- data/lib/aws-sdk-cloudfront/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-cloudfront/types.rb +123 -4198
- data/lib/aws-sdk-cloudfront.rb +1 -1
- metadata +2 -2
@@ -35,6 +35,8 @@ module Aws::CloudFront
|
|
35
35
|
# * {CannotChangeImmutablePublicKeyFields}
|
36
36
|
# * {CloudFrontOriginAccessIdentityAlreadyExists}
|
37
37
|
# * {CloudFrontOriginAccessIdentityInUse}
|
38
|
+
# * {ContinuousDeploymentPolicyAlreadyExists}
|
39
|
+
# * {ContinuousDeploymentPolicyInUse}
|
38
40
|
# * {DistributionAlreadyExists}
|
39
41
|
# * {DistributionNotDisabled}
|
40
42
|
# * {FieldLevelEncryptionConfigAlreadyExists}
|
@@ -81,6 +83,7 @@ module Aws::CloudFront
|
|
81
83
|
# * {MonitoringSubscriptionAlreadyExists}
|
82
84
|
# * {NoSuchCachePolicy}
|
83
85
|
# * {NoSuchCloudFrontOriginAccessIdentity}
|
86
|
+
# * {NoSuchContinuousDeploymentPolicy}
|
84
87
|
# * {NoSuchDistribution}
|
85
88
|
# * {NoSuchFieldLevelEncryptionConfig}
|
86
89
|
# * {NoSuchFieldLevelEncryptionProfile}
|
@@ -118,6 +121,7 @@ module Aws::CloudFront
|
|
118
121
|
# * {TooManyCachePolicies}
|
119
122
|
# * {TooManyCertificates}
|
120
123
|
# * {TooManyCloudFrontOriginAccessIdentities}
|
124
|
+
# * {TooManyContinuousDeploymentPolicies}
|
121
125
|
# * {TooManyCookieNamesInWhiteList}
|
122
126
|
# * {TooManyCookiesInCachePolicy}
|
123
127
|
# * {TooManyCookiesInOriginRequestPolicy}
|
@@ -293,6 +297,36 @@ module Aws::CloudFront
|
|
293
297
|
end
|
294
298
|
end
|
295
299
|
|
300
|
+
class ContinuousDeploymentPolicyAlreadyExists < ServiceError
|
301
|
+
|
302
|
+
# @param [Seahorse::Client::RequestContext] context
|
303
|
+
# @param [String] message
|
304
|
+
# @param [Aws::CloudFront::Types::ContinuousDeploymentPolicyAlreadyExists] data
|
305
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
306
|
+
super(context, message, data)
|
307
|
+
end
|
308
|
+
|
309
|
+
# @return [String]
|
310
|
+
def message
|
311
|
+
@message || @data[:message]
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
315
|
+
class ContinuousDeploymentPolicyInUse < ServiceError
|
316
|
+
|
317
|
+
# @param [Seahorse::Client::RequestContext] context
|
318
|
+
# @param [String] message
|
319
|
+
# @param [Aws::CloudFront::Types::ContinuousDeploymentPolicyInUse] data
|
320
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
321
|
+
super(context, message, data)
|
322
|
+
end
|
323
|
+
|
324
|
+
# @return [String]
|
325
|
+
def message
|
326
|
+
@message || @data[:message]
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
296
330
|
class DistributionAlreadyExists < ServiceError
|
297
331
|
|
298
332
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -983,6 +1017,21 @@ module Aws::CloudFront
|
|
983
1017
|
end
|
984
1018
|
end
|
985
1019
|
|
1020
|
+
class NoSuchContinuousDeploymentPolicy < ServiceError
|
1021
|
+
|
1022
|
+
# @param [Seahorse::Client::RequestContext] context
|
1023
|
+
# @param [String] message
|
1024
|
+
# @param [Aws::CloudFront::Types::NoSuchContinuousDeploymentPolicy] data
|
1025
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1026
|
+
super(context, message, data)
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# @return [String]
|
1030
|
+
def message
|
1031
|
+
@message || @data[:message]
|
1032
|
+
end
|
1033
|
+
end
|
1034
|
+
|
986
1035
|
class NoSuchDistribution < ServiceError
|
987
1036
|
|
988
1037
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -1538,6 +1587,21 @@ module Aws::CloudFront
|
|
1538
1587
|
end
|
1539
1588
|
end
|
1540
1589
|
|
1590
|
+
class TooManyContinuousDeploymentPolicies < ServiceError
|
1591
|
+
|
1592
|
+
# @param [Seahorse::Client::RequestContext] context
|
1593
|
+
# @param [String] message
|
1594
|
+
# @param [Aws::CloudFront::Types::TooManyContinuousDeploymentPolicies] data
|
1595
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1596
|
+
super(context, message, data)
|
1597
|
+
end
|
1598
|
+
|
1599
|
+
# @return [String]
|
1600
|
+
def message
|
1601
|
+
@message || @data[:message]
|
1602
|
+
end
|
1603
|
+
end
|
1604
|
+
|
1541
1605
|
class TooManyCookieNamesInWhiteList < ServiceError
|
1542
1606
|
|
1543
1607
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -246,6 +246,8 @@ module Aws::CloudFront
|
|
246
246
|
Aws::CloudFront::Endpoints::UpdateContinuousDeploymentPolicy.build(context)
|
247
247
|
when :update_distribution
|
248
248
|
Aws::CloudFront::Endpoints::UpdateDistribution.build(context)
|
249
|
+
when :update_distribution_with_staging_config
|
250
|
+
Aws::CloudFront::Endpoints::UpdateDistributionWithStagingConfig.build(context)
|
249
251
|
when :update_field_level_encryption_config
|
250
252
|
Aws::CloudFront::Endpoints::UpdateFieldLevelEncryptionConfig.build(context)
|
251
253
|
when :update_field_level_encryption_profile
|