@aws-sdk/client-cloudfront 3.693.0 → 3.697.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 +976 -199
  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 +78 -52
  17. package/dist-es/models/models_1.js +3 -13
  18. package/dist-es/protocols/Aws_restXml.js +630 -56
  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 +14 -4
  22. package/dist-types/commands/CreateAnycastIpListCommand.d.ts +110 -0
  23. package/dist-types/commands/CreateDistributionCommand.d.ts +31 -8
  24. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +31 -8
  25. package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +3 -3
  26. package/dist-types/commands/CreateVpcOriginCommand.d.ts +135 -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 +117 -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 +14 -4
  36. package/dist-types/commands/GetDistributionConfigCommand.d.ts +14 -4
  37. package/dist-types/commands/GetVpcOriginCommand.d.ts +103 -0
  38. package/dist-types/commands/ListAnycastIpListsCommand.d.ts +100 -0
  39. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +392 -0
  40. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +10 -0
  41. package/dist-types/commands/ListDistributionsByVpcOriginIdCommand.d.ts +94 -0
  42. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +10 -0
  43. package/dist-types/commands/ListDistributionsCommand.d.ts +10 -0
  44. package/dist-types/commands/ListVpcOriginsCommand.d.ts +101 -0
  45. package/dist-types/commands/UpdateDistributionCommand.d.ts +31 -8
  46. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +17 -4
  47. package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateVpcOriginCommand.d.ts +141 -0
  49. package/dist-types/commands/index.d.ts +11 -0
  50. package/dist-types/models/models_0.d.ts +337 -314
  51. package/dist-types/models/models_1.d.ts +668 -24
  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 +99 -89
  68. package/dist-types/ts3.4/models/models_1.d.ts +167 -13
  69. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +132 -0
  70. package/package.json +38 -38
