@aws-sdk/client-cloudfront 3.797.0 → 3.798.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.
Files changed (200) hide show
  1. package/README.md +200 -0
  2. package/dist-cjs/index.js +2696 -655
  3. package/dist-es/CloudFront.js +50 -0
  4. package/dist-es/commands/AssociateDistributionTenantWebACLCommand.js +22 -0
  5. package/dist-es/commands/AssociateDistributionWebACLCommand.js +22 -0
  6. package/dist-es/commands/CreateConnectionGroupCommand.js +22 -0
  7. package/dist-es/commands/CreateDistributionTenantCommand.js +22 -0
  8. package/dist-es/commands/CreateInvalidationForDistributionTenantCommand.js +22 -0
  9. package/dist-es/commands/DeleteConnectionGroupCommand.js +22 -0
  10. package/dist-es/commands/DeleteDistributionTenantCommand.js +22 -0
  11. package/dist-es/commands/DisassociateDistributionTenantWebACLCommand.js +22 -0
  12. package/dist-es/commands/DisassociateDistributionWebACLCommand.js +22 -0
  13. package/dist-es/commands/GetConnectionGroupByRoutingEndpointCommand.js +22 -0
  14. package/dist-es/commands/GetConnectionGroupCommand.js +22 -0
  15. package/dist-es/commands/GetDistributionTenantByDomainCommand.js +22 -0
  16. package/dist-es/commands/GetDistributionTenantCommand.js +22 -0
  17. package/dist-es/commands/GetInvalidationForDistributionTenantCommand.js +22 -0
  18. package/dist-es/commands/GetManagedCertificateDetailsCommand.js +22 -0
  19. package/dist-es/commands/ListConnectionGroupsCommand.js +22 -0
  20. package/dist-es/commands/ListDistributionTenantsByCustomizationCommand.js +22 -0
  21. package/dist-es/commands/ListDistributionTenantsCommand.js +22 -0
  22. package/dist-es/commands/ListDistributionsByConnectionModeCommand.js +23 -0
  23. package/dist-es/commands/ListDomainConflictsCommand.js +22 -0
  24. package/dist-es/commands/ListInvalidationsForDistributionTenantCommand.js +22 -0
  25. package/dist-es/commands/TestFunctionCommand.js +1 -1
  26. package/dist-es/commands/UpdateConnectionGroupCommand.js +22 -0
  27. package/dist-es/commands/UpdateDistributionCommand.js +1 -1
  28. package/dist-es/commands/UpdateDistributionTenantCommand.js +22 -0
  29. package/dist-es/commands/UpdateDistributionWithStagingConfigCommand.js +1 -1
  30. package/dist-es/commands/UpdateDomainAssociationCommand.js +22 -0
  31. package/dist-es/commands/UpdateFunctionCommand.js +1 -1
  32. package/dist-es/commands/VerifyDnsConfigurationCommand.js +22 -0
  33. package/dist-es/commands/index.js +26 -1
  34. package/dist-es/models/index.js +1 -0
  35. package/dist-es/models/models_0.js +77 -201
  36. package/dist-es/models/models_1.js +203 -58
  37. package/dist-es/models/models_2.js +52 -0
  38. package/dist-es/pagination/ListConnectionGroupsPaginator.js +4 -0
  39. package/dist-es/pagination/ListDistributionTenantsByCustomizationPaginator.js +4 -0
  40. package/dist-es/pagination/ListDistributionTenantsPaginator.js +4 -0
  41. package/dist-es/pagination/ListDistributionsByConnectionModePaginator.js +4 -0
  42. package/dist-es/pagination/ListDomainConflictsPaginator.js +4 -0
  43. package/dist-es/pagination/ListInvalidationsForDistributionTenantPaginator.js +4 -0
  44. package/dist-es/pagination/index.js +6 -0
  45. package/dist-es/protocols/Aws_restXml.js +1907 -460
  46. package/dist-es/waiters/index.js +1 -0
  47. package/dist-es/waiters/waitForInvalidationForDistributionTenantCompleted.js +31 -0
  48. package/dist-types/CloudFront.d.ts +178 -0
  49. package/dist-types/CloudFrontClient.d.ts +27 -2
  50. package/dist-types/commands/AssociateDistributionTenantWebACLCommand.d.ts +92 -0
  51. package/dist-types/commands/AssociateDistributionWebACLCommand.d.ts +92 -0
  52. package/dist-types/commands/CopyDistributionCommand.d.ts +16 -1
  53. package/dist-types/commands/CreateConnectionGroupCommand.d.ts +123 -0
  54. package/dist-types/commands/CreateDistributionCommand.d.ts +35 -2
  55. package/dist-types/commands/CreateDistributionTenantCommand.d.ts +185 -0
  56. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +32 -2
  57. package/dist-types/commands/CreateInvalidationForDistributionTenantCommand.d.ts +119 -0
  58. package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +1 -1
  59. package/dist-types/commands/CreatePublicKeyCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +2 -2
  62. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +2 -2
  63. package/dist-types/commands/DeleteConnectionGroupCommand.d.ts +90 -0
  64. package/dist-types/commands/DeleteDistributionCommand.d.ts +3 -0
  65. package/dist-types/commands/DeleteDistributionTenantCommand.d.ts +88 -0
  66. package/dist-types/commands/DisassociateDistributionTenantWebACLCommand.d.ts +90 -0
  67. package/dist-types/commands/DisassociateDistributionWebACLCommand.d.ts +90 -0
  68. package/dist-types/commands/GetConnectionGroupByRoutingEndpointCommand.d.ts +99 -0
  69. package/dist-types/commands/GetConnectionGroupCommand.d.ts +99 -0
  70. package/dist-types/commands/GetDistributionCommand.d.ts +16 -1
  71. package/dist-types/commands/GetDistributionConfigCommand.d.ts +16 -1
  72. package/dist-types/commands/GetDistributionTenantByDomainCommand.d.ts +124 -0
  73. package/dist-types/commands/GetDistributionTenantCommand.d.ts +124 -0
  74. package/dist-types/commands/GetInvalidationForDistributionTenantCommand.d.ts +95 -0
  75. package/dist-types/commands/GetManagedCertificateDetailsCommand.d.ts +89 -0
  76. package/dist-types/commands/GetStreamingDistributionCommand.d.ts +1 -1
  77. package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +1 -1
  78. package/dist-types/commands/ListConnectionGroupsCommand.d.ts +100 -0
  79. package/dist-types/commands/ListDistributionTenantsByCustomizationCommand.d.ts +120 -0
  80. package/dist-types/commands/ListDistributionTenantsCommand.d.ts +121 -0
  81. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +3 -1
  82. package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +392 -0
  83. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +3 -1
  84. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +3 -1
  85. package/dist-types/commands/ListDistributionsCommand.d.ts +3 -1
  86. package/dist-types/commands/ListDomainConflictsCommand.d.ts +96 -0
  87. package/dist-types/commands/ListInvalidationsForDistributionTenantCommand.d.ts +96 -0
  88. package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +3 -2
  89. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  90. package/dist-types/commands/ListVpcOriginsCommand.d.ts +1 -1
  91. package/dist-types/commands/PublishFunctionCommand.d.ts +1 -1
  92. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  93. package/dist-types/commands/TestFunctionCommand.d.ts +1 -1
  94. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  95. package/dist-types/commands/UpdateCachePolicyCommand.d.ts +1 -1
  96. package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  97. package/dist-types/commands/UpdateConnectionGroupCommand.d.ts +123 -0
  98. package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +1 -1
  99. package/dist-types/commands/UpdateDistributionCommand.d.ts +33 -3
  100. package/dist-types/commands/UpdateDistributionTenantCommand.d.ts +182 -0
  101. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +17 -2
  102. package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +98 -0
  103. package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +1 -1
  104. package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +1 -1
  105. package/dist-types/commands/UpdateFunctionCommand.d.ts +1 -1
  106. package/dist-types/commands/UpdateKeyGroupCommand.d.ts +1 -1
  107. package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
  108. package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +1 -1
  109. package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +1 -1
  110. package/dist-types/commands/UpdatePublicKeyCommand.d.ts +1 -1
  111. package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -1
  112. package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +1 -1
  113. package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +3 -3
  114. package/dist-types/commands/UpdateVpcOriginCommand.d.ts +1 -1
  115. package/dist-types/commands/VerifyDnsConfigurationCommand.d.ts +88 -0
  116. package/dist-types/commands/index.d.ts +26 -1
  117. package/dist-types/models/index.d.ts +1 -0
  118. package/dist-types/models/models_0.d.ts +830 -869
  119. package/dist-types/models/models_1.d.ts +2571 -2123
  120. package/dist-types/models/models_2.d.ts +1244 -0
  121. package/dist-types/pagination/ListConnectionGroupsPaginator.d.ts +7 -0
  122. package/dist-types/pagination/ListDistributionTenantsByCustomizationPaginator.d.ts +7 -0
  123. package/dist-types/pagination/ListDistributionTenantsPaginator.d.ts +7 -0
  124. package/dist-types/pagination/ListDistributionsByConnectionModePaginator.d.ts +7 -0
  125. package/dist-types/pagination/ListDomainConflictsPaginator.d.ts +7 -0
  126. package/dist-types/pagination/ListInvalidationsForDistributionTenantPaginator.d.ts +7 -0
  127. package/dist-types/pagination/index.d.ts +6 -0
  128. package/dist-types/protocols/Aws_restXml.d.ts +225 -0
  129. package/dist-types/ts3.4/CloudFront.d.ts +476 -0
  130. package/dist-types/ts3.4/CloudFrontClient.d.ts +152 -2
  131. package/dist-types/ts3.4/commands/AssociateDistributionTenantWebACLCommand.d.ts +51 -0
  132. package/dist-types/ts3.4/commands/AssociateDistributionWebACLCommand.d.ts +51 -0
  133. package/dist-types/ts3.4/commands/CreateConnectionGroupCommand.d.ts +51 -0
  134. package/dist-types/ts3.4/commands/CreateDistributionTenantCommand.d.ts +51 -0
  135. package/dist-types/ts3.4/commands/CreateInvalidationForDistributionTenantCommand.d.ts +51 -0
  136. package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/DeleteConnectionGroupCommand.d.ts +46 -0
  140. package/dist-types/ts3.4/commands/DeleteDistributionTenantCommand.d.ts +47 -0
  141. package/dist-types/ts3.4/commands/DisassociateDistributionTenantWebACLCommand.d.ts +51 -0
  142. package/dist-types/ts3.4/commands/DisassociateDistributionWebACLCommand.d.ts +51 -0
  143. package/dist-types/ts3.4/commands/GetConnectionGroupByRoutingEndpointCommand.d.ts +51 -0
  144. package/dist-types/ts3.4/commands/GetConnectionGroupCommand.d.ts +51 -0
  145. package/dist-types/ts3.4/commands/GetDistributionTenantByDomainCommand.d.ts +51 -0
  146. package/dist-types/ts3.4/commands/GetDistributionTenantCommand.d.ts +51 -0
  147. package/dist-types/ts3.4/commands/GetInvalidationForDistributionTenantCommand.d.ts +51 -0
  148. package/dist-types/ts3.4/commands/GetManagedCertificateDetailsCommand.d.ts +51 -0
  149. package/dist-types/ts3.4/commands/ListConnectionGroupsCommand.d.ts +51 -0
  150. package/dist-types/ts3.4/commands/ListDistributionTenantsByCustomizationCommand.d.ts +51 -0
  151. package/dist-types/ts3.4/commands/ListDistributionTenantsCommand.d.ts +51 -0
  152. package/dist-types/ts3.4/commands/ListDistributionsByConnectionModeCommand.d.ts +51 -0
  153. package/dist-types/ts3.4/commands/ListDomainConflictsCommand.d.ts +51 -0
  154. package/dist-types/ts3.4/commands/ListInvalidationsForDistributionTenantCommand.d.ts +51 -0
  155. package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +2 -4
  156. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  157. package/dist-types/ts3.4/commands/ListVpcOriginsCommand.d.ts +1 -1
  158. package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +1 -1
  159. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +1 -1
  161. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  162. package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +1 -1
  163. package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  164. package/dist-types/ts3.4/commands/UpdateConnectionGroupCommand.d.ts +51 -0
  165. package/dist-types/ts3.4/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +1 -1
  166. package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +1 -1
  167. package/dist-types/ts3.4/commands/UpdateDistributionTenantCommand.d.ts +51 -0
  168. package/dist-types/ts3.4/commands/UpdateDistributionWithStagingConfigCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/UpdateDomainAssociationCommand.d.ts +51 -0
  170. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +1 -1
  171. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +1 -1
  172. package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
  175. package/dist-types/ts3.4/commands/UpdateOriginAccessControlCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -1
  179. package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +1 -1
  180. package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/UpdateVpcOriginCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/VerifyDnsConfigurationCommand.d.ts +51 -0
  183. package/dist-types/ts3.4/commands/index.d.ts +26 -1
  184. package/dist-types/ts3.4/models/index.d.ts +1 -0
  185. package/dist-types/ts3.4/models/models_0.d.ts +190 -214
  186. package/dist-types/ts3.4/models/models_1.d.ts +413 -275
  187. package/dist-types/ts3.4/models/models_2.d.ts +363 -0
  188. package/dist-types/ts3.4/pagination/ListConnectionGroupsPaginator.d.ts +11 -0
  189. package/dist-types/ts3.4/pagination/ListDistributionTenantsByCustomizationPaginator.d.ts +11 -0
  190. package/dist-types/ts3.4/pagination/ListDistributionTenantsPaginator.d.ts +11 -0
  191. package/dist-types/ts3.4/pagination/ListDistributionsByConnectionModePaginator.d.ts +11 -0
  192. package/dist-types/ts3.4/pagination/ListDomainConflictsPaginator.d.ts +11 -0
  193. package/dist-types/ts3.4/pagination/ListInvalidationsForDistributionTenantPaginator.d.ts +11 -0
  194. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  195. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +300 -0
  196. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  197. package/dist-types/ts3.4/waiters/waitForInvalidationForDistributionTenantCompleted.d.ts +11 -0
  198. package/dist-types/waiters/index.d.ts +1 -0
  199. package/dist-types/waiters/waitForInvalidationForDistributionTenantCompleted.d.ts +14 -0
  200. package/package.json +11 -11
