@aws-sdk/client-cloudfront 3.696.0 → 3.698.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 (70) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/index.js +988 -197
  3. package/dist-es/CloudFront.js +22 -0
  4. package/dist-es/commands/CreateAnycastIpListCommand.js +22 -0
  5. package/dist-es/commands/CreateVpcOriginCommand.js +22 -0
  6. package/dist-es/commands/DeleteAnycastIpListCommand.js +22 -0
  7. package/dist-es/commands/DeleteVpcOriginCommand.js +22 -0
  8. package/dist-es/commands/GetAnycastIpListCommand.js +22 -0
  9. package/dist-es/commands/GetVpcOriginCommand.js +22 -0
  10. package/dist-es/commands/ListAnycastIpListsCommand.js +22 -0
  11. package/dist-es/commands/ListDistributionsByAnycastIpListIdCommand.js +23 -0
  12. package/dist-es/commands/ListDistributionsByVpcOriginIdCommand.js +22 -0
  13. package/dist-es/commands/ListVpcOriginsCommand.js +22 -0
  14. package/dist-es/commands/UpdateVpcOriginCommand.js +22 -0
  15. package/dist-es/commands/index.js +11 -0
  16. package/dist-es/models/models_0.js +82 -52
  17. package/dist-es/models/models_1.js +3 -13
  18. package/dist-es/protocols/Aws_restXml.js +648 -66
  19. package/dist-types/CloudFront.d.ts +79 -0
  20. package/dist-types/CloudFrontClient.d.ts +13 -2
  21. package/dist-types/commands/CopyDistributionCommand.d.ts +15 -4
  22. package/dist-types/commands/CreateAnycastIpListCommand.d.ts +110 -0
  23. package/dist-types/commands/CreateDistributionCommand.d.ts +33 -8
  24. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +33 -8
  25. package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +4 -4
  26. package/dist-types/commands/CreateVpcOriginCommand.d.ts +186 -0
  27. package/dist-types/commands/DeleteAnycastIpListCommand.d.ts +95 -0
  28. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +2 -2
  30. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteVpcOriginCommand.d.ts +155 -0
  33. package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +1 -1
  34. package/dist-types/commands/GetAnycastIpListCommand.d.ts +94 -0
  35. package/dist-types/commands/GetDistributionCommand.d.ts +15 -4
  36. package/dist-types/commands/GetDistributionConfigCommand.d.ts +15 -4
  37. package/dist-types/commands/GetVpcOriginCommand.d.ts +140 -0
  38. package/dist-types/commands/ListAnycastIpListsCommand.d.ts +100 -0
  39. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +393 -0
  40. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +11 -0
  41. package/dist-types/commands/ListDistributionsByVpcOriginIdCommand.d.ts +116 -0
  42. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +11 -0
  43. package/dist-types/commands/ListDistributionsCommand.d.ts +11 -0
  44. package/dist-types/commands/ListVpcOriginsCommand.d.ts +131 -0
  45. package/dist-types/commands/UpdateDistributionCommand.d.ts +33 -8
  46. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +18 -4
  47. package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateVpcOriginCommand.d.ts +193 -0
  49. package/dist-types/commands/index.d.ts +11 -0
  50. package/dist-types/models/models_0.d.ts +361 -383
  51. package/dist-types/models/models_1.d.ts +733 -25
  52. package/dist-types/protocols/Aws_restXml.d.ts +99 -0
  53. package/dist-types/ts3.4/CloudFront.d.ts +195 -0
  54. package/dist-types/ts3.4/CloudFrontClient.d.ts +68 -2
  55. package/dist-types/ts3.4/commands/CreateAnycastIpListCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/CreateVpcOriginCommand.d.ts +50 -0
  57. package/dist-types/ts3.4/commands/DeleteAnycastIpListCommand.d.ts +46 -0
  58. package/dist-types/ts3.4/commands/DeleteVpcOriginCommand.d.ts +50 -0
  59. package/dist-types/ts3.4/commands/GetAnycastIpListCommand.d.ts +50 -0
  60. package/dist-types/ts3.4/commands/GetVpcOriginCommand.d.ts +47 -0
  61. package/dist-types/ts3.4/commands/ListAnycastIpListsCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/ListDistributionsByVpcOriginIdCommand.d.ts +51 -0
  64. package/dist-types/ts3.4/commands/ListVpcOriginsCommand.d.ts +50 -0
  65. package/dist-types/ts3.4/commands/UpdateVpcOriginCommand.d.ts +50 -0
  66. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +106 -93
  68. package/dist-types/ts3.4/models/models_1.d.ts +171 -13
  69. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +132 -0
  70. package/package.json +1 -1
