aws-sdk-cloudfront 1.56.0 → 1.60.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -87,6 +87,7 @@ module Aws::CloudFront
87
87
  # * {NoSuchPublicKey}
88
88
  # * {NoSuchRealtimeLogConfig}
89
89
  # * {NoSuchResource}
90
+ # * {NoSuchResponseHeadersPolicy}
90
91
  # * {NoSuchStreamingDistribution}
91
92
  # * {OriginRequestPolicyAlreadyExists}
92
93
  # * {OriginRequestPolicyInUse}
@@ -98,6 +99,8 @@ module Aws::CloudFront
98
99
  # * {RealtimeLogConfigInUse}
99
100
  # * {RealtimeLogConfigOwnerMismatch}
100
101
  # * {ResourceInUse}
102
+ # * {ResponseHeadersPolicyAlreadyExists}
103
+ # * {ResponseHeadersPolicyInUse}
101
104
  # * {StreamingDistributionAlreadyExists}
102
105
  # * {StreamingDistributionNotDisabled}
103
106
  # * {TestFunctionFailed}
@@ -108,12 +111,14 @@ module Aws::CloudFront
108
111
  # * {TooManyCookieNamesInWhiteList}
109
112
  # * {TooManyCookiesInCachePolicy}
110
113
  # * {TooManyCookiesInOriginRequestPolicy}
114
+ # * {TooManyCustomHeadersInResponseHeadersPolicy}
111
115
  # * {TooManyDistributionCNAMEs}
112
116
  # * {TooManyDistributions}
113
117
  # * {TooManyDistributionsAssociatedToCachePolicy}
114
118
  # * {TooManyDistributionsAssociatedToFieldLevelEncryptionConfig}
115
119
  # * {TooManyDistributionsAssociatedToKeyGroup}
116
120
  # * {TooManyDistributionsAssociatedToOriginRequestPolicy}
121
+ # * {TooManyDistributionsAssociatedToResponseHeadersPolicy}
117
122
  # * {TooManyDistributionsWithFunctionAssociations}
118
123
  # * {TooManyDistributionsWithLambdaAssociations}
119
124
  # * {TooManyDistributionsWithSingleFunctionARN}
@@ -142,6 +147,7 @@ module Aws::CloudFront
142
147
  # * {TooManyQueryStringsInCachePolicy}
143
148
  # * {TooManyQueryStringsInOriginRequestPolicy}
144
149
  # * {TooManyRealtimeLogConfigs}
150
+ # * {TooManyResponseHeadersPolicies}
145
151
  # * {TooManyStreamingDistributionCNAMEs}
146
152
  # * {TooManyStreamingDistributions}
147
153
  # * {TooManyTrustedSigners}
@@ -1055,6 +1061,21 @@ module Aws::CloudFront
1055
1061
  end
1056
1062
  end
1057
1063
 
1064
+ class NoSuchResponseHeadersPolicy < ServiceError
1065
+
1066
+ # @param [Seahorse::Client::RequestContext] context
1067
+ # @param [String] message
1068
+ # @param [Aws::CloudFront::Types::NoSuchResponseHeadersPolicy] data
1069
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1070
+ super(context, message, data)
1071
+ end
1072
+
1073
+ # @return [String]
1074
+ def message
1075
+ @message || @data[:message]
1076
+ end
1077
+ end
1078
+
1058
1079
  class NoSuchStreamingDistribution < ServiceError
1059
1080
 
1060
1081
  # @param [Seahorse::Client::RequestContext] context
@@ -1220,6 +1241,36 @@ module Aws::CloudFront
1220
1241
  end
1221
1242
  end
1222
1243
 
1244
+ class ResponseHeadersPolicyAlreadyExists < ServiceError
1245
+
1246
+ # @param [Seahorse::Client::RequestContext] context
1247
+ # @param [String] message
1248
+ # @param [Aws::CloudFront::Types::ResponseHeadersPolicyAlreadyExists] data
1249
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1250
+ super(context, message, data)
1251
+ end
1252
+
1253
+ # @return [String]
1254
+ def message
1255
+ @message || @data[:message]
1256
+ end
1257
+ end
1258
+
1259
+ class ResponseHeadersPolicyInUse < ServiceError
1260
+
1261
+ # @param [Seahorse::Client::RequestContext] context
1262
+ # @param [String] message
1263
+ # @param [Aws::CloudFront::Types::ResponseHeadersPolicyInUse] data
1264
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1265
+ super(context, message, data)
1266
+ end
1267
+
1268
+ # @return [String]
1269
+ def message
1270
+ @message || @data[:message]
1271
+ end
1272
+ end
1273
+
1223
1274
  class StreamingDistributionAlreadyExists < ServiceError
1224
1275
 
1225
1276
  # @param [Seahorse::Client::RequestContext] context
@@ -1370,6 +1421,21 @@ module Aws::CloudFront
1370
1421
  end
1371
1422
  end
1372
1423
 
1424
+ class TooManyCustomHeadersInResponseHeadersPolicy < ServiceError
1425
+
1426
+ # @param [Seahorse::Client::RequestContext] context
1427
+ # @param [String] message
1428
+ # @param [Aws::CloudFront::Types::TooManyCustomHeadersInResponseHeadersPolicy] data
1429
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1430
+ super(context, message, data)
1431
+ end
1432
+
1433
+ # @return [String]
1434
+ def message
1435
+ @message || @data[:message]
1436
+ end
1437
+ end
1438
+
1373
1439
  class TooManyDistributionCNAMEs < ServiceError
1374
1440
 
1375
1441
  # @param [Seahorse::Client::RequestContext] context
@@ -1460,6 +1526,21 @@ module Aws::CloudFront
1460
1526
  end
1461
1527
  end
1462
1528
 
1529
+ class TooManyDistributionsAssociatedToResponseHeadersPolicy < ServiceError
1530
+
1531
+ # @param [Seahorse::Client::RequestContext] context
1532
+ # @param [String] message
1533
+ # @param [Aws::CloudFront::Types::TooManyDistributionsAssociatedToResponseHeadersPolicy] data
1534
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1535
+ super(context, message, data)
1536
+ end
1537
+
1538
+ # @return [String]
1539
+ def message
1540
+ @message || @data[:message]
1541
+ end
1542
+ end
1543
+
1463
1544
  class TooManyDistributionsWithFunctionAssociations < ServiceError
1464
1545
 
1465
1546
  # @param [Seahorse::Client::RequestContext] context
@@ -1880,6 +1961,21 @@ module Aws::CloudFront
1880
1961
  end
1881
1962
  end
1882
1963
 
1964
+ class TooManyResponseHeadersPolicies < ServiceError
1965
+
1966
+ # @param [Seahorse::Client::RequestContext] context
1967
+ # @param [String] message
1968
+ # @param [Aws::CloudFront::Types::TooManyResponseHeadersPolicies] data
1969
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1970
+ super(context, message, data)
1971
+ end
1972
+
1973
+ # @return [String]
1974
+ def message
1975
+ @message || @data[:message]
1976
+ end
1977
+ end
1978
+
1883
1979
  class TooManyStreamingDistributionCNAMEs < ServiceError
1884
1980
 
1885
1981
  # @param [Seahorse::Client::RequestContext] context
@@ -68,7 +68,7 @@ module Aws
68
68
  resource_content
69
69
  end
70
70
  else
71
- msg = "Invaild URI scheme:#{scheme}.Scheme must be one of: http, https or rtmp."
71
+ msg = "Invalid URI scheme:#{scheme}.Scheme must be one of: http, https or rtmp."
72
72
  raise ArgumentError, msg
73
73
  end
74
74
  end