@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
@@ -2,6 +2,7 @@ import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { CloudFrontClient } from "./CloudFrontClient";
3
3
  import { AssociateAliasCommand, } from "./commands/AssociateAliasCommand";
4
4
  import { CopyDistributionCommand, } from "./commands/CopyDistributionCommand";
5
+ import { CreateAnycastIpListCommand, } from "./commands/CreateAnycastIpListCommand";
5
6
  import { CreateCachePolicyCommand, } from "./commands/CreateCachePolicyCommand";
6
7
  import { CreateCloudFrontOriginAccessIdentityCommand, } from "./commands/CreateCloudFrontOriginAccessIdentityCommand";
7
8
  import { CreateContinuousDeploymentPolicyCommand, } from "./commands/CreateContinuousDeploymentPolicyCommand";
@@ -21,6 +22,8 @@ import { CreateRealtimeLogConfigCommand, } from "./commands/CreateRealtimeLogCon
21
22
  import { CreateResponseHeadersPolicyCommand, } from "./commands/CreateResponseHeadersPolicyCommand";
22
23
  import { CreateStreamingDistributionCommand, } from "./commands/CreateStreamingDistributionCommand";
23
24
  import { CreateStreamingDistributionWithTagsCommand, } from "./commands/CreateStreamingDistributionWithTagsCommand";
25
+ import { CreateVpcOriginCommand, } from "./commands/CreateVpcOriginCommand";
26
+ import { DeleteAnycastIpListCommand, } from "./commands/DeleteAnycastIpListCommand";
24
27
  import { DeleteCachePolicyCommand, } from "./commands/DeleteCachePolicyCommand";
25
28
  import { DeleteCloudFrontOriginAccessIdentityCommand, } from "./commands/DeleteCloudFrontOriginAccessIdentityCommand";
26
29
  import { DeleteContinuousDeploymentPolicyCommand, } from "./commands/DeleteContinuousDeploymentPolicyCommand";
@@ -37,8 +40,10 @@ import { DeletePublicKeyCommand, } from "./commands/DeletePublicKeyCommand";
37
40
  import { DeleteRealtimeLogConfigCommand, } from "./commands/DeleteRealtimeLogConfigCommand";
38
41
  import { DeleteResponseHeadersPolicyCommand, } from "./commands/DeleteResponseHeadersPolicyCommand";
39
42
  import { DeleteStreamingDistributionCommand, } from "./commands/DeleteStreamingDistributionCommand";
43
+ import { DeleteVpcOriginCommand, } from "./commands/DeleteVpcOriginCommand";
40
44
  import { DescribeFunctionCommand, } from "./commands/DescribeFunctionCommand";
41
45
  import { DescribeKeyValueStoreCommand, } from "./commands/DescribeKeyValueStoreCommand";
46
+ import { GetAnycastIpListCommand, } from "./commands/GetAnycastIpListCommand";
42
47
  import { GetCachePolicyCommand, } from "./commands/GetCachePolicyCommand";
43
48
  import { GetCachePolicyConfigCommand, } from "./commands/GetCachePolicyConfigCommand";
44
49
  import { GetCloudFrontOriginAccessIdentityCommand, } from "./commands/GetCloudFrontOriginAccessIdentityCommand";
@@ -67,15 +72,19 @@ import { GetResponseHeadersPolicyCommand, } from "./commands/GetResponseHeadersP
67
72
  import { GetResponseHeadersPolicyConfigCommand, } from "./commands/GetResponseHeadersPolicyConfigCommand";
68
73
  import { GetStreamingDistributionCommand, } from "./commands/GetStreamingDistributionCommand";
69
74
  import { GetStreamingDistributionConfigCommand, } from "./commands/GetStreamingDistributionConfigCommand";
75
+ import { GetVpcOriginCommand, } from "./commands/GetVpcOriginCommand";
76
+ import { ListAnycastIpListsCommand, } from "./commands/ListAnycastIpListsCommand";
70
77
  import { ListCachePoliciesCommand, } from "./commands/ListCachePoliciesCommand";