@@ -1,6 +1,219 @@
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, ResponseHeadersPolicyAccessControlAllowMethods, Restrictions, Tags, TrustedSigners, ViewerCertificate } from "./models_0";
4
+ /**
5
+ * <p>A list of origins (domain names) that CloudFront can use as the value for the
6
+ * <code>Access-Control-Allow-Origin</code> HTTP response header.</p>
7
+ * <p>For more information about the <code>Access-Control-Allow-Origin</code> HTTP response
8
+ * 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>
9
+ * @public
10
+ */
11
+ export interface ResponseHeadersPolicyAccessControlAllowOrigins {
12
+ /**
13
+ * <p>The number of origins in the list.</p>
14
+ * @public
15
+ */
16
+ Quantity: number | undefined;
17
+ /**
18
+ * <p>The list of origins (domain names). You can specify <code>*</code> to allow all
19
+ * origins.</p>
20
+ * @public
21
+ */
22
+ Items: string[] | undefined;
23
+ }
24
+ /**
25
+ * <p>A list of HTTP headers that CloudFront includes as values for the
26
+ * <code>Access-Control-Expose-Headers</code> HTTP response header.</p>
27
+ * <p>For more information about the <code>Access-Control-Expose-Headers</code> HTTP
28
+ * 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>
29
+ * @public
30
+ */
31
+ export interface ResponseHeadersPolicyAccessControlExposeHeaders {
32
+ /**
33
+ * <p>The number of HTTP headers in the list.</p>
34
+ * @public
35
+ */
36
+ Quantity: number | undefined;
37
+ /**
38
+ * <p>The list of HTTP headers. You can specify <code>*</code> to expose all headers.</p>
39
+ * @public
40
+ */
41
+ Items?: string[] | undefined;
42
+ }
43
+ /**
44
+ * <p>A configuration for a set of HTTP response headers that are used for cross-origin
45
+ * resource sharing (CORS). CloudFront adds these headers to HTTP responses that it sends for
46
+ * CORS requests that match a cache behavior associated with this response headers
47
+ * policy.</p>
48
+ * <p>For more information about CORS, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">Cross-Origin Resource
49
+ * Sharing (CORS)</a> in the MDN Web Docs.</p>
50
+ * @public
51
+ */
52
+ export interface ResponseHeadersPolicyCorsConfig {
53
+ /**
54
+ * <p>A list of origins (domain names) that CloudFront can use as the value for the
55
+ * <code>Access-Control-Allow-Origin</code> HTTP response header.</p>
56
+ * <p>For more information about the <code>Access-Control-Allow-Origin</code> HTTP response
57
+ * 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>
58
+ * @public
59
+ */
60
+ AccessControlAllowOrigins: ResponseHeadersPolicyAccessControlAllowOrigins | undefined;
61
+ /**
62
+ * <p>A list of HTTP header names that CloudFront includes as values for the
63
+ * <code>Access-Control-Allow-Headers</code> HTTP response header.</p>
64
+ * <p>For more information about the <code>Access-Control-Allow-Headers</code> HTTP response
65
+ * 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>
66
+ * @public
67
+ */
68
+ AccessControlAllowHeaders: ResponseHeadersPolicyAccessControlAllowHeaders | undefined;
69
+ /**
70
+ * <p>A list of HTTP methods that CloudFront includes as values for the
71
+ * <code>Access-Control-Allow-Methods</code> HTTP response header.</p>
72
+ * <p>For more information about the <code>Access-Control-Allow-Methods</code> HTTP response
73
+ * 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>
74
+ * @public
75
+ */
76
+ AccessControlAllowMethods: ResponseHeadersPolicyAccessControlAllowMethods | undefined;
77
+ /**
78
+ * <p>A Boolean that CloudFront uses as the value for the
79
+ * <code>Access-Control-Allow-Credentials</code> HTTP response header.</p>
80
+ * <p>For more information about the <code>Access-Control-Allow-Credentials</code> HTTP
81
+ * 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>
82
+ * @public
83
+ */
84
+ AccessControlAllowCredentials: boolean | undefined;
85
+ /**
86
+ * <p>A list of HTTP headers that CloudFront includes as values for the
87
+ * <code>Access-Control-Expose-Headers</code> HTTP response header.</p>
88
+ * <p>For more information about the <code>Access-Control-Expose-Headers</code> HTTP
89
+ * 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>
90
+ * @public
91
+ */
92
+ AccessControlExposeHeaders?: ResponseHeadersPolicyAccessControlExposeHeaders | undefined;
93
+ /**
94
+ * <p>A number that CloudFront uses as the value for the <code>Access-Control-Max-Age</code> HTTP
95
+ * response header.</p>
96
+ * <p>For more information about the <code>Access-Control-Max-Age</code> HTTP response
97
+ * 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>
98
+ * @public
99
+ */
100
+ AccessControlMaxAgeSec?: number | undefined;
101
+ /**
102
+ * <p>A Boolean that determines whether CloudFront overrides HTTP response headers received from
103
+ * the origin with the ones specified in this response headers policy.</p>
104
+ * @public
105
+ */
106
+ OriginOverride: boolean | undefined;
107
+ }
108
+ /**
109
+ * <p>An HTTP response header name and its value. CloudFront includes this header in HTTP
110
+ * responses that it sends for requests that match a cache behavior that's associated with
111
+ * this response headers policy.</p>
112
+ * @public
113
+ */
114
+ export interface ResponseHeadersPolicyCustomHeader {
115
+ /**
116
+ * <p>The HTTP response header name.</p>
117
+ * @public
118
+ */
119
+ Header: string | undefined;
120
+ /**
121
+ * <p>The value for the HTTP response header.</p>
122
+ * @public
123
+ */
124
+ Value: string | undefined;
125
+ /**
126
+ * <p>A Boolean that determines whether CloudFront overrides a response header with the same name
127
+ * received from the origin with the header specified here.</p>
128
+ * @public
129
+ */
130
+ Override: boolean | undefined;
131
+ }
132
+ /**
133
+ * <p>A list of HTTP response header names and their values. CloudFront includes these headers in
134
+ * HTTP responses that it sends for requests that match a cache behavior that's associated
135
+ * with this response headers policy.</p>
136
+ * @public
137
+ */
138
+ export interface ResponseHeadersPolicyCustomHeadersConfig {
139
+ /**
140
+ * <p>The number of HTTP response headers in the list.</p>
141
+ * @public
142
+ */
143
+ Quantity: number | undefined;
144
+ /**
145
+ * <p>The list of HTTP response headers and their values.</p>
146
+ * @public
147
+ */
148
+ Items?: ResponseHeadersPolicyCustomHeader[] | undefined;
149
+ }
150
+ /**
151
+ * <p>The name of an HTTP header that CloudFront removes from HTTP responses to requests that match the
152
+ * cache behavior that this response headers policy is attached to.</p>
153
+ * @public
154
+ */
155
+ export interface ResponseHeadersPolicyRemoveHeader {
156
+ /**
157
+ * <p>The HTTP header name.</p>
158
+ * @public
159
+ */
160
+ Header: string | undefined;
161
+ }
162
+ /**
163
+ * <p>A list of HTTP header names that CloudFront removes from HTTP responses to requests that match the
164
+ * cache behavior that this response headers policy is attached to.</p>
165
+ * @public
166
+ */
167
+ export interface ResponseHeadersPolicyRemoveHeadersConfig {
168
+ /**
169
+ * <p>The number of HTTP header names in the list.</p>
170
+ * @public
171
+ */
172
+ Quantity: number | undefined;
173
+ /**
174
+ * <p>The list of HTTP header names.</p>
175
+ * @public
176
+ */
177
+ Items?: ResponseHeadersPolicyRemoveHeader[] | undefined;
178
+ }
179
+ /**
180
+ * <p>The policy directives and their values that CloudFront includes as values for the
181
+ * <code>Content-Security-Policy</code> HTTP response header.</p>
182
+ * <p>For more information about the <code>Content-Security-Policy</code> HTTP response
183
+ * 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>
184
+ * @public
185
+ */
186
+ export interface ResponseHeadersPolicyContentSecurityPolicy {
187
+ /**
188
+ * <p>A Boolean that determines whether CloudFront overrides the
189
+ * <code>Content-Security-Policy</code> HTTP response header received from the origin
190
+ * with the one specified in this response headers policy.</p>
191
+ * @public
192
+ */
193
+ Override: boolean | undefined;
194
+ /**
195
+ * <p>The policy directives and their values that CloudFront includes as values for the
196
+ * <code>Content-Security-Policy</code> HTTP response header.</p>
197
+ * @public
198
+ */
199
+ ContentSecurityPolicy: string | undefined;
200
+ }
201
+ /**
202
+ * <p>Determines whether CloudFront includes the <code>X-Content-Type-Options</code> HTTP response
203
+ * header with its value set to <code>nosniff</code>.</p>
204
+ * <p>For more information about the <code>X-Content-Type-Options</code> HTTP response
205
+ * 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>
206
+ * @public
207
+ */
208
+ export interface ResponseHeadersPolicyContentTypeOptions {
209
+ /**
210
+ * <p>A Boolean that determines whether CloudFront overrides the
211
+ * <code>X-Content-Type-Options</code> HTTP response header received from the origin
212
+ * with the one specified in this response headers policy.</p>
213
+ * @public
214
+ */
215
+ Override: boolean | undefined;
216
+ }
4
217
  /**
5
218
  * @public
6
219
  * @enum
@@ -490,7 +703,7 @@ export interface StreamingLoggingConfig {
490
703
  Enabled: boolean | undefined;
491
704
  /**
492
705
  * <p>The Amazon S3 bucket to store the access logs in, for example,
493
- * <code>myawslogbucket.s3.amazonaws.com</code>.</p>
706
+ * <code>amzn-s3-demo-bucket.s3.amazonaws.com</code>.</p>
494
707
  * @public
495
708
  */