@@ -1,6 +1,165 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
3
3
  import { DistributionConfigFilterSensitiveLog, DistributionFilterSensitiveLog, } from "./models_0";
4
+ export class TooManyOriginAccessControls extends __BaseException {
5
+ name = "TooManyOriginAccessControls";
6
+ $fault = "client";
7
+ Message;
8
+ constructor(opts) {
9
+ super({
10
+ name: "TooManyOriginAccessControls",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, TooManyOriginAccessControls.prototype);
15
+ this.Message = opts.Message;
16
+ }
17
+ }
18
+ export const OriginRequestPolicyCookieBehavior = {
19
+ all: "all",
20
+ allExcept: "allExcept",
21
+ none: "none",
22
+ whitelist: "whitelist",
23
+ };
24
+ export const OriginRequestPolicyHeaderBehavior = {
25
+ allExcept: "allExcept",
26
+ allViewer: "allViewer",
27
+ allViewerAndWhitelistCloudFront: "allViewerAndWhitelistCloudFront",
28
+ none: "none",
29
+ whitelist: "whitelist",
30
+ };
31
+ export const OriginRequestPolicyQueryStringBehavior = {
32
+ all: "all",
33
+ allExcept: "allExcept",
34
+ none: "none",
35
+ whitelist: "whitelist",
36
+ };
37
+ export class OriginRequestPolicyAlreadyExists extends __BaseException {
38
+ name = "OriginRequestPolicyAlreadyExists";
39
+ $fault = "client";
40
+ Message;
41
+ constructor(opts) {
42
+ super({
43
+ name: "OriginRequestPolicyAlreadyExists",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, OriginRequestPolicyAlreadyExists.prototype);
48
+ this.Message = opts.Message;
49
+ }
50
+ }
51
+ export class TooManyCookiesInOriginRequestPolicy extends __BaseException {
52
+ name = "TooManyCookiesInOriginRequestPolicy";
53
+ $fault = "client";
54
+ Message;
55
+ constructor(opts) {
56
+ super({
57
+ name: "TooManyCookiesInOriginRequestPolicy",
58
+ $fault: "client",
59
+ ...opts,
60
+ });
61
+ Object.setPrototypeOf(this, TooManyCookiesInOriginRequestPolicy.prototype);
62
+ this.Message = opts.Message;
63
+ }
64
+ }
65
+ export class TooManyHeadersInOriginRequestPolicy extends __BaseException {
66
+ name = "TooManyHeadersInOriginRequestPolicy";
67
+ $fault = "client";
68
+ Message;
69
+ constructor(opts) {
70
+ super({
71
+ name: "TooManyHeadersInOriginRequestPolicy",
72
+ $fault: "client",
73
+ ...opts,
74
+ });
75
+ Object.setPrototypeOf(this, TooManyHeadersInOriginRequestPolicy.prototype);
76
+ this.Message = opts.Message;
77
+ }
78
+ }
79
+ export class TooManyOriginRequestPolicies extends __BaseException {
80
+ name = "TooManyOriginRequestPolicies";
81
+ $fault = "client";
82
+ Message;
83
+ constructor(opts) {
84
+ super({
85
+ name: "TooManyOriginRequestPolicies",
86
+ $fault: "client",
87
+ ...opts,
88
+ });
89
+ Object.setPrototypeOf(this, TooManyOriginRequestPolicies.prototype);
90
+ this.Message = opts.Message;
91
+ }
92
+ }
93
+ export class TooManyQueryStringsInOriginRequestPolicy extends __BaseException {
94
+ name = "TooManyQueryStringsInOriginRequestPolicy";
95
+ $fault = "client";
96
+ Message;
97
+ constructor(opts) {
98
+ super({
99
+ name: "TooManyQueryStringsInOriginRequestPolicy",
100
+ $fault: "client",
101
+ ...opts,
102
+ });
103
+ Object.setPrototypeOf(this, TooManyQueryStringsInOriginRequestPolicy.prototype);
104
+ this.Message = opts.Message;
105
+ }
106
+ }
107
+ export class PublicKeyAlreadyExists extends __BaseException {
108
+ name = "PublicKeyAlreadyExists";
109
+ $fault = "client";
110
+ Message;
111
+ constructor(opts) {
112
+ super({
113
+ name: "PublicKeyAlreadyExists",
114
+ $fault: "client",
115
+ ...opts,
116
+ });
117
+ Object.setPrototypeOf(this, PublicKeyAlreadyExists.prototype);
118
+ this.Message = opts.Message;
119
+ }
120
+ }
121
+ export class TooManyPublicKeys extends __BaseException {
122
+ name = "TooManyPublicKeys";
123
+ $fault = "client";
124
+ Message;
125
+ constructor(opts) {
126
+ super({
127
+ name: "TooManyPublicKeys",
128
+ $fault: "client",
129
+ ...opts,
130
+ });
131
+ Object.setPrototypeOf(this, TooManyPublicKeys.prototype);
132
+ this.Message = opts.Message;
133
+ }
134
+ }
135
+ export class RealtimeLogConfigAlreadyExists extends __BaseException {
136
+ name = "RealtimeLogConfigAlreadyExists";
137
+ $fault = "client";
138
+ Message;
139
+ constructor(opts) {
140
+ super({
141
+ name: "RealtimeLogConfigAlreadyExists",
142
+ $fault: "client",
143
+ ...opts,
144
+ });
145
+ Object.setPrototypeOf(this, RealtimeLogConfigAlreadyExists.prototype);
146
+ this.Message = opts.Message;
147
+ }
148
+ }
149
+ export class TooManyRealtimeLogConfigs extends __BaseException {
150
+ name = "TooManyRealtimeLogConfigs";
151
+ $fault = "client";
152
+ Message;
153
+ constructor(opts) {
154
+ super({
155
+ name: "TooManyRealtimeLogConfigs",
156
+ $fault: "client",
157
+ ...opts,
158
+ });
159
+ Object.setPrototypeOf(this, TooManyRealtimeLogConfigs.prototype);
160
+ this.Message = opts.Message;
161
+ }
162
+ }
4
163
  export const FrameOptionsList = {
5
164
  DENY: "DENY",
6
165
  SAMEORIGIN: "SAMEORIGIN",
@@ -169,6 +328,20 @@ export class NoSuchCloudFrontOriginAccessIdentity extends __BaseException {
169
328
  this.Message = opts.Message;
170
329
  }
171
330
  }
331
+ export class ResourceNotDisabled extends __BaseException {
332
+ name = "ResourceNotDisabled";
333
+ $fault = "client";
334
+ Message;
335
+ constructor(opts) {
336
+ super({
337
+ name: "ResourceNotDisabled",
338
+ $fault: "client",
339
+ ...opts,
340
+ });
341
+ Object.setPrototypeOf(this, ResourceNotDisabled.prototype);
342
+ this.Message = opts.Message;
343
+ }
344
+ }
172
345
  export class DistributionNotDisabled extends __BaseException {
173
346
  name = "DistributionNotDisabled";
174
347
  $fault = "client";
@@ -183,6 +356,20 @@ export class DistributionNotDisabled extends __BaseException {
183
356
  this.Message = opts.Message;
184
357
  }
185
358
  }
359
+ export class ResourceInUse extends __BaseException {
360
+ name = "ResourceInUse";
361
+ $fault = "client";
362
+ Message;
363
+ constructor(opts) {
364
+ super({
365
+ name: "ResourceInUse",
366
+ $fault: "client",
367
+ ...opts,
368
+ });
369
+ Object.setPrototypeOf(this, ResourceInUse.prototype);
370
+ this.Message = opts.Message;
371
+ }
372
+ }
186
373
  export class FieldLevelEncryptionConfigInUse extends __BaseException {
187
374
  name = "FieldLevelEncryptionConfigInUse";
188
375
  $fault = "client";
@@ -253,20 +440,6 @@ export class NoSuchResource extends __BaseException {
253
440
  this.Message = opts.Message;
254
441
  }
255
442
  }
256
- export class ResourceInUse extends __BaseException {
257
- name = "ResourceInUse";
258
- $fault = "client";
259
- Message;
260
- constructor(opts) {
261
- super({
262
- name: "ResourceInUse",
263
- $fault: "client",
264
- ...opts,
265
- });
266
- Object.setPrototypeOf(this, ResourceInUse.prototype);
267
- this.Message = opts.Message;
268
- }
269
- }
270
443
  export class NoSuchMonitoringSubscription extends __BaseException {
271
444
  name = "NoSuchMonitoringSubscription";
272
445
  $fault = "client";
@@ -407,6 +580,19 @@ export class NoSuchInvalidation extends __BaseException {
407
580
  this.Message = opts.Message;
408
581
  }
409
582
  }
583
+ export const ManagedCertificateStatus = {
584
+ Expired: "expired",
585
+ Failed: "failed",
586
+ Inactive: "inactive",
587
+ Issued: "issued",
588
+ PendingValidation: "pending-validation",
589
+ Revoked: "revoked",
590
+ ValidationTimedOut: "validation-timed-out",
591
+ };
592
+ export const DistributionResourceType = {
593
+ Distribution: "distribution",
594
+ DistributionTenant: "distribution-tenant",
595
+ };
410
596
  export const OriginRequestPolicyType = {
411
597
  custom: "custom",
412
598
  managed: "managed",
@@ -415,20 +601,6 @@ export const ResponseHeadersPolicyType = {
415
601
  custom: "custom",
416
602
  managed: "managed",
417
603
  };
418
- export class TestFunctionFailed extends __BaseException {
419
- name = "TestFunctionFailed";
420
- $fault = "server";
421
- Message;
422
- constructor(opts) {
423
- super({
424
- name: "TestFunctionFailed",
425
- $fault: "server",
426
- ...opts,
427
- });
428
- Object.setPrototypeOf(this, TestFunctionFailed.prototype);
429
- this.Message = opts.Message;
430
- }
431
- }
432
604
  export const GetDistributionResultFilterSensitiveLog = (obj) => ({
433
605
  ...obj,
434
606
  ...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
@@ -453,39 +625,12 @@ export const ListDistributionsResultFilterSensitiveLog = (obj) => ({
453
625
  export const ListDistributionsByAnycastIpListIdResultFilterSensitiveLog = (obj) => ({
454
626
  ...obj,
455
627
  });
456
- export const ListDistributionsByRealtimeLogConfigResultFilterSensitiveLog = (obj) => ({
457
- ...obj,
458
- });
459
- export const ListDistributionsByWebACLIdResultFilterSensitiveLog = (obj) => ({
460
- ...obj,
461
- });
462
- export const TestFunctionRequestFilterSensitiveLog = (obj) => ({
463
- ...obj,
464
- ...(obj.EventObject && { EventObject: SENSITIVE_STRING }),
465
- });
466
- export const TestResultFilterSensitiveLog = (obj) => ({
467
- ...obj,
468
- ...(obj.FunctionExecutionLogs && { FunctionExecutionLogs: SENSITIVE_STRING }),
469
- ...(obj.FunctionErrorMessage && { FunctionErrorMessage: SENSITIVE_STRING }),
470
- ...(obj.FunctionOutput && { FunctionOutput: SENSITIVE_STRING }),
471
- });
472
- export const TestFunctionResultFilterSensitiveLog = (obj) => ({
628
+ export const ListDistributionsByConnectionModeResultFilterSensitiveLog = (obj) => ({
473
629
  ...obj,
474
- ...(obj.TestResult && { TestResult: TestResultFilterSensitiveLog(obj.TestResult) }),
475
630
  });
476
- export const UpdateDistributionRequestFilterSensitiveLog = (obj) => ({
477
- ...obj,
478
- ...(obj.DistributionConfig && { DistributionConfig: DistributionConfigFilterSensitiveLog(obj.DistributionConfig) }),
479
- });
480
- export const UpdateDistributionResultFilterSensitiveLog = (obj) => ({
481
- ...obj,
482
- ...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
483
- });
484
- export const UpdateDistributionWithStagingConfigResultFilterSensitiveLog = (obj) => ({
631
+ export const ListDistributionsByRealtimeLogConfigResultFilterSensitiveLog = (obj) => ({
485
632
  ...obj,
486
- ...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
487
633
  });
488
- export const UpdateFunctionRequestFilterSensitiveLog = (obj) => ({
634
+ export const ListDistributionsByWebACLIdResultFilterSensitiveLog = (obj) => ({
489
635
  ...obj,
490
- ...(obj.FunctionCode && { FunctionCode: SENSITIVE_STRING }),
491
636
  });
@@ -0,0 +1,52 @@
1
+ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
3
+ import { DistributionConfigFilterSensitiveLog, DistributionFilterSensitiveLog, } from "./models_0";
4
+ export class TestFunctionFailed extends __BaseException {
5
+ name = "TestFunctionFailed";
6
+ $fault = "server";
7
+ Message;
8
+ constructor(opts) {
9
+ super({
10
+ name: "TestFunctionFailed",
11
+ $fault: "server",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, TestFunctionFailed.prototype);
15
+ this.Message = opts.Message;
16
+ }
17
+ }
18
+ export const DnsConfigurationStatus = {
19
+ Invalid: "invalid-configuration",
20
+ Unknown: "unknown-configuration",
21
+ Valid: "valid-configuration",
22
+ };
23
+ export const TestFunctionRequestFilterSensitiveLog = (obj) => ({
24
+ ...obj,
25
+ ...(obj.EventObject && { EventObject: SENSITIVE_STRING }),
26
+ });
27
+ export const TestResultFilterSensitiveLog = (obj) => ({
28
+ ...obj,
29
+ ...(obj.FunctionExecutionLogs && { FunctionExecutionLogs: SENSITIVE_STRING }),
30
+ ...(obj.FunctionErrorMessage && { FunctionErrorMessage: SENSITIVE_STRING }),
31
+ ...(obj.FunctionOutput && { FunctionOutput: SENSITIVE_STRING }),
32
+ });
33
+ export const TestFunctionResultFilterSensitiveLog = (obj) => ({
34
+ ...obj,
35
+ ...(obj.TestResult && { TestResult: TestResultFilterSensitiveLog(obj.TestResult) }),
36
+ });
37
+ export const UpdateDistributionRequestFilterSensitiveLog = (obj) => ({
38
+ ...obj,
39
+ ...(obj.DistributionConfig && { DistributionConfig: DistributionConfigFilterSensitiveLog(obj.DistributionConfig) }),
40
+ });
41
+ export const UpdateDistributionResultFilterSensitiveLog = (obj) => ({
42
+ ...obj,
43
+ ...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
44
+ });
45
+ export const UpdateDistributionWithStagingConfigResultFilterSensitiveLog = (obj) => ({
46
+ ...obj,
47
+ ...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
48
+ });
49
+ export const UpdateFunctionRequestFilterSensitiveLog = (obj) => ({
50
+ ...obj,
51
+ ...(obj.FunctionCode && { FunctionCode: SENSITIVE_STRING }),
52
+ });
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudFrontClient } from "../CloudFrontClient";
3
+ import { ListConnectionGroupsCommand, } from "../commands/ListConnectionGroupsCommand";
4
+ export const paginateListConnectionGroups = createPaginator(CloudFrontClient, ListConnectionGroupsCommand, "Marker", "NextMarker", "MaxItems");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudFrontClient } from "../CloudFrontClient";
3
+ import { ListDistributionTenantsByCustomizationCommand, } from "../commands/ListDistributionTenantsByCustomizationCommand";
4
+ export const paginateListDistributionTenantsByCustomization = createPaginator(CloudFrontClient, ListDistributionTenantsByCustomizationCommand, "Marker", "NextMarker", "MaxItems");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudFrontClient } from "../CloudFrontClient";
3
+ import { ListDistributionTenantsCommand, } from "../commands/ListDistributionTenantsCommand";
4
+ export const paginateListDistributionTenants = createPaginator(CloudFrontClient, ListDistributionTenantsCommand, "Marker", "NextMarker", "MaxItems");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudFrontClient } from "../CloudFrontClient";
3
+ import { ListDistributionsByConnectionModeCommand, } from "../commands/ListDistributionsByConnectionModeCommand";
4
+ export const paginateListDistributionsByConnectionMode = createPaginator(CloudFrontClient, ListDistributionsByConnectionModeCommand, "Marker", "DistributionList.NextMarker", "MaxItems");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudFrontClient } from "../CloudFrontClient";
3
+ import { ListDomainConflictsCommand, } from "../commands/ListDomainConflictsCommand";
4
+ export const paginateListDomainConflicts = createPaginator(CloudFrontClient, ListDomainConflictsCommand, "Marker", "NextMarker", "MaxItems");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudFrontClient } from "../CloudFrontClient";
3
+ import { ListInvalidationsForDistributionTenantCommand, } from "../commands/ListInvalidationsForDistributionTenantCommand";
4
+ export const paginateListInvalidationsForDistributionTenant = createPaginator(CloudFrontClient, ListInvalidationsForDistributionTenantCommand, "Marker", "InvalidationList.NextMarker", "MaxItems");
@@ -1,6 +1,12 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListCloudFrontOriginAccessIdentitiesPaginator";
3
+ export * from "./ListConnectionGroupsPaginator";
4
+ export * from "./ListDistributionTenantsByCustomizationPaginator";
5
+ export * from "./ListDistributionTenantsPaginator";
6
+ export * from "./ListDistributionsByConnectionModePaginator";
3
7
  export * from "./ListDistributionsPaginator";
8
+ export * from "./ListDomainConflictsPaginator";
9
+ export * from "./ListInvalidationsForDistributionTenantPaginator";
4
10
  export * from "./ListInvalidationsPaginator";
5
11
  export * from "./ListKeyValueStoresPaginator";
6
12
  export * from "./ListPublicKeysPaginator";