@@ -1,6 +1,283 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
3
- import { ActiveTrustedSigners, Aliases, AliasICPRecordal, CacheBehaviors, CachePolicy, CachePolicyConfig, CachePolicyList, CachePolicyType, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ContentTypeProfileConfig, ContinuousDeploymentPolicy, ContinuousDeploymentPolicyConfig, CustomErrorResponses, DefaultCacheBehavior, Distribution, DistributionConfig, EncryptionEntities, EndPoint, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionStage, FunctionSummary, HttpVersion, Invalidation, KeyGroup, KeyGroupConfig, KeyValueStore, MonitoringSubscription, OriginAccessControl, OriginAccessControlConfig, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginGroups, OriginRequestPolicy, OriginRequestPolicyConfig, Origins, PriceClass, PublicKey, PublicKeyConfig, QueryArgProfileConfig, RealtimeLogConfig, ResponseHeadersPolicyContentSecurityPolicy, ResponseHeadersPolicyContentTypeOptions, ResponseHeadersPolicyCorsConfig, ResponseHeadersPolicyCustomHeadersConfig, ResponseHeadersPolicyRemoveHeadersConfig, Restrictions, Tags, TrustedSigners, ViewerCertificate } from "./models_0";
3
+ import { ActiveTrustedSigners, Aliases, AliasICPRecordal, AnycastIpList, AnycastIpListCollection, CacheBehaviors, CachePolicy, CachePolicyConfig, CachePolicyList, CachePolicyType, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ContentTypeProfileConfig, ContinuousDeploymentPolicy, ContinuousDeploymentPolicyConfig, CustomErrorResponses, DefaultCacheBehavior, Distribution, DistributionConfig, EncryptionEntities, EndPoint, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionStage, FunctionSummary, HttpVersion, Invalidation, KeyGroup, KeyGroupConfig, KeyValueStore, MonitoringSubscription, OriginAccessControl, OriginAccessControlConfig, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginGroups, OriginProtocolPolicy, OriginRequestPolicy, OriginRequestPolicyConfig, Origins, OriginSslProtocols, PriceClass, PublicKey, PublicKeyConfig, QueryArgProfileConfig, RealtimeLogConfig, ResponseHeadersPolicyAccessControlAllowHeaders, ResponseHeadersPolicyAccessControlAllowMethodsValues, Restrictions, Tags, TrustedSigners, ViewerCertificate } from "./models_0";
4
+ /**
5
+ * <p>A list of HTTP methods that CloudFront includes as values for the
6
+ * <code>Access-Control-Allow-Methods</code> HTTP response header.</p>
7
+ * <p>For more information about the <code>Access-Control-Allow-Methods</code> HTTP response
8
+ * header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods">Access-Control-Allow-Methods</a> in the MDN Web Docs.</p>
9
+ * @public
10
+ */
11
+ export interface ResponseHeadersPolicyAccessControlAllowMethods {
12
+ /**
13
+ * <p>The number of HTTP methods in the list.</p>
14
+ * @public
15
+ */
16
+ Quantity: number | undefined;
17
+ /**
18
+ * <p>The list of HTTP methods. Valid values are:</p>
19
+ * <ul>
20
+ * <li>
21
+ * <p>
22
+ * <code>GET</code>
23
+ * </p>
24
+ * </li>
25
+ * <li>
26
+ * <p>
27
+ * <code>DELETE</code>
28
+ * </p>
29
+ * </li>
30
+ * <li>
31
+ * <p>
32
+ * <code>HEAD</code>
33
+ * </p>
34
+ * </li>
35
+ * <li>
36
+ * <p>
37
+ * <code>OPTIONS</code>
38
+ * </p>
39
+ * </li>
40
+ * <li>
41
+ * <p>
42
+ * <code>PATCH</code>
43
+ * </p>
44
+ * </li>
45
+ * <li>
46
+ * <p>
47
+ * <code>POST</code>
48
+ * </p>
49
+ * </li>
50
+ * <li>
51
+ * <p>
52
+ * <code>PUT</code>
53
+ * </p>
54
+ * </li>
55
+ * <li>
56
+ * <p>
57
+ * <code>ALL</code>
58
+ * </p>
59
+ * </li>
60
+ * </ul>
61
+ * <p>
62
+ * <code>ALL</code> is a special value that includes all of the listed HTTP
63
+ * methods.</p>
64
+ * @public
65
+ */
66
+ Items: ResponseHeadersPolicyAccessControlAllowMethodsValues[] | undefined;
67
+ }
68
+ /**
69
+ * <p>A list of origins (domain names) that CloudFront can use as the value for the
70
+ * <code>Access-Control-Allow-Origin</code> HTTP response header.</p>
71
+ * <p>For more information about the <code>Access-Control-Allow-Origin</code> HTTP response
72
+ * header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin">Access-Control-Allow-Origin</a> in the MDN Web Docs.</p>
73
+ * @public
74
+ */
75
+ export interface ResponseHeadersPolicyAccessControlAllowOrigins {
76
+ /**
77
+ * <p>The number of origins in the list.</p>
78
+ * @public
79
+ */
80
+ Quantity: number | undefined;
81
+ /**
82
+ * <p>The list of origins (domain names). You can specify <code>*</code> to allow all
83
+ * origins.</p>
84
+ * @public
85
+ */
86
+ Items: string[] | undefined;
87
+ }
88
+ /**
89
+ * <p>A list of HTTP headers that CloudFront includes as values for the
90
+ * <code>Access-Control-Expose-Headers</code> HTTP response header.</p>
91
+ * <p>For more information about the <code>Access-Control-Expose-Headers</code> HTTP
92
+ * response header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers">Access-Control-Expose-Headers</a> in the MDN Web Docs.</p>
93
+ * @public
94
+ */
95
+ export interface ResponseHeadersPolicyAccessControlExposeHeaders {
96
+ /**
97
+ * <p>The number of HTTP headers in the list.</p>
98
+ * @public
99
+ */
100
+ Quantity: number | undefined;
101
+ /**
102
+ * <p>The list of HTTP headers. You can specify <code>*</code> to expose all headers.</p>
103
+ * @public
104
+ */
105
+ Items?: string[] | undefined;
106
+ }
107
+ /**
108
+ * <p>A configuration for a set of HTTP response headers that are used for cross-origin
109
+ * resource sharing (CORS). CloudFront adds these headers to HTTP responses that it sends for
110
+ * CORS requests that match a cache behavior associated with this response headers
111
+ * policy.</p>
112
+ * <p>For more information about CORS, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">Cross-Origin Resource
113
+ * Sharing (CORS)</a> in the MDN Web Docs.</p>
114
+ * @public
115
+ */
116
+ export interface ResponseHeadersPolicyCorsConfig {
117
+ /**
118
+ * <p>A list of origins (domain names) that CloudFront can use as the value for the
119
+ * <code>Access-Control-Allow-Origin</code> HTTP response header.</p>
120
+ * <p>For more information about the <code>Access-Control-Allow-Origin</code> HTTP response
121
+ * header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin">Access-Control-Allow-Origin</a> in the MDN Web Docs.</p>
122
+ * @public
123
+ */
124
+ AccessControlAllowOrigins: ResponseHeadersPolicyAccessControlAllowOrigins | undefined;
125
+ /**
126
+ * <p>A list of HTTP header names that CloudFront includes as values for the
127
+ * <code>Access-Control-Allow-Headers</code> HTTP response header.</p>
128
+ * <p>For more information about the <code>Access-Control-Allow-Headers</code> HTTP response
129
+ * header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers">Access-Control-Allow-Headers</a> in the MDN Web Docs.</p>
130
+ * @public
131
+ */
132
+ AccessControlAllowHeaders: ResponseHeadersPolicyAccessControlAllowHeaders | undefined;
133
+ /**
134
+ * <p>A list of HTTP methods that CloudFront includes as values for the
135
+ * <code>Access-Control-Allow-Methods</code> HTTP response header.</p>
136
+ * <p>For more information about the <code>Access-Control-Allow-Methods</code> HTTP response
137
+ * header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods">Access-Control-Allow-Methods</a> in the MDN Web Docs.</p>
138
+ * @public
139
+ */
140
+ AccessControlAllowMethods: ResponseHeadersPolicyAccessControlAllowMethods | undefined;
141
+ /**
142
+ * <p>A Boolean that CloudFront uses as the value for the
143
+ * <code>Access-Control-Allow-Credentials</code> HTTP response header.</p>
144
+ * <p>For more information about the <code>Access-Control-Allow-Credentials</code> HTTP
145
+ * response header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials">Access-Control-Allow-Credentials</a> in the MDN Web Docs.</p>
146
+ * @public
147
+ */
148
+ AccessControlAllowCredentials: boolean | undefined;
149
+ /**
150
+ * <p>A list of HTTP headers that CloudFront includes as values for the
151
+ * <code>Access-Control-Expose-Headers</code> HTTP response header.</p>
152
+ * <p>For more information about the <code>Access-Control-Expose-Headers</code> HTTP
153
+ * response header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers">Access-Control-Expose-Headers</a> in the MDN Web Docs.</p>
154
+ * @public
155
+ */
156
+ AccessControlExposeHeaders?: ResponseHeadersPolicyAccessControlExposeHeaders | undefined;
157
+ /**
158
+ * <p>A number that CloudFront uses as the value for the <code>Access-Control-Max-Age</code> HTTP
159
+ * response header.</p>
160
+ * <p>For more information about the <code>Access-Control-Max-Age</code> HTTP response
161
+ * header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age">Access-Control-Max-Age</a> in the MDN Web Docs.</p>
162
+ * @public
163
+ */
164
+ AccessControlMaxAgeSec?: number | undefined;
165
+ /**
166
+ * <p>A Boolean that determines whether CloudFront overrides HTTP response headers received from
167
+ * the origin with the ones specified in this response headers policy.</p>
168
+ * @public
169
+ */
170
+ OriginOverride: boolean | undefined;
171
+ }
172
+ /**
173
+ * <p>An HTTP response header name and its value. CloudFront includes this header in HTTP
174
+ * responses that it sends for requests that match a cache behavior that's associated with
175
+ * this response headers policy.</p>
176
+ * @public
177
+ */
178
+ export interface ResponseHeadersPolicyCustomHeader {
179
+ /**
180
+ * <p>The HTTP response header name.</p>
181
+ * @public
182
+ */
183
+ Header: string | undefined;
184
+ /**
185
+ * <p>The value for the HTTP response header.</p>
186
+ * @public
187
+ */
188
+ Value: string | undefined;
189
+ /**
190
+ * <p>A Boolean that determines whether CloudFront overrides a response header with the same name
191
+ * received from the origin with the header specified here.</p>
192
+ * @public
193
+ */
194
+ Override: boolean | undefined;
195
+ }
196
+ /**
197
+ * <p>A list of HTTP response header names and their values. CloudFront includes these headers in
198
+ * HTTP responses that it sends for requests that match a cache behavior that's associated
199
+ * with this response headers policy.</p>
200
+ * @public
201
+ */
202
+ export interface ResponseHeadersPolicyCustomHeadersConfig {
203
+ /**
204
+ * <p>The number of HTTP response headers in the list.</p>
205
+ * @public
206
+ */
207
+ Quantity: number | undefined;
208
+ /**
209
+ * <p>The list of HTTP response headers and their values.</p>
210
+ * @public
211
+ */
212
+ Items?: ResponseHeadersPolicyCustomHeader[] | undefined;
213
+ }
214
+ /**
215
+ * <p>The name of an HTTP header that CloudFront removes from HTTP responses to requests that match the
216
+ * cache behavior that this response headers policy is attached to.</p>
217
+ * @public
218
+ */
219
+ export interface ResponseHeadersPolicyRemoveHeader {
220
+ /**
221
+ * <p>The HTTP header name.</p>
222
+ * @public
223
+ */
224
+ Header: string | undefined;
225
+ }
226
+ /**
227
+ * <p>A list of HTTP header names that CloudFront removes from HTTP responses to requests that match the
228
+ * cache behavior that this response headers policy is attached to.</p>
229
+ * @public
230
+ */
231
+ export interface ResponseHeadersPolicyRemoveHeadersConfig {
232
+ /**
233
+ * <p>The number of HTTP header names in the list.</p>
234
+ * @public
235
+ */
236
+ Quantity: number | undefined;
237
+ /**
238
+ * <p>The list of HTTP header names.</p>
239
+ * @public
240
+ */
241
+ Items?: ResponseHeadersPolicyRemoveHeader[] | undefined;
242
+ }
243
+ /**
244
+ * <p>The policy directives and their values that CloudFront includes as values for the
245
+ * <code>Content-Security-Policy</code> HTTP response header.</p>
246
+ * <p>For more information about the <code>Content-Security-Policy</code> HTTP response
247
+ * header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy">Content-Security-Policy</a> in the MDN Web Docs.</p>
248
+ * @public
249
+ */
250
+ export interface ResponseHeadersPolicyContentSecurityPolicy {
251
+ /**
252
+ * <p>A Boolean that determines whether CloudFront overrides the
253
+ * <code>Content-Security-Policy</code> HTTP response header received from the origin
254
+ * with the one specified in this response headers policy.</p>
255
+ * @public
256
+ */
257
+ Override: boolean | undefined;
258
+ /**
259
+ * <p>The policy directives and their values that CloudFront includes as values for the
260
+ * <code>Content-Security-Policy</code> HTTP response header.</p>
261
+ * @public
262
+ */
263
+ ContentSecurityPolicy: string | undefined;
264
+ }
265
+ /**
266
+ * <p>Determines whether CloudFront includes the <code>X-Content-Type-Options</code> HTTP response
267
+ * header with its value set to <code>nosniff</code>.</p>
268
+ * <p>For more information about the <code>X-Content-Type-Options</code> HTTP response
269
+ * header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options">X-Content-Type-Options</a> in the MDN Web Docs.</p>
270
+ * @public
271
+ */
272
+ export interface ResponseHeadersPolicyContentTypeOptions {
273
+ /**
274
+ * <p>A Boolean that determines whether CloudFront overrides the
275
+ * <code>X-Content-Type-Options</code> HTTP response header received from the origin
276
+ * with the one specified in this response headers policy.</p>
277
+ * @public
278
+ */
279
+ Override: boolean | undefined;
280
+ }
4
281
  /**
5
282
  * @public
6
283
  * @enum
@@ -490,7 +767,7 @@ export interface StreamingLoggingConfig {
490
767
  Enabled: boolean | undefined;
491
768
  /**
492
769
  * <p>The Amazon S3 bucket to store the access logs in, for example,
493
- * <code>myawslogbucket.s3.amazonaws.com</code>.</p>
770
+ * <code>amzn-s3-demo-bucket.s3.amazonaws.com</code>.</p>
494
771
  * @public
495
772
  */