496
709
  Bucket: string | undefined;
@@ -775,26 +988,131 @@ export interface CreateStreamingDistributionWithTagsResult {
775
988
  ETag?: string | undefined;
776
989
  }
777
990
  /**
991
+ * <p>An Amazon CloudFront VPC origin endpoint configuration.</p>
778
992
  * @public
779
993
  */
780
- export interface DeleteCachePolicyRequest {
994
+ export interface VpcOriginEndpointConfig {
781
995
  /**
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>
996
+ * <p>The name of the CloudFront VPC origin endpoint configuration.</p>
997
+ * @public
998
+ */
999
+ Name: string | undefined;
1000
+ /**
1001
+ * <p>The ARN of the CloudFront VPC origin endpoint configuration.</p>
1002
+ * @public
1003
+ */
1004
+ Arn: string | undefined;
1005
+ /**
1006
+ * <p>The HTTP port for the CloudFront VPC origin endpoint configuration.</p>
1007
+ * @public
1008
+ */
1009
+ HTTPPort: number | undefined;
1010
+ /**
1011
+ * <p>The HTTPS port of the CloudFront VPC origin endpoint configuration.</p>
1012
+ * @public
1013
+ */
1014
+ HTTPSPort: number | undefined;
1015
+ /**
1016
+ * <p>The origin protocol policy for the CloudFront VPC origin endpoint configuration.</p>
1017
+ * @public
1018
+ */
1019
+ OriginProtocolPolicy: OriginProtocolPolicy | undefined;
1020
+ /**
1021
+ * <p>A complex type that contains information about the SSL/TLS protocols that CloudFront can use
1022
+ * when establishing an HTTPS connection with your origin.</p>
1023
+ * @public
1024
+ */
1025
+ OriginSslProtocols?: OriginSslProtocols | undefined;
1026
+ }
1027
+ /**
1028
+ * @public
1029
+ */
1030
+ export interface CreateVpcOriginRequest {
1031
+ /**
1032
+ * <p>The VPC origin endpoint configuration.</p>
1033
+ * @public
1034
+ */
1035
+ VpcOriginEndpointConfig: VpcOriginEndpointConfig | undefined;
1036
+ /**
1037
+ * <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
1038
+ * @public
1039
+ */
1040
+ Tags?: Tags | undefined;
1041
+ }
1042
+ /**
1043
+ * <p>An Amazon CloudFront VPC origin.</p>
1044
+ * @public
1045
+ */
1046
+ export interface VpcOrigin {
1047
+ /**
1048
+ * <p>The VPC origin ID.</p>
784
1049
  * @public
785
1050
  */
786
1051
  Id: string | undefined;
787
1052
  /**
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>
1053
+ * <p>The VPC origin ARN.</p>
792
1054
  * @public
793
1055
  */
794
- IfMatch?: string | undefined;
1056
+ Arn: string | undefined;
1057
+ /**
1058
+ * <p>The VPC origin status.</p>
1059
+ * @public
1060
+ */
1061
+ Status: string | undefined;
1062
+ /**
1063
+ * <p>The VPC origin created time.</p>
1064
+ * @public
1065
+ */
1066
+ CreatedTime: Date | undefined;
1067
+ /**
1068
+ * <p>The VPC origin last modified time.</p>
1069
+ * @public
1070
+ */
1071
+ LastModifiedTime: Date | undefined;
1072
+ /**
1073
+ * <p>The VPC origin endpoint configuration.</p>
1074
+ * @public
1075
+ */
1076
+ VpcOriginEndpointConfig: VpcOriginEndpointConfig | undefined;
1077
+ }
1078
+ /**
1079
+ * @public
1080
+ */
1081
+ export interface CreateVpcOriginResult {
1082
+ /**
1083
+ * <p>The VPC origin.</p>
1084
+ * @public
1085
+ */
1086
+ VpcOrigin?: VpcOrigin | undefined;
1087
+ /**
1088
+ * <p>The VPC origin location.</p>
1089
+ * @public
1090
+ */
1091
+ Location?: string | undefined;
1092
+ /**
1093
+ * <p>The VPC origin ETag.</p>
1094
+ * @public
1095
+ */
1096
+ ETag?: string | undefined;
1097
+ }
1098
+ /**
1099
+ * @public
1100
+ */
1101
+ export interface DeleteAnycastIpListRequest {
1102
+ /**
1103
+ * <p>The ID of the Anycast static IP list.</p>
1104
+ * @public
1105
+ */
1106
+ Id: string | undefined;
1107
+ /**
1108
+ * <p>The current version (<code>ETag</code> value) of the Anycast static IP list that
1109
+ * you are deleting.</p>
1110
+ * @public
1111
+ */
1112
+ IfMatch: string | undefined;
795
1113
  }
796
1114
  /**
797
- * <p>You cannot delete a managed policy.</p>
1115
+ * <p>Deletion is not allowed for this entity.</p>
798
1116
  * @public
799
1117
  */
800
1118
  export declare class IllegalDelete extends __BaseException {
@@ -806,6 +1124,25 @@ export declare class IllegalDelete extends __BaseException {
806
1124
  */
807
1125
  constructor(opts: __ExceptionOptionType<IllegalDelete, __BaseException>);
808
1126
  }
1127
+ /**
1128
+ * @public
1129
+ */
1130
+ export interface DeleteCachePolicyRequest {
1131
+ /**
1132
+ * <p>The unique identifier for the cache policy that you are deleting. To get the
1133
+ * identifier, you can use <code>ListCachePolicies</code>.</p>
1134
+ * @public
1135
+ */
1136
+ Id: string | undefined;
1137
+ /**
1138
+ * <p>The version of the cache policy that you are deleting. The version is the cache
1139
+ * policy's <code>ETag</code> value, which you can get using
1140
+ * <code>ListCachePolicies</code>, <code>GetCachePolicy</code>, or
1141
+ * <code>GetCachePolicyConfig</code>.</p>
1142
+ * @public
1143
+ */
1144
+ IfMatch?: string | undefined;
1145
+ }
809
1146
  /**
810
1147
  * <p>The Origin Access Identity specified is already in use.</p>
811
1148
  * @public
@@ -1104,19 +1441,6 @@ export interface DeleteKeyValueStoreRequest {
1104
1441
  */
1105
1442
  IfMatch: string | undefined;
1106
1443
  }
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
1444
  /**
1121
1445
  * @public
1122
1446
  */
@@ -1357,6 +1681,36 @@ export declare class StreamingDistributionNotDisabled extends __BaseException {
1357
1681
  */
1358
1682
  constructor(opts: __ExceptionOptionType<StreamingDistributionNotDisabled, __BaseException>);
1359
1683
  }
1684
+ /**
1685
+ * @public
1686
+ */
1687
+ export interface DeleteVpcOriginRequest {
1688
+ /**
1689
+ * <p>The VPC origin ID.</p>
1690
+ * @public
1691
+ */
1692
+ Id: string | undefined;
1693
+ /**
1694
+ * <p>The VPC origin to delete, if a match occurs.</p>
1695
+ * @public
1696
+ */
1697
+ IfMatch: string | undefined;
1698
+ }
1699
+ /**
1700
+ * @public
1701
+ */
1702
+ export interface DeleteVpcOriginResult {
1703
+ /**
1704
+ * <p>The VPC origin.</p>
1705
+ * @public
1706
+ */
1707
+ VpcOrigin?: VpcOrigin | undefined;
1708
+ /**
1709
+ * <p>The VPC origin ETag.</p>
1710
+ * @public
1711
+ */
1712
+ ETag?: string | undefined;
1713
+ }
1360
1714
  /**
1361
1715
  * @public
1362
1716
  */
@@ -1412,6 +1766,31 @@ export interface DescribeKeyValueStoreResult {
1412
1766
  */
1413
1767
  ETag?: string | undefined;
1414
1768
  }
1769
+ /**
1770
+ * @public
1771
+ */
1772
+ export interface GetAnycastIpListRequest {
1773
+ /**
1774
+ * <p>The ID of the Anycast static IP list.</p>
1775
+ * @public
1776
+ */
1777
+ Id: string | undefined;
1778
+ }
1779
+ /**
1780
+ * @public
1781
+ */
1782
+ export interface GetAnycastIpListResult {
1783
+ /**
1784
+ * <p>The Anycast static IP list details.</p>
1785
+ * @public
1786
+ */
1787
+ AnycastIpList?: AnycastIpList | undefined;
1788
+ /**
1789
+ * <p>The version identifier for the current version of the Anycast static IP list.</p>
1790
+ * @public
1791
+ */
1792
+ ETag?: string | undefined;
1793
+ }
1415
1794
  /**
1416
1795
  * @public
1417
1796
  */
@@ -2191,6 +2570,59 @@ export interface GetStreamingDistributionConfigResult {
2191
2570
  */
2192
2571
  ETag?: string | undefined;
2193
2572
  }
2573
+ /**
2574
+ * @public
2575
+ */
2576
+ export interface GetVpcOriginRequest {
2577
+ /**
2578
+ * <p>The VPC origin ID.</p>
2579
+ * @public
2580
+ */
2581
+ Id: string | undefined;
2582
+ }
2583
+ /**
2584
+ * @public
2585
+ */
2586
+ export interface GetVpcOriginResult {
2587
+ /**
2588
+ * <p>The VPC origin.</p>
2589
+ * @public
2590
+ */
2591
+ VpcOrigin?: VpcOrigin | undefined;
2592
+ /**
2593
+ * <p>The VPC origin ETag.</p>
2594
+ * @public
2595
+ */
2596
+ ETag?: string | undefined;
2597
+ }
2598
+ /**
2599
+ * @public
2600
+ */
2601
+ export interface ListAnycastIpListsRequest {
2602
+ /**
2603
+ * <p>Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur
2604
+ * after the marker. To get the next page of the list, set this field's value to the value
2605
+ * of <code>NextMarker</code> from the current page's response.</p>
2606
+ * @public
2607
+ */
2608
+ Marker?: string | undefined;
2609
+ /**
2610
+ * <p>The maximum number of Anycast static IP lists that you want returned in the
2611
+ * response.</p>
2612
+ * @public
2613
+ */
2614
+ MaxItems?: number | undefined;
2615
+ }
2616
+ /**
2617
+ * @public
2618
+ */
2619
+ export interface ListAnycastIpListsResult {
2620
+ /**
2621
+ * <p>Root level tag for the <code>AnycastIpLists</code> parameters.</p>
2622
+ * @public
2623
+ */
2624
+ AnycastIpLists?: AnycastIpListCollection | undefined;
2625
+ }
2194
2626
  /**
2195
2627
  * @public
2196
2628
  */
@@ -2663,6 +3095,11 @@ export interface DistributionSummary {
2663
3095
  * @public
2664
3096
  */
2665
3097
  Staging: boolean | undefined;
3098
+ /**
3099
+ * <p>ID of the Anycast static IP list that is associated with the distribution.</p>
3100
+ * @public
3101
+ */
3102
+ AnycastIpListId?: string | undefined;
2666
3103
  }
2667
3104
  /**
2668
3105
  * <p>A distribution list.</p>
@@ -2717,6 +3154,39 @@ export interface ListDistributionsResult {
2717
3154
  */
2718
3155
  DistributionList?: DistributionList | undefined;
2719
3156
  }