71
78
  import { ListCloudFrontOriginAccessIdentitiesCommand, } from "./commands/ListCloudFrontOriginAccessIdentitiesCommand";
72
79
  import { ListConflictingAliasesCommand, } from "./commands/ListConflictingAliasesCommand";
73
80
  import { ListContinuousDeploymentPoliciesCommand, } from "./commands/ListContinuousDeploymentPoliciesCommand";
81
+ import { ListDistributionsByAnycastIpListIdCommand, } from "./commands/ListDistributionsByAnycastIpListIdCommand";
74
82
  import { ListDistributionsByCachePolicyIdCommand, } from "./commands/ListDistributionsByCachePolicyIdCommand";
75
83
  import { ListDistributionsByKeyGroupCommand, } from "./commands/ListDistributionsByKeyGroupCommand";
76
84
  import { ListDistributionsByOriginRequestPolicyIdCommand, } from "./commands/ListDistributionsByOriginRequestPolicyIdCommand";
77
85
  import { ListDistributionsByRealtimeLogConfigCommand, } from "./commands/ListDistributionsByRealtimeLogConfigCommand";
78
86
  import { ListDistributionsByResponseHeadersPolicyIdCommand, } from "./commands/ListDistributionsByResponseHeadersPolicyIdCommand";
87
+ import { ListDistributionsByVpcOriginIdCommand, } from "./commands/ListDistributionsByVpcOriginIdCommand";
79
88
  import { ListDistributionsByWebACLIdCommand, } from "./commands/ListDistributionsByWebACLIdCommand";
80
89
  import { ListDistributionsCommand, } from "./commands/ListDistributionsCommand";
81
90
  import { ListFieldLevelEncryptionConfigsCommand, } from "./commands/ListFieldLevelEncryptionConfigsCommand";
@@ -91,6 +100,7 @@ import { ListRealtimeLogConfigsCommand, } from "./commands/ListRealtimeLogConfig
91
100
  import { ListResponseHeadersPoliciesCommand, } from "./commands/ListResponseHeadersPoliciesCommand";
92
101
  import { ListStreamingDistributionsCommand, } from "./commands/ListStreamingDistributionsCommand";
93
102
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
103
+ import { ListVpcOriginsCommand, } from "./commands/ListVpcOriginsCommand";
94
104
  import { PublishFunctionCommand, } from "./commands/PublishFunctionCommand";
95
105
  import { TagResourceCommand } from "./commands/TagResourceCommand";
96
106
  import { TestFunctionCommand, } from "./commands/TestFunctionCommand";
@@ -111,9 +121,11 @@ import { UpdatePublicKeyCommand, } from "./commands/UpdatePublicKeyCommand";
111
121
  import { UpdateRealtimeLogConfigCommand, } from "./commands/UpdateRealtimeLogConfigCommand";
112
122
  import { UpdateResponseHeadersPolicyCommand, } from "./commands/UpdateResponseHeadersPolicyCommand";
113
123
  import { UpdateStreamingDistributionCommand, } from "./commands/UpdateStreamingDistributionCommand";