496
773
  Bucket: string | undefined;
@@ -775,26 +1052,131 @@ export interface CreateStreamingDistributionWithTagsResult {
775
1052
  ETag?: string | undefined;
776
1053
  }
777
1054
  /**
1055
+ * <p>An Amazon CloudFront VPC origin endpoint configuration.</p>
778
1056
  * @public
779
1057
  */
780
- export interface DeleteCachePolicyRequest {
1058
+ export interface VpcOriginEndpointConfig {
781
1059
  /**
782
- * <p>The unique identifier for the cache policy that you are deleting. To get the
783
- * identifier, you can use <code>ListCachePolicies</code>.</p>
1060
+ * <p>The name of the CloudFront VPC origin endpoint configuration.</p>
1061
+ * @public
1062
+ */
1063
+ Name: string | undefined;
1064
+ /**
1065
+ * <p>The ARN of the CloudFront VPC origin endpoint configuration.</p>
1066
+ * @public
1067
+ */
1068
+ Arn: string | undefined;
1069
+ /**
1070
+ * <p>The HTTP port for the CloudFront VPC origin endpoint configuration.</p>
1071
+ * @public
1072
+ */
1073
+ HTTPPort: number | undefined;
1074
+ /**
1075
+ * <p>The HTTPS port of the CloudFront VPC origin endpoint configuration.</p>
1076
+ * @public
1077
+ */
1078
+ HTTPSPort: number | undefined;
1079
+ /**
1080
+ * <p>The origin protocol policy for the CloudFront VPC origin endpoint configuration.</p>
1081
+ * @public
1082
+ */
1083
+ OriginProtocolPolicy: OriginProtocolPolicy | undefined;
1084
+ /**
1085
+ * <p>A complex type that contains information about the SSL/TLS protocols that CloudFront can use
1086
+ * when establishing an HTTPS connection with your origin.</p>
1087
+ * @public
1088
+ */
1089
+ OriginSslProtocols?: OriginSslProtocols | undefined;
1090
+ }
1091
+ /**
1092
+ * @public
1093
+ */
1094
+ export interface CreateVpcOriginRequest {
1095
+ /**
1096
+ * <p>The VPC origin endpoint configuration.</p>
1097
+ * @public
1098
+ */
1099
+ VpcOriginEndpointConfig: VpcOriginEndpointConfig | undefined;
1100
+ /**
1101
+ * <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
1102
+ * @public
1103
+ */
1104
+ Tags?: Tags | undefined;
1105
+ }
1106
+ /**
1107
+ * <p>An Amazon CloudFront VPC origin.</p>
1108
+ * @public
1109
+ */
1110
+ export interface VpcOrigin {
1111
+ /**
1112
+ * <p>The VPC origin ID.</p>
784
1113
  * @public
785
1114
  */
786
1115
  Id: string | undefined;
787
1116
  /**
788
- * <p>The version of the cache policy that you are deleting. The version is the cache
789
- * policy's <code>ETag</code> value, which you can get using
790
- * <code>ListCachePolicies</code>, <code>GetCachePolicy</code>, or
791
- * <code>GetCachePolicyConfig</code>.</p>
1117
+ * <p>The VPC origin ARN.</p>
792
1118
  * @public
793
1119
  */
794
- IfMatch?: string | undefined;
1120
+ Arn: string | undefined;
1121
+ /**
1122
+ * <p>The VPC origin status.</p>
1123
+ * @public
1124
+ */
1125
+ Status: string | undefined;
1126
+ /**
1127
+ * <p>The VPC origin created time.</p>
1128
+ * @public
1129
+ */
1130
+ CreatedTime: Date | undefined;
1131
+ /**
1132
+ * <p>The VPC origin last modified time.</p>
1133
+ * @public
1134
+ */
1135
+ LastModifiedTime: Date | undefined;
1136
+ /**
1137
+ * <p>The VPC origin endpoint configuration.</p>
1138
+ * @public
1139
+ */
1140
+ VpcOriginEndpointConfig: VpcOriginEndpointConfig | undefined;
1141
+ }
1142
+ /**
1143
+ * @public
1144
+ */
1145
+ export interface CreateVpcOriginResult {
1146
+ /**
1147
+ * <p>The VPC origin.</p>
1148
+ * @public
1149
+ */
1150
+ VpcOrigin?: VpcOrigin | undefined;
1151
+ /**
1152
+ * <p>The VPC origin location.</p>
1153
+ * @public
1154
+ */
1155
+ Location?: string | undefined;
1156
+ /**
1157
+ * <p>The VPC origin ETag.</p>
1158
+ * @public
1159
+ */
1160
+ ETag?: string | undefined;
795
1161
  }
796
1162
  /**
797
- * <p>You cannot delete a managed policy.</p>
1163
+ * @public
1164
+ */
1165
+ export interface DeleteAnycastIpListRequest {
1166
+ /**
1167
+ * <p>The ID of the Anycast static IP list.</p>
1168
+ * @public
1169
+ */
1170
+ Id: string | undefined;
1171
+ /**
1172
+ * <p>The current version (<code>ETag</code> value) of the Anycast static IP list that
1173
+ * you are deleting.</p>
1174
+ * @public
1175
+ */
1176
+ IfMatch: string | undefined;
1177
+ }
1178
+ /**
1179
+ * <p>Deletion is not allowed for this entity.</p>
798
1180
  * @public
799
1181
  */
800
1182
  export declare class IllegalDelete extends __BaseException {
@@ -804,7 +1186,26 @@ export declare class IllegalDelete extends __BaseException {
804
1186
  /**
805
1187
  * @internal
806
1188
  */
807
- constructor(opts: __ExceptionOptionType<IllegalDelete, __BaseException>);
1189
+ constructor(opts: __ExceptionOptionType<IllegalDelete, __BaseException>);
1190
+ }
1191
+ /**
1192
+ * @public
1193
+ */
1194
+ export interface DeleteCachePolicyRequest {
1195
+ /**
1196
+ * <p>The unique identifier for the cache policy that you are deleting. To get the
1197
+ * identifier, you can use <code>ListCachePolicies</code>.</p>
1198
+ * @public
1199
+ */
1200
+ Id: string | undefined;
1201
+ /**
1202
+ * <p>The version of the cache policy that you are deleting. The version is the cache
1203
+ * policy's <code>ETag</code> value, which you can get using
1204
+ * <code>ListCachePolicies</code>, <code>GetCachePolicy</code>, or
1205
+ * <code>GetCachePolicyConfig</code>.</p>
1206
+ * @public
1207
+ */
1208
+ IfMatch?: string | undefined;
808
1209
  }
809
1210
  /**
810
1211
  * <p>The Origin Access Identity specified is already in use.</p>
@@ -1104,19 +1505,6 @@ export interface DeleteKeyValueStoreRequest {
1104
1505
  */
1105
1506
  IfMatch: string | undefined;
1106
1507
  }
1107
- /**
1108
- * <p>The key value store entity was not found.</p>
1109
- * @public
1110
- */
1111
- export declare class EntityNotFound extends __BaseException {
1112
- readonly name: "EntityNotFound";
1113
- readonly $fault: "client";
1114
- Message?: string | undefined;
1115
- /**
1116
- * @internal
1117
- */
1118
- constructor(opts: __ExceptionOptionType<EntityNotFound, __BaseException>);
1119
- }
1120
1508
  /**
1121
1509
  * @public
1122
1510
  */
@@ -1357,6 +1745,36 @@ export declare class StreamingDistributionNotDisabled extends __BaseException {
1357
1745
  */
1358
1746
  constructor(opts: __ExceptionOptionType<StreamingDistributionNotDisabled, __BaseException>);
1359
1747
  }
1748
+ /**
1749
+ * @public
1750
+ */
1751
+ export interface DeleteVpcOriginRequest {
1752
+ /**
1753
+ * <p>The VPC origin ID.</p>
1754
+ * @public
1755
+ */
1756
+ Id: string | undefined;
1757
+ /**
1758
+ * <p>The VPC origin to delete, if a match occurs.</p>
1759
+ * @public
1760
+ */
1761
+ IfMatch: string | undefined;
1762
+ }
1763
+ /**
1764
+ * @public
1765
+ */
1766
+ export interface DeleteVpcOriginResult {
1767
+ /**
1768
+ * <p>The VPC origin.</p>
1769
+ * @public
1770
+ */
1771
+ VpcOrigin?: VpcOrigin | undefined;
1772
+ /**
1773
+ * <p>The VPC origin ETag.</p>
1774
+ * @public
1775
+ */
1776
+ ETag?: string | undefined;
1777
+ }
1360
1778
  /**
1361
1779
  * @public
1362
1780
  */
@@ -1412,6 +1830,31 @@ export interface DescribeKeyValueStoreResult {
1412
1830
  */
1413
1831
  ETag?: string | undefined;
1414
1832
  }
1833
+ /**
1834
+ * @public
1835
+ */
1836
+ export interface GetAnycastIpListRequest {
1837
+ /**
1838
+ * <p>The ID of the Anycast static IP list.</p>
1839
+ * @public
1840
+ */
1841
+ Id: string | undefined;
1842
+ }
1843
+ /**
1844
+ * @public
1845
+ */
1846
+ export interface GetAnycastIpListResult {
1847
+ /**
1848
+ * <p>The Anycast static IP list details.</p>
1849
+ * @public
1850
+ */
1851
+ AnycastIpList?: AnycastIpList | undefined;
1852
+ /**
1853
+ * <p>The version identifier for the current version of the Anycast static IP list.</p>
1854
+ * @public
1855
+ */
1856
+ ETag?: string | undefined;
1857
+ }
1415
1858
  /**
1416
1859
  * @public
1417
1860
  */
@@ -2191,6 +2634,59 @@ export interface GetStreamingDistributionConfigResult {
2191
2634
  */
2192
2635
  ETag?: string | undefined;
2193
2636
  }
2637
+ /**
2638
+ * @public
2639
+ */
2640
+ export interface GetVpcOriginRequest {
2641
+ /**
2642
+ * <p>The VPC origin ID.</p>
2643
+ * @public
2644
+ */
2645
+ Id: string | undefined;
2646
+ }
2647
+ /**
2648
+ * @public
2649
+ */
2650
+ export interface GetVpcOriginResult {
2651
+ /**
2652
+ * <p>The VPC origin.</p>
2653
+ * @public
2654
+ */
2655
+ VpcOrigin?: VpcOrigin | undefined;
2656
+ /**
2657
+ * <p>The VPC origin ETag.</p>
2658
+ * @public
2659
+ */
2660
+ ETag?: string | undefined;
2661
+ }
2662
+ /**
2663
+ * @public
2664
+ */
2665
+ export interface ListAnycastIpListsRequest {
2666
+ /**
2667
+ * <p>Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur
2668
+ * after the marker. To get the next page of the list, set this field's value to the value
2669
+ * of <code>NextMarker</code> from the current page's response.</p>
2670
+ * @public
2671
+ */
2672
+ Marker?: string | undefined;
2673
+ /**
2674
+ * <p>The maximum number of Anycast static IP lists that you want returned in the
2675
+ * response.</p>
2676
+ * @public
2677
+ */
2678
+ MaxItems?: number | undefined;
2679
+ }
2680
+ /**
2681
+ * @public
2682
+ */
2683
+ export interface ListAnycastIpListsResult {
2684
+ /**
2685
+ * <p>Root level tag for the <code>AnycastIpLists</code> parameters.</p>
2686
+ * @public
2687
+ */
2688
+ AnycastIpLists?: AnycastIpListCollection | undefined;
2689
+ }
2194
2690
  /**
2195
2691
  * @public
2196
2692
  */
@@ -2663,6 +3159,11 @@ export interface DistributionSummary {
2663
3159
  * @public
2664
3160
  */
2665
3161
  Staging: boolean | undefined;
3162
+ /**
3163
+ * <p>ID of the Anycast static IP list that is associated with the distribution.</p>
3164
+ * @public
3165
+ */
3166
+ AnycastIpListId?: string | undefined;
2666
3167
  }
2667
3168
  /**
2668
3169
  * <p>A distribution list.</p>
@@ -2717,6 +3218,39 @@ export interface ListDistributionsResult {
2717
3218
  */
2718
3219
  DistributionList?: DistributionList | undefined;
2719
3220
  }