3157
+ /**
3158
+ * @public
3159
+ */
3160
+ export interface ListDistributionsByAnycastIpListIdRequest {
3161
+ /**
3162
+ * <p>Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur
3163
+ * after the marker. To get the next page of the list, set this field's value to the value
3164
+ * of <code>NextMarker</code> from the current page's response.</p>
3165
+ * @public
3166
+ */
3167
+ Marker?: string | undefined;
3168
+ /**
3169
+ * <p>The maximum number of distributions that you want returned in the
3170
+ * response.</p>
3171
+ * @public
3172
+ */
3173
+ MaxItems?: number | undefined;
3174
+ /**
3175
+ * <p>The ID of the Anycast static IP list.</p>
3176
+ * @public
3177
+ */
3178
+ AnycastIpListId: string | undefined;
3179
+ }
3180
+ /**
3181
+ * @public
3182
+ */
3183
+ export interface ListDistributionsByAnycastIpListIdResult {
3184
+ /**
3185
+ * <p>A distribution list.</p>
3186
+ * @public
3187
+ */
3188
+ DistributionList?: DistributionList | undefined;
3189
+ }
2720
3190
  /**
2721
3191
  * @public
2722
3192
  */
@@ -2930,6 +3400,36 @@ export interface ListDistributionsByResponseHeadersPolicyIdResult {
2930
3400
  */
2931
3401
  DistributionIdList?: DistributionIdList | undefined;
2932
3402
  }