124
+ import { UpdateVpcOriginCommand, } from "./commands/UpdateVpcOriginCommand";
114
125
  const commands = {
115
126
  AssociateAliasCommand,
116
127
  CopyDistributionCommand,
128
+ CreateAnycastIpListCommand,
117
129
  CreateCachePolicyCommand,
118
130
  CreateCloudFrontOriginAccessIdentityCommand,
119
131
  CreateContinuousDeploymentPolicyCommand,
@@ -133,6 +145,8 @@ const commands = {
133
145
  CreateResponseHeadersPolicyCommand,
134
146
  CreateStreamingDistributionCommand,
135
147
  CreateStreamingDistributionWithTagsCommand,
148
+ CreateVpcOriginCommand,
149
+ DeleteAnycastIpListCommand,
136
150
  DeleteCachePolicyCommand,
137
151
  DeleteCloudFrontOriginAccessIdentityCommand,
138
152
  DeleteContinuousDeploymentPolicyCommand,
@@ -149,8 +163,10 @@ const commands = {
149
163
  DeleteRealtimeLogConfigCommand,
150
164
  DeleteResponseHeadersPolicyCommand,
151
165
  DeleteStreamingDistributionCommand,
166
+ DeleteVpcOriginCommand,
152
167
  DescribeFunctionCommand,
153
168
  DescribeKeyValueStoreCommand,
169
+ GetAnycastIpListCommand,
154
170
  GetCachePolicyCommand,
155
171
  GetCachePolicyConfigCommand,
156
172
  GetCloudFrontOriginAccessIdentityCommand,
@@ -179,16 +195,20 @@ const commands = {
179
195
  GetResponseHeadersPolicyConfigCommand,
180
196
  GetStreamingDistributionCommand,
181
197
  GetStreamingDistributionConfigCommand,
198
+ GetVpcOriginCommand,
199
+ ListAnycastIpListsCommand,
182
200
  ListCachePoliciesCommand,
183
201
  ListCloudFrontOriginAccessIdentitiesCommand,
184
202
  ListConflictingAliasesCommand,
185
203
  ListContinuousDeploymentPoliciesCommand,
186
204
  ListDistributionsCommand,
205
+ ListDistributionsByAnycastIpListIdCommand,
187
206
  ListDistributionsByCachePolicyIdCommand,
188
207
  ListDistributionsByKeyGroupCommand,
189
208
  ListDistributionsByOriginRequestPolicyIdCommand,
190
209
  ListDistributionsByRealtimeLogConfigCommand,
191
210
  ListDistributionsByResponseHeadersPolicyIdCommand,
211
+ ListDistributionsByVpcOriginIdCommand,
192
212
  ListDistributionsByWebACLIdCommand,
193
213
  ListFieldLevelEncryptionConfigsCommand,
194
214
  ListFieldLevelEncryptionProfilesCommand,
@@ -203,6 +223,7 @@ const commands = {
203
223
  ListResponseHeadersPoliciesCommand,
204
224
  ListStreamingDistributionsCommand,
205
225
  ListTagsForResourceCommand,
226
+ ListVpcOriginsCommand,
206
227
  PublishFunctionCommand,
207
228
  TagResourceCommand,
208
229
  TestFunctionCommand,
@@ -223,6 +244,7 @@ const commands = {
223
244
  UpdateRealtimeLogConfigCommand,
224
245
  UpdateResponseHeadersPolicyCommand,
225
246
  UpdateStreamingDistributionCommand,
247
+ UpdateVpcOriginCommand,
226
248
  };
227
249
  export class CloudFront extends CloudFrontClient {
228
250
  }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateAnycastIpListCommand, se_CreateAnycastIpListCommand } from "../protocols/Aws_restXml";
6
+ export { $Command };
7
+ export class CreateAnycastIpListCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Cloudfront2020_05_31", "CreateAnycastIpList", {})
17
+ .n("CloudFrontClient", "CreateAnycastIpListCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateAnycastIpListCommand)
20
+ .de(de_CreateAnycastIpListCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateVpcOriginCommand, se_CreateVpcOriginCommand } from "../protocols/Aws_restXml";
6
+ export { $Command };
7
+ export class CreateVpcOriginCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Cloudfront2020_05_31", "CreateVpcOrigin", {})
17
+ .n("CloudFrontClient", "CreateVpcOriginCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateVpcOriginCommand)
20
+ .de(de_CreateVpcOriginCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteAnycastIpListCommand, se_DeleteAnycastIpListCommand } from "../protocols/Aws_restXml";
6
+ export { $Command };
7
+ export class DeleteAnycastIpListCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Cloudfront2020_05_31", "DeleteAnycastIpList", {})
17
+ .n("CloudFrontClient", "DeleteAnycastIpListCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteAnycastIpListCommand)
20
+ .de(de_DeleteAnycastIpListCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteVpcOriginCommand, se_DeleteVpcOriginCommand } from "../protocols/Aws_restXml";
6
+ export { $Command };
7
+ export class DeleteVpcOriginCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Cloudfront2020_05_31", "DeleteVpcOrigin", {})
17
+ .n("CloudFrontClient", "DeleteVpcOriginCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteVpcOriginCommand)
20
+ .de(de_DeleteVpcOriginCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetAnycastIpListCommand, se_GetAnycastIpListCommand } from "../protocols/Aws_restXml";
6
+ export { $Command };
7
+ export class GetAnycastIpListCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Cloudfront2020_05_31", "GetAnycastIpList", {})
17
+ .n("CloudFrontClient", "GetAnycastIpListCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetAnycastIpListCommand)
20
+ .de(de_GetAnycastIpListCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetVpcOriginCommand, se_GetVpcOriginCommand } from "../protocols/Aws_restXml";
6
+ export { $Command };
7
+ export class GetVpcOriginCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Cloudfront2020_05_31", "GetVpcOrigin", {})
17
+ .n("CloudFrontClient", "GetVpcOriginCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetVpcOriginCommand)
20
+ .de(de_GetVpcOriginCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListAnycastIpListsCommand, se_ListAnycastIpListsCommand } from "../protocols/Aws_restXml";
6
+ export { $Command };
7
+ export class ListAnycastIpListsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Cloudfront2020_05_31", "ListAnycastIpLists", {})
17
+ .n("CloudFrontClient", "ListAnycastIpListsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListAnycastIpListsCommand)
20
+ .de(de_ListAnycastIpListsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { ListDistributionsByAnycastIpListIdResultFilterSensitiveLog, } from "../models/models_1";
6
+ import { de_ListDistributionsByAnycastIpListIdCommand, se_ListDistributionsByAnycastIpListIdCommand, } from "../protocols/Aws_restXml";
7
+ export { $Command };
8
+ export class ListDistributionsByAnycastIpListIdCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("Cloudfront2020_05_31", "ListDistributionsByAnycastIpListId", {})
18
+ .n("CloudFrontClient", "ListDistributionsByAnycastIpListIdCommand")
19
+ .f(void 0, ListDistributionsByAnycastIpListIdResultFilterSensitiveLog)
20
+ .ser(se_ListDistributionsByAnycastIpListIdCommand)
21
+ .de(de_ListDistributionsByAnycastIpListIdCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListDistributionsByVpcOriginIdCommand, se_ListDistributionsByVpcOriginIdCommand, } from "../protocols/Aws_restXml";
6
+ export { $Command };
7
+ export class ListDistributionsByVpcOriginIdCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Cloudfront2020_05_31", "ListDistributionsByVpcOriginId", {})
17
+ .n("CloudFrontClient", "ListDistributionsByVpcOriginIdCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListDistributionsByVpcOriginIdCommand)
20
+ .de(de_ListDistributionsByVpcOriginIdCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListVpcOriginsCommand, se_ListVpcOriginsCommand } from "../protocols/Aws_restXml";
6
+ export { $Command };
7
+ export class ListVpcOriginsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Cloudfront2020_05_31", "ListVpcOrigins", {})
17
+ .n("CloudFrontClient", "ListVpcOriginsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListVpcOriginsCommand)
20
+ .de(de_ListVpcOriginsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateVpcOriginCommand, se_UpdateVpcOriginCommand } from "../protocols/Aws_restXml";
6
+ export { $Command };
7
+ export class UpdateVpcOriginCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Cloudfront2020_05_31", "UpdateVpcOrigin", {})
17
+ .n("CloudFrontClient", "UpdateVpcOriginCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateVpcOriginCommand)
20
+ .de(de_UpdateVpcOriginCommand)
21
+ .build() {
22
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./AssociateAliasCommand";
2
2
  export * from "./CopyDistributionCommand";
3
+ export * from "./CreateAnycastIpListCommand";
3
4
  export * from "./CreateCachePolicyCommand";
4
5
  export * from "./CreateCloudFrontOriginAccessIdentityCommand";
5
6
  export * from "./CreateContinuousDeploymentPolicyCommand";
@@ -19,6 +20,8 @@ export * from "./CreateRealtimeLogConfigCommand";
19
20
  export * from "./CreateResponseHeadersPolicyCommand";
20
21
  export * from "./CreateStreamingDistributionCommand";
21
22
  export * from "./CreateStreamingDistributionWithTagsCommand";
23
+ export * from "./CreateVpcOriginCommand";
24
+ export * from "./DeleteAnycastIpListCommand";
22
25
  export * from "./DeleteCachePolicyCommand";
23
26
  export * from "./DeleteCloudFrontOriginAccessIdentityCommand";
24
27
  export * from "./DeleteContinuousDeploymentPolicyCommand";
@@ -35,8 +38,10 @@ export * from "./DeletePublicKeyCommand";
35
38
  export * from "./DeleteRealtimeLogConfigCommand";
36
39
  export * from "./DeleteResponseHeadersPolicyCommand";
37
40
  export * from "./DeleteStreamingDistributionCommand";
41
+ export * from "./DeleteVpcOriginCommand";
38
42
  export * from "./DescribeFunctionCommand";
39
43
  export * from "./DescribeKeyValueStoreCommand";
44
+ export * from "./GetAnycastIpListCommand";
40
45
  export * from "./GetCachePolicyCommand";
41
46
  export * from "./GetCachePolicyConfigCommand";
42
47
  export * from "./GetCloudFrontOriginAccessIdentityCommand";
@@ -65,15 +70,19 @@ export * from "./GetResponseHeadersPolicyCommand";
65
70
  export * from "./GetResponseHeadersPolicyConfigCommand";
66
71
  export * from "./GetStreamingDistributionCommand";
67
72
  export * from "./GetStreamingDistributionConfigCommand";
73
+ export * from "./GetVpcOriginCommand";
74
+ export * from "./ListAnycastIpListsCommand";
68
75
  export * from "./ListCachePoliciesCommand";
69
76
  export * from "./ListCloudFrontOriginAccessIdentitiesCommand";
70
77
  export * from "./ListConflictingAliasesCommand";
71
78
  export * from "./ListContinuousDeploymentPoliciesCommand";
79
+ export * from "./ListDistributionsByAnycastIpListIdCommand";
72
80
  export * from "./ListDistributionsByCachePolicyIdCommand";
73
81
  export * from "./ListDistributionsByKeyGroupCommand";
74
82
  export * from "./ListDistributionsByOriginRequestPolicyIdCommand";
75
83
  export * from "./ListDistributionsByRealtimeLogConfigCommand";
76
84
  export * from "./ListDistributionsByResponseHeadersPolicyIdCommand";
85
+ export * from "./ListDistributionsByVpcOriginIdCommand";
77
86
  export * from "./ListDistributionsByWebACLIdCommand";
78
87
  export * from "./ListDistributionsCommand";
79
88
  export * from "./ListFieldLevelEncryptionConfigsCommand";
@@ -89,6 +98,7 @@ export * from "./ListRealtimeLogConfigsCommand";
89
98
  export * from "./ListResponseHeadersPoliciesCommand";
90
99
  export * from "./ListStreamingDistributionsCommand";
91
100
  export * from "./ListTagsForResourceCommand";
101
+ export * from "./ListVpcOriginsCommand";
92
102
  export * from "./PublishFunctionCommand";
93
103
  export * from "./TagResourceCommand";
94
104
  export * from "./TestFunctionCommand";
@@ -109,3 +119,4 @@ export * from "./UpdatePublicKeyCommand";
109
119
  export * from "./UpdateRealtimeLogConfigCommand";
110
120
  export * from "./UpdateResponseHeadersPolicyCommand";
111
121
  export * from "./UpdateStreamingDistributionCommand";
122
+ export * from "./UpdateVpcOriginCommand";
@@ -190,6 +190,19 @@ export class CannotDeleteEntityWhileInUse extends __BaseException {
190
190
  this.Message = opts.Message;
191
191
  }
192
192
  }
193
+ export class CannotUpdateEntityWhileInUse extends __BaseException {
194
+ constructor(opts) {
195
+ super({
196
+ name: "CannotUpdateEntityWhileInUse",
197
+ $fault: "client",
198
+ ...opts,
199
+ });
200
+ this.name = "CannotUpdateEntityWhileInUse";
201
+ this.$fault = "client";
202
+ Object.setPrototypeOf(this, CannotUpdateEntityWhileInUse.prototype);
203
+ this.Message = opts.Message;
204
+ }
205
+ }
193
206
  export const CertificateSource = {
194
207
  acm: "acm",
195
208
  cloudfront: "cloudfront",
@@ -214,6 +227,10 @@ export const HttpVersion = {
214
227
  http2and3: "http2and3",
215
228
  http3: "http3",
216
229
  };
230
+ export const OriginGroupSelectionCriteria = {
231
+ Default: "default",
232
+ MediaQualityBased: "media-quality-based",
233
+ };
217
234
  export const OriginProtocolPolicy = {
218
235
  http_only: "http-only",
219
236
  https_only: "https-only",
@@ -1016,6 +1033,58 @@ export class TrustedSignerDoesNotExist extends __BaseException {
1016
1033
  this.Message = opts.Message;
1017
1034
  }
1018
1035
  }
1036
+ export class EntityAlreadyExists extends __BaseException {
1037
+ constructor(opts) {
1038
+ super({
1039
+ name: "EntityAlreadyExists",
1040
+ $fault: "client",
1041
+ ...opts,
1042
+ });
1043
+ this.name = "EntityAlreadyExists";
1044
+ this.$fault = "client";
1045
+ Object.setPrototypeOf(this, EntityAlreadyExists.prototype);
1046
+ this.Message = opts.Message;
1047
+ }
1048
+ }
1049
+ export class EntityLimitExceeded extends __BaseException {
1050
+ constructor(opts) {
1051
+ super({
1052
+ name: "EntityLimitExceeded",
1053
+ $fault: "client",
1054
+ ...opts,
1055
+ });
1056
+ this.name = "EntityLimitExceeded";
1057
+ this.$fault = "client";
1058
+ Object.setPrototypeOf(this, EntityLimitExceeded.prototype);
1059
+ this.Message = opts.Message;
1060
+ }
1061
+ }
1062
+ export class InvalidTagging extends __BaseException {
1063
+ constructor(opts) {
1064
+ super({
1065
+ name: "InvalidTagging",
1066
+ $fault: "client",
1067
+ ...opts,
1068
+ });
1069
+ this.name = "InvalidTagging";
1070
+ this.$fault = "client";
1071
+ Object.setPrototypeOf(this, InvalidTagging.prototype);
1072
+ this.Message = opts.Message;
1073
+ }
1074
+ }
1075
+ export class UnsupportedOperation extends __BaseException {
1076
+ constructor(opts) {
1077
+ super({
1078
+ name: "UnsupportedOperation",
1079
+ $fault: "client",
1080
+ ...opts,
1081
+ });
1082
+ this.name = "UnsupportedOperation";
1083
+ this.$fault = "client";
1084
+ Object.setPrototypeOf(this, UnsupportedOperation.prototype);
1085
+ this.Message = opts.Message;
1086
+ }
1087
+ }
1019
1088
  export class TooManyCachePolicies extends __BaseException {
1020
1089
  constructor(opts) {
1021
1090
  super({
@@ -1150,6 +1219,19 @@ export class ContinuousDeploymentPolicyInUse extends __BaseException {
1150
1219
  this.Message = opts.Message;
1151
1220
  }
1152
1221
  }
1222
+ export class EntityNotFound extends __BaseException {
1223
+ constructor(opts) {
1224
+ super({
1225
+ name: "EntityNotFound",
1226
+ $fault: "client",
1227
+ ...opts,
1228
+ });
1229
+ this.name = "EntityNotFound";
1230
+ this.$fault = "client";
1231
+ Object.setPrototypeOf(this, EntityNotFound.prototype);
1232
+ this.Message = opts.Message;
1233
+ }
1234
+ }
1153
1235
  export class IllegalOriginAccessConfiguration extends __BaseException {
1154
1236
  constructor(opts) {
1155
1237
  super({
@@ -1189,19 +1271,6 @@ export class NoSuchContinuousDeploymentPolicy extends __BaseException {
1189
1271
  this.Message = opts.Message;
1190
1272
  }
1191
1273
  }
1192
- export class InvalidTagging extends __BaseException {
1193
- constructor(opts) {
1194
- super({
1195
- name: "InvalidTagging",
1196
- $fault: "client",
1197
- ...opts,
1198
- });
1199
- this.name = "InvalidTagging";
1200
- this.$fault = "client";
1201
- Object.setPrototypeOf(this, InvalidTagging.prototype);
1202
- this.Message = opts.Message;
1203
- }
1204
- }
1205
1274
  export const Format = {
1206
1275
  URLEncoded: "URLEncoded",
1207
1276
  };
@@ -1408,19 +1477,6 @@ export class TooManyFunctions extends __BaseException {
1408
1477
  this.Message = opts.Message;
1409
1478
  }
1410
1479
  }
1411
- export class UnsupportedOperation extends __BaseException {
1412
- constructor(opts) {
1413
- super({
1414
- name: "UnsupportedOperation",
1415
- $fault: "client",
1416
- ...opts,
1417
- });
1418
- this.name = "UnsupportedOperation";
1419
- this.$fault = "client";
1420
- Object.setPrototypeOf(this, UnsupportedOperation.prototype);
1421
- this.Message = opts.Message;
1422
- }
1423
- }
1424
1480
  export class TooManyInvalidationsInProgress extends __BaseException {
1425
1481
  constructor(opts) {
1426
1482
  super({
@@ -1476,32 +1532,6 @@ export class TooManyPublicKeysInKeyGroup extends __BaseException {
1476
1532
  export const ImportSourceType = {
1477
1533
  S3: "S3",
1478
1534
  };
1479
- export class EntityAlreadyExists extends __BaseException {
1480
- constructor(opts) {
1481
- super({
1482
- name: "EntityAlreadyExists",
1483
- $fault: "client",
1484
- ...opts,
1485
- });
1486
- this.name = "EntityAlreadyExists";
1487
- this.$fault = "client";
1488
- Object.setPrototypeOf(this, EntityAlreadyExists.prototype);
1489
- this.Message = opts.Message;
1490
- }
1491
- }
1492
- export class EntityLimitExceeded extends __BaseException {
1493
- constructor(opts) {
1494
- super({
1495
- name: "EntityLimitExceeded",
1496
- $fault: "client",
1497
- ...opts,
1498
- });
1499
- this.name = "EntityLimitExceeded";
1500
- this.$fault = "client";
1501
- Object.setPrototypeOf(this, EntityLimitExceeded.prototype);
1502
- this.Message = opts.Message;
1503
- }
1504
- }
1505
1535
  export class EntitySizeLimitExceeded extends __BaseException {
1506
1536
  constructor(opts) {
1507
1537
  super({
@@ -249,19 +249,6 @@ export class ResourceInUse extends __BaseException {
249
249
  this.Message = opts.Message;
250
250
  }
251
251
  }
252
- export class EntityNotFound extends __BaseException {
253
- constructor(opts) {
254
- super({
255
- name: "EntityNotFound",
256
- $fault: "client",
257
- ...opts,
258
- });
259
- this.name = "EntityNotFound";
260
- this.$fault = "client";
261
- Object.setPrototypeOf(this, EntityNotFound.prototype);
262
- this.Message = opts.Message;
263
- }
264
- }
265
252
  export class NoSuchMonitoringSubscription extends __BaseException {
266
253
  constructor(opts) {
267
254
  super({
@@ -434,6 +421,9 @@ export const DistributionListFilterSensitiveLog = (obj) => ({
434
421
  export const ListDistributionsResultFilterSensitiveLog = (obj) => ({
435
422
  ...obj,
436
423
  });
424
+ export const ListDistributionsByAnycastIpListIdResultFilterSensitiveLog = (obj) => ({
425
+ ...obj,
426
+ });
437
427
  export const ListDistributionsByRealtimeLogConfigResultFilterSensitiveLog = (obj) => ({
438
428
  ...obj,
439
429
  });