3221
+ /**
3222
+ * @public
3223
+ */
3224
+ export interface ListDistributionsByAnycastIpListIdRequest {
3225
+ /**
3226
+ * <p>Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur
3227
+ * after the marker. To get the next page of the list, set this field's value to the value
3228
+ * of <code>NextMarker</code> from the current page's response.</p>
3229
+ * @public
3230
+ */
3231
+ Marker?: string | undefined;
3232
+ /**
3233
+ * <p>The maximum number of distributions that you want returned in the
3234
+ * response.</p>
3235
+ * @public
3236
+ */
3237
+ MaxItems?: number | undefined;
3238
+ /**
3239
+ * <p>The ID of the Anycast static IP list.</p>
3240
+ * @public
3241
+ */
3242
+ AnycastIpListId: string | undefined;
3243
+ }
3244
+ /**
3245
+ * @public
3246
+ */
3247
+ export interface ListDistributionsByAnycastIpListIdResult {
3248
+ /**
3249
+ * <p>A distribution list.</p>
3250
+ * @public
3251
+ */
3252
+ DistributionList?: DistributionList | undefined;
3253
+ }
2720
3254
  /**
2721
3255
  * @public
2722
3256
  */
@@ -2930,6 +3464,36 @@ export interface ListDistributionsByResponseHeadersPolicyIdResult {
2930
3464
  */
2931
3465
  DistributionIdList?: DistributionIdList | undefined;
2932
3466
  }