3403
+ /**
3404
+ * @public
3405
+ */
3406
+ export interface ListDistributionsByVpcOriginIdRequest {
3407
+ /**
3408
+ * <p>The marker associated with the VPC origin distributions list.</p>
3409
+ * @public
3410
+ */
3411
+ Marker?: string | undefined;
3412
+ /**
3413
+ * <p>The maximum number of items included in the list.</p>
3414
+ * @public
3415
+ */
3416
+ MaxItems?: number | undefined;
3417
+ /**
3418
+ * <p>The VPC origin ID.</p>
3419
+ * @public
3420
+ */
3421
+ VpcOriginId: string | undefined;
3422
+ }
3423
+ /**
3424
+ * @public
3425
+ */
3426
+ export interface ListDistributionsByVpcOriginIdResult {
3427
+ /**
3428
+ * <p>A list of distribution IDs.</p>
3429
+ * @public
3430
+ */
3431
+ DistributionIdList?: DistributionIdList | undefined;
3432
+ }
2933
3433
  /**
2934
3434
  * <p>The request to list distributions that are associated with a specified WAF web
2935
3435
  * ACL.</p>
@@ -4110,6 +4610,111 @@ export interface ListTagsForResourceResult {
4110
4610
  */
4111
4611
  Tags: Tags | undefined;
