aws-sdk-cloudfront 1.66.0 → 1.67.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +296 -19
- data/lib/aws-sdk-cloudfront/client_api.rb +232 -4
- data/lib/aws-sdk-cloudfront/errors.rb +160 -0
- data/lib/aws-sdk-cloudfront/types.rb +628 -19
- data/lib/aws-sdk-cloudfront.rb +1 -1
- metadata +2 -2
@@ -47,10 +47,12 @@ module Aws::CloudFront
|
|
47
47
|
# * {FunctionSizeLimitExceeded}
|
48
48
|
# * {IllegalDelete}
|
49
49
|
# * {IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior}
|
50
|
+
# * {IllegalOriginAccessConfiguration}
|
50
51
|
# * {IllegalUpdate}
|
51
52
|
# * {InconsistentQuantities}
|
52
53
|
# * {InvalidArgument}
|
53
54
|
# * {InvalidDefaultRootObject}
|
55
|
+
# * {InvalidDomainNameForOriginAccessControl}
|
54
56
|
# * {InvalidErrorCode}
|
55
57
|
# * {InvalidForwardCookies}
|
56
58
|
# * {InvalidFunctionAssociation}
|
@@ -61,6 +63,7 @@ module Aws::CloudFront
|
|
61
63
|
# * {InvalidLocationCode}
|
62
64
|
# * {InvalidMinimumProtocolVersion}
|
63
65
|
# * {InvalidOrigin}
|
66
|
+
# * {InvalidOriginAccessControl}
|
64
67
|
# * {InvalidOriginAccessIdentity}
|
65
68
|
# * {InvalidOriginKeepaliveTimeout}
|
66
69
|
# * {InvalidOriginReadTimeout}
|
@@ -75,6 +78,7 @@ module Aws::CloudFront
|
|
75
78
|
# * {InvalidWebACLId}
|
76
79
|
# * {KeyGroupAlreadyExists}
|
77
80
|
# * {MissingBody}
|
81
|
+
# * {MonitoringSubscriptionAlreadyExists}
|
78
82
|
# * {NoSuchCachePolicy}
|
79
83
|
# * {NoSuchCloudFrontOriginAccessIdentity}
|
80
84
|
# * {NoSuchDistribution}
|
@@ -82,13 +86,17 @@ module Aws::CloudFront
|
|
82
86
|
# * {NoSuchFieldLevelEncryptionProfile}
|
83
87
|
# * {NoSuchFunctionExists}
|
84
88
|
# * {NoSuchInvalidation}
|
89
|
+
# * {NoSuchMonitoringSubscription}
|
85
90
|
# * {NoSuchOrigin}
|
91
|
+
# * {NoSuchOriginAccessControl}
|
86
92
|
# * {NoSuchOriginRequestPolicy}
|
87
93
|
# * {NoSuchPublicKey}
|
88
94
|
# * {NoSuchRealtimeLogConfig}
|
89
95
|
# * {NoSuchResource}
|
90
96
|
# * {NoSuchResponseHeadersPolicy}
|
91
97
|
# * {NoSuchStreamingDistribution}
|
98
|
+
# * {OriginAccessControlAlreadyExists}
|
99
|
+
# * {OriginAccessControlInUse}
|
92
100
|
# * {OriginRequestPolicyAlreadyExists}
|
93
101
|
# * {OriginRequestPolicyInUse}
|
94
102
|
# * {PreconditionFailed}
|
@@ -118,6 +126,7 @@ module Aws::CloudFront
|
|
118
126
|
# * {TooManyDistributionsAssociatedToCachePolicy}
|
119
127
|
# * {TooManyDistributionsAssociatedToFieldLevelEncryptionConfig}
|
120
128
|
# * {TooManyDistributionsAssociatedToKeyGroup}
|
129
|
+
# * {TooManyDistributionsAssociatedToOriginAccessControl}
|
121
130
|
# * {TooManyDistributionsAssociatedToOriginRequestPolicy}
|
122
131
|
# * {TooManyDistributionsAssociatedToResponseHeadersPolicy}
|
123
132
|
# * {TooManyDistributionsWithFunctionAssociations}
|
@@ -138,6 +147,7 @@ module Aws::CloudFront
|
|
138
147
|
# * {TooManyKeyGroups}
|
139
148
|
# * {TooManyKeyGroupsAssociatedToDistribution}
|
140
149
|
# * {TooManyLambdaFunctionAssociations}
|
150
|
+
# * {TooManyOriginAccessControls}
|
141
151
|
# * {TooManyOriginCustomHeaders}
|
142
152
|
# * {TooManyOriginGroupsPerDistribution}
|
143
153
|
# * {TooManyOriginRequestPolicies}
|
@@ -462,6 +472,21 @@ module Aws::CloudFront
|
|
462
472
|
end
|
463
473
|
end
|
464
474
|
|
475
|
+
class IllegalOriginAccessConfiguration < ServiceError
|
476
|
+
|
477
|
+
# @param [Seahorse::Client::RequestContext] context
|
478
|
+
# @param [String] message
|
479
|
+
# @param [Aws::CloudFront::Types::IllegalOriginAccessConfiguration] data
|
480
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
481
|
+
super(context, message, data)
|
482
|
+
end
|
483
|
+
|
484
|
+
# @return [String]
|
485
|
+
def message
|
486
|
+
@message || @data[:message]
|
487
|
+
end
|
488
|
+
end
|
489
|
+
|
465
490
|
class IllegalUpdate < ServiceError
|
466
491
|
|
467
492
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -522,6 +547,21 @@ module Aws::CloudFront
|
|
522
547
|
end
|
523
548
|
end
|
524
549
|
|
550
|
+
class InvalidDomainNameForOriginAccessControl < ServiceError
|
551
|
+
|
552
|
+
# @param [Seahorse::Client::RequestContext] context
|
553
|
+
# @param [String] message
|
554
|
+
# @param [Aws::CloudFront::Types::InvalidDomainNameForOriginAccessControl] data
|
555
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
556
|
+
super(context, message, data)
|
557
|
+
end
|
558
|
+
|
559
|
+
# @return [String]
|
560
|
+
def message
|
561
|
+
@message || @data[:message]
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
525
565
|
class InvalidErrorCode < ServiceError
|
526
566
|
|
527
567
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -672,6 +712,21 @@ module Aws::CloudFront
|
|
672
712
|
end
|
673
713
|
end
|
674
714
|
|
715
|
+
class InvalidOriginAccessControl < ServiceError
|
716
|
+
|
717
|
+
# @param [Seahorse::Client::RequestContext] context
|
718
|
+
# @param [String] message
|
719
|
+
# @param [Aws::CloudFront::Types::InvalidOriginAccessControl] data
|
720
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
721
|
+
super(context, message, data)
|
722
|
+
end
|
723
|
+
|
724
|
+
# @return [String]
|
725
|
+
def message
|
726
|
+
@message || @data[:message]
|
727
|
+
end
|
728
|
+
end
|
729
|
+
|
675
730
|
class InvalidOriginAccessIdentity < ServiceError
|
676
731
|
|
677
732
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -882,6 +937,21 @@ module Aws::CloudFront
|
|
882
937
|
end
|
883
938
|
end
|
884
939
|
|
940
|
+
class MonitoringSubscriptionAlreadyExists < ServiceError
|
941
|
+
|
942
|
+
# @param [Seahorse::Client::RequestContext] context
|
943
|
+
# @param [String] message
|
944
|
+
# @param [Aws::CloudFront::Types::MonitoringSubscriptionAlreadyExists] data
|
945
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
946
|
+
super(context, message, data)
|
947
|
+
end
|
948
|
+
|
949
|
+
# @return [String]
|
950
|
+
def message
|
951
|
+
@message || @data[:message]
|
952
|
+
end
|
953
|
+
end
|
954
|
+
|
885
955
|
class NoSuchCachePolicy < ServiceError
|
886
956
|
|
887
957
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -987,6 +1057,21 @@ module Aws::CloudFront
|
|
987
1057
|
end
|
988
1058
|
end
|
989
1059
|
|
1060
|
+
class NoSuchMonitoringSubscription < ServiceError
|
1061
|
+
|
1062
|
+
# @param [Seahorse::Client::RequestContext] context
|
1063
|
+
# @param [String] message
|
1064
|
+
# @param [Aws::CloudFront::Types::NoSuchMonitoringSubscription] data
|
1065
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1066
|
+
super(context, message, data)
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
# @return [String]
|
1070
|
+
def message
|
1071
|
+
@message || @data[:message]
|
1072
|
+
end
|
1073
|
+
end
|
1074
|
+
|
990
1075
|
class NoSuchOrigin < ServiceError
|
991
1076
|
|
992
1077
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -1002,6 +1087,21 @@ module Aws::CloudFront
|
|
1002
1087
|
end
|
1003
1088
|
end
|
1004
1089
|
|
1090
|
+
class NoSuchOriginAccessControl < ServiceError
|
1091
|
+
|
1092
|
+
# @param [Seahorse::Client::RequestContext] context
|
1093
|
+
# @param [String] message
|
1094
|
+
# @param [Aws::CloudFront::Types::NoSuchOriginAccessControl] data
|
1095
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1096
|
+
super(context, message, data)
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
# @return [String]
|
1100
|
+
def message
|
1101
|
+
@message || @data[:message]
|
1102
|
+
end
|
1103
|
+
end
|
1104
|
+
|
1005
1105
|
class NoSuchOriginRequestPolicy < ServiceError
|
1006
1106
|
|
1007
1107
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -1092,6 +1192,36 @@ module Aws::CloudFront
|
|
1092
1192
|
end
|
1093
1193
|
end
|
1094
1194
|
|
1195
|
+
class OriginAccessControlAlreadyExists < ServiceError
|
1196
|
+
|
1197
|
+
# @param [Seahorse::Client::RequestContext] context
|
1198
|
+
# @param [String] message
|
1199
|
+
# @param [Aws::CloudFront::Types::OriginAccessControlAlreadyExists] data
|
1200
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1201
|
+
super(context, message, data)
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
# @return [String]
|
1205
|
+
def message
|
1206
|
+
@message || @data[:message]
|
1207
|
+
end
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
class OriginAccessControlInUse < ServiceError
|
1211
|
+
|
1212
|
+
# @param [Seahorse::Client::RequestContext] context
|
1213
|
+
# @param [String] message
|
1214
|
+
# @param [Aws::CloudFront::Types::OriginAccessControlInUse] data
|
1215
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1216
|
+
super(context, message, data)
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
# @return [String]
|
1220
|
+
def message
|
1221
|
+
@message || @data[:message]
|
1222
|
+
end
|
1223
|
+
end
|
1224
|
+
|
1095
1225
|
class OriginRequestPolicyAlreadyExists < ServiceError
|
1096
1226
|
|
1097
1227
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -1527,6 +1657,21 @@ module Aws::CloudFront
|
|
1527
1657
|
end
|
1528
1658
|
end
|
1529
1659
|
|
1660
|
+
class TooManyDistributionsAssociatedToOriginAccessControl < ServiceError
|
1661
|
+
|
1662
|
+
# @param [Seahorse::Client::RequestContext] context
|
1663
|
+
# @param [String] message
|
1664
|
+
# @param [Aws::CloudFront::Types::TooManyDistributionsAssociatedToOriginAccessControl] data
|
1665
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1666
|
+
super(context, message, data)
|
1667
|
+
end
|
1668
|
+
|
1669
|
+
# @return [String]
|
1670
|
+
def message
|
1671
|
+
@message || @data[:message]
|
1672
|
+
end
|
1673
|
+
end
|
1674
|
+
|
1530
1675
|
class TooManyDistributionsAssociatedToOriginRequestPolicy < ServiceError
|
1531
1676
|
|
1532
1677
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -1827,6 +1972,21 @@ module Aws::CloudFront
|
|
1827
1972
|
end
|
1828
1973
|
end
|
1829
1974
|
|
1975
|
+
class TooManyOriginAccessControls < ServiceError
|
1976
|
+
|
1977
|
+
# @param [Seahorse::Client::RequestContext] context
|
1978
|
+
# @param [String] message
|
1979
|
+
# @param [Aws::CloudFront::Types::TooManyOriginAccessControls] data
|
1980
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1981
|
+
super(context, message, data)
|
1982
|
+
end
|
1983
|
+
|
1984
|
+
# @return [String]
|
1985
|
+
def message
|
1986
|
+
@message || @data[:message]
|
1987
|
+
end
|
1988
|
+
end
|
1989
|
+
|
1830
1990
|
class TooManyOriginCustomHeaders < ServiceError
|
1831
1991
|
|
1832
1992
|
# @param [Seahorse::Client::RequestContext] context
|