3467
+ /**
3468
+ * @public
3469
+ */
3470
+ export interface ListDistributionsByVpcOriginIdRequest {
3471
+ /**
3472
+ * <p>The marker associated with the VPC origin distributions list.</p>
3473
+ * @public
3474
+ */
3475
+ Marker?: string | undefined;
3476
+ /**
3477
+ * <p>The maximum number of items included in the list.</p>
3478
+ * @public
3479
+ */
3480
+ MaxItems?: number | undefined;
3481
+ /**
3482
+ * <p>The VPC origin ID.</p>
3483
+ * @public
3484
+ */
3485
+ VpcOriginId: string | undefined;
3486
+ }
3487
+ /**
3488
+ * @public
3489
+ */
3490
+ export interface ListDistributionsByVpcOriginIdResult {
3491
+ /**
3492
+ * <p>A list of distribution IDs.</p>
3493
+ * @public
3494
+ */
3495
+ DistributionIdList?: DistributionIdList | undefined;
3496
+ }
2933
3497
  /**
2934
3498
  * <p>The request to list distributions that are associated with a specified WAF web
2935
3499
  * ACL.</p>
@@ -4110,6 +4674,111 @@ export interface ListTagsForResourceResult {
4110
4674
  */
4111
4675
  Tags: Tags | undefined;