4112
4612
  }
4613
+ /**
4614
+ * @public
4615
+ */
4616
+ export interface ListVpcOriginsRequest {
4617
+ /**
4618
+ * <p>The marker associated with the VPC origins list.</p>
4619
+ * @public
4620
+ */
4621
+ Marker?: string | undefined;
4622
+ /**
4623
+ * <p>The maximum number of items included in the list.</p>
4624
+ * @public
4625
+ */
4626
+ MaxItems?: number | undefined;
4627
+ }
4628
+ /**
4629
+ * <p>A summary of the CloudFront VPC origin.</p>
4630
+ * @public
4631
+ */
4632
+ export interface VpcOriginSummary {
4633
+ /**
4634
+ * <p>The VPC origin summary ID.</p>
4635
+ * @public
4636
+ */
4637
+ Id: string | undefined;
4638
+ /**
4639
+ * <p>The VPC origin summary name.</p>
4640
+ * @public
4641
+ */
4642
+ Name: string | undefined;
4643
+ /**
4644
+ * <p>The VPC origin summary status.</p>
4645
+ * @public
4646
+ */
4647
+ Status: string | undefined;
4648
+ /**
4649
+ * <p>The VPC origin summary created time.</p>
4650
+ * @public
4651
+ */
4652
+ CreatedTime: Date | undefined;
4653
+ /**
4654
+ * <p>The VPC origin summary last modified time.</p>
4655
+ * @public
4656
+ */
4657
+ LastModifiedTime: Date | undefined;
4658
+ /**
4659
+ * <p>The VPC origin summary ARN.</p>
4660
+ * @public
4661
+ */
4662
+ Arn: string | undefined;
4663
+ /**
4664
+ * <p>The VPC origin summary origin endpoint ARN.</p>
4665
+ * @public
4666
+ */
4667
+ OriginEndpointArn: string | undefined;
4668
+ }
4669
+ /**
4670
+ * <p>A list of CloudFront VPC origins.</p>
4671
+ * @public
4672
+ */
4673
+ export interface VpcOriginList {
4674
+ /**
4675
+ * <p>The marker associated with the VPC origins list.</p>
4676
+ * @public
4677
+ */
4678
+ Marker: string | undefined;
4679
+ /**
4680
+ * <p>The next marker associated with the VPC origins list.</p>
4681
+ * @public
4682
+ */
4683
+ NextMarker?: string | undefined;
4684
+ /**
4685
+ * <p>The maximum number of items included in the list.</p>
4686
+ * @public
4687
+ */
4688
+ MaxItems: number | undefined;
4689
+ /**
4690
+ * <p>A flag that indicates whether more VPC origins remain to be listed. If
4691
+ * your results were truncated, you can make a follow-up pagination request using the
4692
+ * <code>Marker</code> request parameter to retrieve more VPC origins in the
4693
+ * list.</p>
4694
+ * @public
4695
+ */
4696
+ IsTruncated: boolean | undefined;
4697
+ /**
4698
+ * <p>The number of VPC origins in the list.</p>
4699
+ * @public
4700
+ */
4701
+ Quantity: number | undefined;
4702
+ /**
4703
+ * <p>The items of the VPC origins list.</p>
4704
+ * @public
4705
+ */
4706
+ Items?: VpcOriginSummary[] | undefined;
4707
+ }
4708
+ /**
4709
+ * @public
4710
+ */
4711
+ export interface ListVpcOriginsResult {
4712
+ /**
4713
+ * <p>List of VPC origins.</p>
4714
+ * @public
4715
+ */
4716
+ VpcOriginList?: VpcOriginList | undefined;
4717
+ }
4113
4718
  /**
4114
4719
  * @public
4115
4720
  */
