aws-sdk-cloudfront 1.69.0 → 1.71.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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}
@@ -109,6 +112,7 @@ module Aws::CloudFront
109
112
  # * {ResourceInUse}
110
113
  # * {ResponseHeadersPolicyAlreadyExists}
111
114
  # * {ResponseHeadersPolicyInUse}
115
+ # * {StagingDistributionInUse}
112
116
  # * {StreamingDistributionAlreadyExists}
113
117
  # * {StreamingDistributionNotDisabled}
114
118
  # * {TestFunctionFailed}
@@ -117,6 +121,7 @@ module Aws::CloudFront
117
121
  # * {TooManyCachePolicies}
118
122
  # * {TooManyCertificates}
119
123
  # * {TooManyCloudFrontOriginAccessIdentities}
124
+ # * {TooManyContinuousDeploymentPolicies}
120
125
  # * {TooManyCookieNamesInWhiteList}
121
126
  # * {TooManyCookiesInCachePolicy}
122
127
  # * {TooManyCookiesInOriginRequestPolicy}
@@ -292,6 +297,36 @@ module Aws::CloudFront
292
297
  end
293
298
  end
294
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
+
295
330
  class DistributionAlreadyExists < ServiceError
296
331
 
297
332
  # @param [Seahorse::Client::RequestContext] context
@@ -982,6 +1017,21 @@ module Aws::CloudFront
982
1017
  end
983
1018
  end
984
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
+
985
1035
  class NoSuchDistribution < ServiceError
986
1036
 
987
1037
  # @param [Seahorse::Client::RequestContext] context
@@ -1402,6 +1452,21 @@ module Aws::CloudFront
1402
1452
  end
1403
1453
  end
1404
1454
 
1455
+ class StagingDistributionInUse < ServiceError
1456
+
1457
+ # @param [Seahorse::Client::RequestContext] context
1458
+ # @param [String] message
1459
+ # @param [Aws::CloudFront::Types::StagingDistributionInUse] data
1460
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1461
+ super(context, message, data)
1462
+ end
1463
+
1464
+ # @return [String]
1465
+ def message
1466
+ @message || @data[:message]
1467
+ end
1468
+ end
1469
+
1405
1470
  class StreamingDistributionAlreadyExists < ServiceError
1406
1471
 
1407
1472
  # @param [Seahorse::Client::RequestContext] context
@@ -1522,6 +1587,21 @@ module Aws::CloudFront
1522
1587
  end
1523
1588
  end
1524
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
+
1525
1605
  class TooManyCookieNamesInWhiteList < ServiceError
1526
1606
 
1527
1607
  # @param [Seahorse::Client::RequestContext] context
@@ -58,10 +58,14 @@ module Aws::CloudFront
58
58
  case context.operation_name
59
59
  when :associate_alias
60
60
  Aws::CloudFront::Endpoints::AssociateAlias.build(context)
61
+ when :copy_distribution
62
+ Aws::CloudFront::Endpoints::CopyDistribution.build(context)
61
63
  when :create_cache_policy
62
64
  Aws::CloudFront::Endpoints::CreateCachePolicy.build(context)
63
65
  when :create_cloud_front_origin_access_identity
64
66
  Aws::CloudFront::Endpoints::CreateCloudFrontOriginAccessIdentity.build(context)
67
+ when :create_continuous_deployment_policy
68
+ Aws::CloudFront::Endpoints::CreateContinuousDeploymentPolicy.build(context)
65
69
  when :create_distribution
66
70
  Aws::CloudFront::Endpoints::CreateDistribution.build(context)
67
71
  when :create_distribution_with_tags
@@ -96,6 +100,8 @@ module Aws::CloudFront
96
100
  Aws::CloudFront::Endpoints::DeleteCachePolicy.build(context)
97
101
  when :delete_cloud_front_origin_access_identity
98
102
  Aws::CloudFront::Endpoints::DeleteCloudFrontOriginAccessIdentity.build(context)
103
+ when :delete_continuous_deployment_policy
104
+ Aws::CloudFront::Endpoints::DeleteContinuousDeploymentPolicy.build(context)
99
105
  when :delete_distribution
100
106
  Aws::CloudFront::Endpoints::DeleteDistribution.build(context)
101
107
  when :delete_field_level_encryption_config
@@ -130,6 +136,10 @@ module Aws::CloudFront
130
136
  Aws::CloudFront::Endpoints::GetCloudFrontOriginAccessIdentity.build(context)
131
137
  when :get_cloud_front_origin_access_identity_config
132
138
  Aws::CloudFront::Endpoints::GetCloudFrontOriginAccessIdentityConfig.build(context)
139
+ when :get_continuous_deployment_policy
140
+ Aws::CloudFront::Endpoints::GetContinuousDeploymentPolicy.build(context)
141
+ when :get_continuous_deployment_policy_config
142
+ Aws::CloudFront::Endpoints::GetContinuousDeploymentPolicyConfig.build(context)
133
143
  when :get_distribution
134
144
  Aws::CloudFront::Endpoints::GetDistribution.build(context)
135
145
  when :get_distribution_config
@@ -180,6 +190,8 @@ module Aws::CloudFront
180
190
  Aws::CloudFront::Endpoints::ListCloudFrontOriginAccessIdentities.build(context)
181
191
  when :list_conflicting_aliases
182
192
  Aws::CloudFront::Endpoints::ListConflictingAliases.build(context)
193
+ when :list_continuous_deployment_policies
194
+ Aws::CloudFront::Endpoints::ListContinuousDeploymentPolicies.build(context)
183
195
  when :list_distributions
184
196
  Aws::CloudFront::Endpoints::ListDistributions.build(context)
185
197
  when :list_distributions_by_cache_policy_id
@@ -230,8 +242,12 @@ module Aws::CloudFront
230
242
  Aws::CloudFront::Endpoints::UpdateCachePolicy.build(context)
231
243
  when :update_cloud_front_origin_access_identity
232
244
  Aws::CloudFront::Endpoints::UpdateCloudFrontOriginAccessIdentity.build(context)
245
+ when :update_continuous_deployment_policy
246
+ Aws::CloudFront::Endpoints::UpdateContinuousDeploymentPolicy.build(context)
233
247
  when :update_distribution
234
248
  Aws::CloudFront::Endpoints::UpdateDistribution.build(context)
249
+ when :update_distribution_with_staging_config
250
+ Aws::CloudFront::Endpoints::UpdateDistributionWithStagingConfig.build(context)
235
251
  when :update_field_level_encryption_config
236
252
  Aws::CloudFront::Endpoints::UpdateFieldLevelEncryptionConfig.build(context)
237
253
  when :update_field_level_encryption_profile