4112
4676
  }
4677
+ /**
4678
+ * @public
4679
+ */
4680
+ export interface ListVpcOriginsRequest {
4681
+ /**
4682
+ * <p>The marker associated with the VPC origins list.</p>
4683
+ * @public
4684
+ */
4685
+ Marker?: string | undefined;
4686
+ /**
4687
+ * <p>The maximum number of items included in the list.</p>
4688
+ * @public
4689
+ */
4690
+ MaxItems?: number | undefined;
4691
+ }
4692
+ /**
4693
+ * <p>A summary of the CloudFront VPC origin.</p>
4694
+ * @public
4695
+ */
4696
+ export interface VpcOriginSummary {
4697
+ /**
4698
+ * <p>The VPC origin summary ID.</p>
4699
+ * @public
4700
+ */
4701
+ Id: string | undefined;
4702
+ /**
4703
+ * <p>The VPC origin summary name.</p>
4704
+ * @public
4705
+ */
4706
+ Name: string | undefined;
4707
+ /**
4708
+ * <p>The VPC origin summary status.</p>
4709
+ * @public
4710
+ */
4711
+ Status: string | undefined;
4712
+ /**
4713
+ * <p>The VPC origin summary created time.</p>
4714
+ * @public
4715
+ */
4716
+ CreatedTime: Date | undefined;
4717
+ /**
4718
+ * <p>The VPC origin summary last modified time.</p>
4719
+ * @public
4720
+ */
4721
+ LastModifiedTime: Date | undefined;
4722
+ /**
4723
+ * <p>The VPC origin summary ARN.</p>
4724
+ * @public
4725
+ */
4726
+ Arn: string | undefined;
4727
+ /**
4728
+ * <p>The VPC origin summary origin endpoint ARN.</p>
4729
+ * @public
4730
+ */
4731
+ OriginEndpointArn: string | undefined;
4732
+ }
4733
+ /**
4734
+ * <p>A list of CloudFront VPC origins.</p>
4735
+ * @public
4736
+ */
4737
+ export interface VpcOriginList {
4738
+ /**
4739
+ * <p>The marker associated with the VPC origins list.</p>
4740
+ * @public
4741
+ */
4742
+ Marker: string | undefined;
4743
+ /**
4744
+ * <p>The next marker associated with the VPC origins list.</p>
4745
+ * @public
4746
+ */
4747
+ NextMarker?: string | undefined;
4748
+ /**
4749
+ * <p>The maximum number of items included in the list.</p>
4750
+ * @public
4751
+ */
4752
+ MaxItems: number | undefined;
4753
+ /**
4754
+ * <p>A flag that indicates whether more VPC origins remain to be listed. If
4755
+ * your results were truncated, you can make a follow-up pagination request using the
4756
+ * <code>Marker</code> request parameter to retrieve more VPC origins in the
4757
+ * list.</p>
4758
+ * @public
4759
+ */
4760
+ IsTruncated: boolean | undefined;
4761
+ /**
4762
+ * <p>The number of VPC origins in the list.</p>
4763
+ * @public
4764
+ */
4765
+ Quantity: number | undefined;
4766
+ /**
4767
+ * <p>The items of the VPC origins list.</p>
4768
+ * @public
4769
+ */
4770
+ Items?: VpcOriginSummary[] | undefined;
4771
+ }
4772
+ /**
4773
+ * @public
4774
+ */
4775
+ export interface ListVpcOriginsResult {
4776
+ /**
4777
+ * <p>List of VPC origins.</p>
4778
+ * @public
4779
+ */
4780
+ VpcOriginList?: VpcOriginList | undefined;
4781
+ }
4113
4782
  /**
4114
4783
  * @public
4115
4784
  */