@@ -4882,6 +5487,41 @@ export interface UpdateStreamingDistributionResult {
4882
5487
  */
4883
5488
  ETag?: string | undefined;
4884
5489
  }
5490
+ /**
5491
+ * @public
5492
+ */
5493
+ export interface UpdateVpcOriginRequest {
5494
+ /**
5495
+ * <p>The VPC origin endpoint configuration.</p>
5496
+ * @public
5497
+ */
5498
+ VpcOriginEndpointConfig: VpcOriginEndpointConfig | undefined;
5499
+ /**
5500
+ * <p>The VPC origin ID.</p>
5501
+ * @public
5502
+ */
5503
+ Id: string | undefined;
5504
+ /**
5505
+ * <p>The VPC origin to update, if a match occurs.</p>
5506
+ * @public
5507
+ */
5508
+ IfMatch: string | undefined;
5509
+ }
5510
+ /**
5511
+ * @public
5512
+ */
5513
+ export interface UpdateVpcOriginResult {
5514
+ /**
5515
+ * <p>The VPC origin.</p>
5516
+ * @public
5517
+ */
5518
+ VpcOrigin?: VpcOrigin | undefined;
5519
+ /**
5520
+ * <p>The VPC origin ETag.</p>
5521
+ * @public
5522
+ */
5523
+ ETag?: string | undefined;
5524
+ }
4885
5525
  /**
4886
5526
  * @internal
4887
5527
  */
@@ -4906,6 +5546,10 @@ export declare const DistributionListFilterSensitiveLog: (obj: DistributionList)
4906
5546
  * @internal
4907
5547
  */
4908
5548
  export declare const ListDistributionsResultFilterSensitiveLog: (obj: ListDistributionsResult) => any;
5549
+ /**
5550
+ * @internal
5551
+ */
5552
+ export declare const ListDistributionsByAnycastIpListIdResultFilterSensitiveLog: (obj: ListDistributionsByAnycastIpListIdResult) => any;
4909
5553
  /**
4910
5554
  * @internal
4911
5555
  */