@@ -4882,6 +5551,41 @@ export interface UpdateStreamingDistributionResult {
4882
5551
  */
4883
5552
  ETag?: string | undefined;
4884
5553
  }
5554
+ /**
5555
+ * @public
5556
+ */
5557
+ export interface UpdateVpcOriginRequest {
5558
+ /**
5559
+ * <p>The VPC origin endpoint configuration.</p>
5560
+ * @public
5561
+ */
5562
+ VpcOriginEndpointConfig: VpcOriginEndpointConfig | undefined;
5563
+ /**
5564
+ * <p>The VPC origin ID.</p>
5565
+ * @public
5566
+ */
5567
+ Id: string | undefined;
5568
+ /**
5569
+ * <p>The VPC origin to update, if a match occurs.</p>
5570
+ * @public
5571
+ */
5572
+ IfMatch: string | undefined;
5573
+ }
5574
+ /**
5575
+ * @public
5576
+ */
5577
+ export interface UpdateVpcOriginResult {
5578
+ /**
5579
+ * <p>The VPC origin.</p>
5580
+ * @public
5581
+ */
5582
+ VpcOrigin?: VpcOrigin | undefined;
5583
+ /**
5584
+ * <p>The VPC origin ETag.</p>
5585
+ * @public
5586
+ */
5587
+ ETag?: string | undefined;
5588
+ }
4885
5589
  /**
4886
5590
  * @internal
4887
5591
  */
@@ -4906,6 +5610,10 @@ export declare const DistributionListFilterSensitiveLog: (obj: DistributionList)
4906
5610
  * @internal
4907
5611
  */
4908
5612
  export declare const ListDistributionsResultFilterSensitiveLog: (obj: ListDistributionsResult) => any;
5613
+ /**
5614
+ * @internal
5615
+ */
5616
+ export declare const ListDistributionsByAnycastIpListIdResultFilterSensitiveLog: (obj: ListDistributionsByAnycastIpListIdResult) => any;
4909
5617
  /**
4910
5618
  * @internal
4911
5619
  */