@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
@@ -90,6 +90,9 @@ declare const CreateDistributionWithTagsCommand_base: {
90
90
  * OriginReadTimeout: Number("int"),
91
91
  * OriginKeepaliveTimeout: Number("int"),
92
92
  * },
93
+ * VpcOriginConfig: { // VpcOriginConfig
94
+ * VpcOriginId: "STRING_VALUE", // required
95
+ * },
93
96
  * ConnectionAttempts: Number("int"),
94
97
  * ConnectionTimeout: Number("int"),
95
98
  * OriginShield: { // OriginShield
@@ -121,6 +124,7 @@ declare const CreateDistributionWithTagsCommand_base: {
121
124
  * },
122
125
  * ],
123
126
  * },
127
+ * SelectionCriteria: "default" || "media-quality-based",
124
128
  * },
125
129
  * ],
126
130
  * },
@@ -179,6 +183,9 @@ declare const CreateDistributionWithTagsCommand_base: {
179
183
  * CachePolicyId: "STRING_VALUE",
180
184
  * OriginRequestPolicyId: "STRING_VALUE",
181
185
  * ResponseHeadersPolicyId: "STRING_VALUE",
186
+ * GrpcConfig: { // GrpcConfig
187
+ * Enabled: true || false, // required
188
+ * },
182
189
  * ForwardedValues: { // ForwardedValues
183
190
  * QueryString: true || false, // required
184
191
  * Cookies: { // CookiePreference
@@ -262,6 +269,9 @@ declare const CreateDistributionWithTagsCommand_base: {
262
269
  * CachePolicyId: "STRING_VALUE",
263
270
  * OriginRequestPolicyId: "STRING_VALUE",
264
271
  * ResponseHeadersPolicyId: "STRING_VALUE",
272
+ * GrpcConfig: {
273
+ * Enabled: true || false, // required
274
+ * },
265
275
  * ForwardedValues: {
266
276
  * QueryString: true || false, // required
267
277
  * Cookies: {
@@ -305,10 +315,10 @@ declare const CreateDistributionWithTagsCommand_base: {
305
315
  * },
306
316
  * Comment: "STRING_VALUE", // required
307
317
  * Logging: { // LoggingConfig
308
- * Enabled: true || false, // required
309
- * IncludeCookies: true || false, // required
310
- * Bucket: "STRING_VALUE", // required
311
- * Prefix: "STRING_VALUE", // required
318
+ * Enabled: true || false,
319
+ * IncludeCookies: true || false,
320
+ * Bucket: "STRING_VALUE",
321
+ * Prefix: "STRING_VALUE",
312
322
  * },
313
323
  * PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
314
324
  * Enabled: true || false, // required
@@ -335,6 +345,7 @@ declare const CreateDistributionWithTagsCommand_base: {
335
345
  * IsIPV6Enabled: true || false,
336
346
  * ContinuousDeploymentPolicyId: "STRING_VALUE",
337
347
  * Staging: true || false,
348
+ * AnycastIpListId: "STRING_VALUE",
338
349
  * },
339
350
  * Tags: { // Tags
340
351
  * Items: [ // TagList
@@ -427,6 +438,9 @@ declare const CreateDistributionWithTagsCommand_base: {
427
438
  * // OriginReadTimeout: Number("int"),
428
439
  * // OriginKeepaliveTimeout: Number("int"),
429
440
  * // },
441
+ * // VpcOriginConfig: { // VpcOriginConfig
442
+ * // VpcOriginId: "STRING_VALUE", // required
443
+ * // },
430
444
  * // ConnectionAttempts: Number("int"),
431
445
  * // ConnectionTimeout: Number("int"),
432
446
  * // OriginShield: { // OriginShield
@@ -458,6 +472,7 @@ declare const CreateDistributionWithTagsCommand_base: {
458
472
  * // },
459
473
  * // ],
460
474
  * // },
475
+ * // SelectionCriteria: "default" || "media-quality-based",
461
476
  * // },
462
477
  * // ],
463
478
  * // },
@@ -516,6 +531,9 @@ declare const CreateDistributionWithTagsCommand_base: {
516
531
  * // CachePolicyId: "STRING_VALUE",
517
532
  * // OriginRequestPolicyId: "STRING_VALUE",
518
533
  * // ResponseHeadersPolicyId: "STRING_VALUE",
534
+ * // GrpcConfig: { // GrpcConfig
535
+ * // Enabled: true || false, // required
536
+ * // },
519
537
  * // ForwardedValues: { // ForwardedValues
520
538
  * // QueryString: true || false, // required
521
539
  * // Cookies: { // CookiePreference
@@ -599,6 +617,9 @@ declare const CreateDistributionWithTagsCommand_base: {
599
617
  * // CachePolicyId: "STRING_VALUE",
600
618
  * // OriginRequestPolicyId: "STRING_VALUE",
601
619
  * // ResponseHeadersPolicyId: "STRING_VALUE",
620
+ * // GrpcConfig: {
621
+ * // Enabled: true || false, // required
622
+ * // },
602
623
  * // ForwardedValues: {
603
624
  * // QueryString: true || false, // required
604
625
  * // Cookies: {
@@ -642,10 +663,10 @@ declare const CreateDistributionWithTagsCommand_base: {
642
663
  * // },
643
664
  * // Comment: "STRING_VALUE", // required
644
665
  * // Logging: { // LoggingConfig
645
- * // Enabled: true || false, // required
646
- * // IncludeCookies: true || false, // required
647
- * // Bucket: "STRING_VALUE", // required
648
- * // Prefix: "STRING_VALUE", // required
666
+ * // Enabled: true || false,
667
+ * // IncludeCookies: true || false,
668
+ * // Bucket: "STRING_VALUE",
669
+ * // Prefix: "STRING_VALUE",
649
670
  * // },
650
671
  * // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
651
672
  * // Enabled: true || false, // required
@@ -672,6 +693,7 @@ declare const CreateDistributionWithTagsCommand_base: {
672
693
  * // IsIPV6Enabled: true || false,
673
694
  * // ContinuousDeploymentPolicyId: "STRING_VALUE",
674
695
  * // Staging: true || false,
696
+ * // AnycastIpListId: "STRING_VALUE",
675
697
  * // },
676
698
  * // AliasICPRecordals: [ // AliasICPRecordals
677
699
  * // { // AliasICPRecordal
@@ -706,6 +728,9 @@ declare const CreateDistributionWithTagsCommand_base: {
706
728
  * <p>The caller reference you attempted to create the distribution with is associated with
707
729
  * another distribution.</p>
708
730
  *
731
+ * @throws {@link EntityNotFound} (client fault)
732
+ * <p>The entity was not found.</p>
733
+ *
709
734
  * @throws {@link IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior} (client fault)
710
735
  * <p>The specified configuration for field-level encryption can't be associated with the
711
736
  * specified cache behavior.</p>
@@ -69,14 +69,14 @@ declare const CreateKeyValueStoreCommand_base: {
69
69
  * <p>Access denied.</p>
70
70
  *
71
71
  * @throws {@link EntityAlreadyExists} (client fault)
72
- * <p>The key value store entity already exists. You must provide a unique key value store
72
+ * <p>The entity already exists. You must provide a unique
73
73
  * entity.</p>
74
74
  *
75
75
  * @throws {@link EntityLimitExceeded} (client fault)
76
- * <p>The key value store entity limit has been exceeded.</p>
76
+ * <p>The entity limit has been exceeded.</p>
77
77
  *
78
78
  * @throws {@link EntitySizeLimitExceeded} (client fault)
79
- * <p>The key value store entity size limit was exceeded.</p>
79
+ * <p>The entity size limit was exceeded.</p>
80
80
  *
81
81
  * @throws {@link InvalidArgument} (client fault)
82
82
  * <p>An argument is invalid.</p>
@@ -94,7 +94,7 @@ declare const CreateKeyValueStoreCommand_base: {
94
94
  * const input = {
95
95
  * "Comment": "my-key-valuestore-comment",
96
96
  * "ImportSource": {
97
- * "SourceARN": "arn:aws:s3:::my-bucket/validJSON.json",
97
+ * "SourceARN": "arn:aws:s3:::amzn-s3-demo-bucket/validJSON.json",
98
98
  * "SourceType": "S3"
99
99
  * },
100
100
  * "Name": "my-keyvaluestore-name"
@@ -0,0 +1,186 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { CreateVpcOriginRequest, CreateVpcOriginResult } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateVpcOriginCommand}.
14
+ */
15
+ export interface CreateVpcOriginCommandInput extends CreateVpcOriginRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateVpcOriginCommand}.
21
+ */
22
+ export interface CreateVpcOriginCommandOutput extends CreateVpcOriginResult, __MetadataBearer {
23
+ }
24
+ declare const CreateVpcOriginCommand_base: {
25
+ new (input: CreateVpcOriginCommandInput): import("@smithy/smithy-client").CommandImpl<CreateVpcOriginCommandInput, CreateVpcOriginCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateVpcOriginCommandInput): import("@smithy/smithy-client").CommandImpl<CreateVpcOriginCommandInput, CreateVpcOriginCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Create an Amazon CloudFront VPC origin.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, CreateVpcOriginCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, CreateVpcOriginCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
+ * const client = new CloudFrontClient(config);
37
+ * const input = { // CreateVpcOriginRequest
38
+ * VpcOriginEndpointConfig: { // VpcOriginEndpointConfig
39
+ * Name: "STRING_VALUE", // required
40
+ * Arn: "STRING_VALUE", // required
41
+ * HTTPPort: Number("int"), // required
42
+ * HTTPSPort: Number("int"), // required
43
+ * OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required
44
+ * OriginSslProtocols: { // OriginSslProtocols
45
+ * Quantity: Number("int"), // required
46
+ * Items: [ // SslProtocolsList // required
47
+ * "SSLv3" || "TLSv1" || "TLSv1.1" || "TLSv1.2",
48
+ * ],
49
+ * },
50
+ * },
51
+ * Tags: { // Tags
52
+ * Items: [ // TagList
53
+ * { // Tag
54
+ * Key: "STRING_VALUE", // required
55
+ * Value: "STRING_VALUE",
56
+ * },
57
+ * ],
58
+ * },
59
+ * };
60
+ * const command = new CreateVpcOriginCommand(input);
61
+ * const response = await client.send(command);
62
+ * // { // CreateVpcOriginResult
63
+ * // VpcOrigin: { // VpcOrigin
64
+ * // Id: "STRING_VALUE", // required
65
+ * // Arn: "STRING_VALUE", // required
66
+ * // Status: "STRING_VALUE", // required
67
+ * // CreatedTime: new Date("TIMESTAMP"), // required
68
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
69
+ * // VpcOriginEndpointConfig: { // VpcOriginEndpointConfig
70
+ * // Name: "STRING_VALUE", // required
71
+ * // Arn: "STRING_VALUE", // required
72
+ * // HTTPPort: Number("int"), // required
73
+ * // HTTPSPort: Number("int"), // required
74
+ * // OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required
75
+ * // OriginSslProtocols: { // OriginSslProtocols
76
+ * // Quantity: Number("int"), // required
77
+ * // Items: [ // SslProtocolsList // required
78
+ * // "SSLv3" || "TLSv1" || "TLSv1.1" || "TLSv1.2",
79
+ * // ],
80
+ * // },
81
+ * // },
82
+ * // },
83
+ * // Location: "STRING_VALUE",
84
+ * // ETag: "STRING_VALUE",
85
+ * // };
86
+ *
87
+ * ```
88
+ *
89
+ * @param CreateVpcOriginCommandInput - {@link CreateVpcOriginCommandInput}
90
+ * @returns {@link CreateVpcOriginCommandOutput}
91
+ * @see {@link CreateVpcOriginCommandInput} for command's `input` shape.
92
+ * @see {@link CreateVpcOriginCommandOutput} for command's `response` shape.
93
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
94
+ *
95
+ * @throws {@link AccessDenied} (client fault)
96
+ * <p>Access denied.</p>
97
+ *
98
+ * @throws {@link EntityAlreadyExists} (client fault)
99
+ * <p>The entity already exists. You must provide a unique
100
+ * entity.</p>
101
+ *
102
+ * @throws {@link EntityLimitExceeded} (client fault)
103
+ * <p>The entity limit has been exceeded.</p>
104
+ *
105
+ * @throws {@link InconsistentQuantities} (client fault)
106
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
107
+ * match.</p>
108
+ *
109
+ * @throws {@link InvalidArgument} (client fault)
110
+ * <p>An argument is invalid.</p>
111
+ *
112
+ * @throws {@link InvalidTagging} (client fault)
113
+ * <p>The tagging specified is not valid.</p>
114
+ *
115
+ * @throws {@link UnsupportedOperation} (client fault)
116
+ * <p>This operation is not supported in this region.</p>
117
+ *
118
+ * @throws {@link CloudFrontServiceException}
119
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
120
+ *
121
+ * @public
122
+ * @example To create a VPC origin
123
+ * ```javascript
124
+ * // The following command creates a VPC origin:
125
+ * const input = {
126
+ * "VpcOriginEndpointConfig": {
127
+ * "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
128
+ * "HTTPPort": 80,
129
+ * "HTTPSPort": 443,
130
+ * "Name": "my-vpcorigin-name",
131
+ * "OriginProtocolPolicy": "match-viewer",
132
+ * "OriginSslProtocols": {
133
+ * "Items": [
134
+ * "TLSv1.1",
135
+ * "TLSv1.2"
136
+ * ],
137
+ * "Quantity": 2
138
+ * }
139
+ * }
140
+ * };
141
+ * const command = new CreateVpcOriginCommand(input);
142
+ * const response = await client.send(command);
143
+ * /* response ==
144
+ * {
145
+ * "ETag": "E23ZP02F085DFQ",
146
+ * "Location": "https://cloudfront.amazonaws.com/2020-05-31/vpc-origin/vo_BQwjxxQxjCaBcQLzJUFkDM",
147
+ * "VpcOrigin": {
148
+ * "Arn": "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
149
+ * "CreatedTime": "2024-10-15T17:19:42.318Z",
150
+ * "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM",
151
+ * "LastModifiedTime": "2024-10-15T17:19:42.318Z",
152
+ * "Status": "Deploying",
153
+ * "VpcOriginEndpointConfig": {
154
+ * "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
155
+ * "HTTPPort": 80,
156
+ * "HTTPSPort": 443,
157
+ * "Name": "my-vpcorigin-name",
158
+ * "OriginProtocolPolicy": "match-viewer",
159
+ * "OriginSslProtocols": {
160
+ * "Items": [
161
+ * "TLSv1.1",
162
+ * "TLSv1.2"
163
+ * ],
164
+ * "Quantity": 2
165
+ * }
166
+ * }
167
+ * }
168
+ * }
169
+ * *\/
170
+ * // example id: example-1
171
+ * ```
172
+ *
173
+ */
174
+ export declare class CreateVpcOriginCommand extends CreateVpcOriginCommand_base {
175
+ /** @internal type navigation helper, not in runtime. */
176
+ protected static __types: {
177
+ api: {
178
+ input: CreateVpcOriginRequest;
179
+ output: CreateVpcOriginResult;
180
+ };
181
+ sdk: {
182
+ input: CreateVpcOriginCommandInput;
183
+ output: CreateVpcOriginCommandOutput;
184
+ };
185
+ };
186
+ }
@@ -0,0 +1,95 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { DeleteAnycastIpListRequest } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteAnycastIpListCommand}.
14
+ */
15
+ export interface DeleteAnycastIpListCommandInput extends DeleteAnycastIpListRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteAnycastIpListCommand}.
21
+ */
22
+ export interface DeleteAnycastIpListCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteAnycastIpListCommand_base: {
25
+ new (input: DeleteAnycastIpListCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAnycastIpListCommandInput, DeleteAnycastIpListCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteAnycastIpListCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAnycastIpListCommandInput, DeleteAnycastIpListCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes an Anycast static IP list.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, DeleteAnycastIpListCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, DeleteAnycastIpListCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
+ * const client = new CloudFrontClient(config);
37
+ * const input = { // DeleteAnycastIpListRequest
38
+ * Id: "STRING_VALUE", // required
39
+ * IfMatch: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new DeleteAnycastIpListCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param DeleteAnycastIpListCommandInput - {@link DeleteAnycastIpListCommandInput}
48
+ * @returns {@link DeleteAnycastIpListCommandOutput}
49
+ * @see {@link DeleteAnycastIpListCommandInput} for command's `input` shape.
50
+ * @see {@link DeleteAnycastIpListCommandOutput} for command's `response` shape.
51
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDenied} (client fault)
54
+ * <p>Access denied.</p>
55
+ *
56
+ * @throws {@link CannotDeleteEntityWhileInUse} (client fault)
57
+ * <p>The entity cannot be deleted while it is in use.</p>
58
+ *
59
+ * @throws {@link EntityNotFound} (client fault)
60
+ * <p>The entity was not found.</p>
61
+ *
62
+ * @throws {@link IllegalDelete} (client fault)
63
+ * <p>Deletion is not allowed for this entity.</p>
64
+ *
65
+ * @throws {@link InvalidArgument} (client fault)
66
+ * <p>An argument is invalid.</p>
67
+ *
68
+ * @throws {@link InvalidIfMatchVersion} (client fault)
69
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
70
+ *
71
+ * @throws {@link PreconditionFailed} (client fault)
72
+ * <p>The precondition in one or more of the request fields evaluated to
73
+ * <code>false</code>.</p>
74
+ *
75
+ * @throws {@link UnsupportedOperation} (client fault)
76
+ * <p>This operation is not supported in this region.</p>
77
+ *
78
+ * @throws {@link CloudFrontServiceException}
79
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
80
+ *
81
+ * @public
82
+ */
83
+ export declare class DeleteAnycastIpListCommand extends DeleteAnycastIpListCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: DeleteAnycastIpListRequest;
88
+ output: {};
89
+ };
90
+ sdk: {
91
+ input: DeleteAnycastIpListCommandInput;
92
+ output: DeleteAnycastIpListCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -64,7 +64,7 @@ declare const DeleteCachePolicyCommand_base: {
64
64
  * behaviors.</p>
65
65
  *
66
66
  * @throws {@link IllegalDelete} (client fault)
67
- * <p>You cannot delete a managed policy.</p>
67
+ * <p>Deletion is not allowed for this entity.</p>
68
68
  *
69
69
  * @throws {@link InvalidIfMatchVersion} (client fault)
70
70
  * <p>The <code>If-Match</code> version is missing or not valid.</p>
@@ -54,10 +54,10 @@ declare const DeleteKeyValueStoreCommand_base: {
54
54
  * <p>Access denied.</p>
55
55
  *
56
56
  * @throws {@link CannotDeleteEntityWhileInUse} (client fault)
57
- * <p>The key value store entity cannot be deleted while it is in use.</p>
57
+ * <p>The entity cannot be deleted while it is in use.</p>
58
58
  *
59
59
  * @throws {@link EntityNotFound} (client fault)
60
- * <p>The key value store entity was not found.</p>
60
+ * <p>The entity was not found.</p>
61
61
  *
62
62
  * @throws {@link InvalidIfMatchVersion} (client fault)
63
63
  * <p>The <code>If-Match</code> version is missing or not valid.</p>
@@ -60,7 +60,7 @@ declare const DeleteOriginRequestPolicyCommand_base: {
60
60
  * <p>Access denied.</p>
61
61
  *
62
62
  * @throws {@link IllegalDelete} (client fault)
63
- * <p>You cannot delete a managed policy.</p>
63
+ * <p>Deletion is not allowed for this entity.</p>
64
64
  *
65
65
  * @throws {@link InvalidIfMatchVersion} (client fault)
66
66
  * <p>The <code>If-Match</code> version is missing or not valid.</p>
@@ -60,7 +60,7 @@ declare const DeleteResponseHeadersPolicyCommand_base: {
60
60
  * <p>Access denied.</p>
61
61
  *
62
62
  * @throws {@link IllegalDelete} (client fault)
63
- * <p>You cannot delete a managed policy.</p>
63
+ * <p>Deletion is not allowed for this entity.</p>
64
64
  *
65
65
  * @throws {@link InvalidIfMatchVersion} (client fault)
66
66
  * <p>The <code>If-Match</code> version is missing or not valid.</p>
@@ -0,0 +1,155 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { DeleteVpcOriginRequest, DeleteVpcOriginResult } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteVpcOriginCommand}.
14
+ */
15
+ export interface DeleteVpcOriginCommandInput extends DeleteVpcOriginRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteVpcOriginCommand}.
21
+ */
22
+ export interface DeleteVpcOriginCommandOutput extends DeleteVpcOriginResult, __MetadataBearer {
23
+ }
24
+ declare const DeleteVpcOriginCommand_base: {
25
+ new (input: DeleteVpcOriginCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteVpcOriginCommandInput, DeleteVpcOriginCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteVpcOriginCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteVpcOriginCommandInput, DeleteVpcOriginCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Delete an Amazon CloudFront VPC origin.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, DeleteVpcOriginCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, DeleteVpcOriginCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
+ * const client = new CloudFrontClient(config);
37
+ * const input = { // DeleteVpcOriginRequest
38
+ * Id: "STRING_VALUE", // required
39
+ * IfMatch: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new DeleteVpcOriginCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DeleteVpcOriginResult
44
+ * // VpcOrigin: { // VpcOrigin
45
+ * // Id: "STRING_VALUE", // required
46
+ * // Arn: "STRING_VALUE", // required
47
+ * // Status: "STRING_VALUE", // required
48
+ * // CreatedTime: new Date("TIMESTAMP"), // required
49
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
50
+ * // VpcOriginEndpointConfig: { // VpcOriginEndpointConfig
51
+ * // Name: "STRING_VALUE", // required
52
+ * // Arn: "STRING_VALUE", // required
53
+ * // HTTPPort: Number("int"), // required
54
+ * // HTTPSPort: Number("int"), // required
55
+ * // OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required
56
+ * // OriginSslProtocols: { // OriginSslProtocols
57
+ * // Quantity: Number("int"), // required
58
+ * // Items: [ // SslProtocolsList // required
59
+ * // "SSLv3" || "TLSv1" || "TLSv1.1" || "TLSv1.2",
60
+ * // ],
61
+ * // },
62
+ * // },
63
+ * // },
64
+ * // ETag: "STRING_VALUE",
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param DeleteVpcOriginCommandInput - {@link DeleteVpcOriginCommandInput}
70
+ * @returns {@link DeleteVpcOriginCommandOutput}
71
+ * @see {@link DeleteVpcOriginCommandInput} for command's `input` shape.
72
+ * @see {@link DeleteVpcOriginCommandOutput} for command's `response` shape.
73
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDenied} (client fault)
76
+ * <p>Access denied.</p>
77
+ *
78
+ * @throws {@link CannotDeleteEntityWhileInUse} (client fault)
79
+ * <p>The entity cannot be deleted while it is in use.</p>
80
+ *
81
+ * @throws {@link EntityNotFound} (client fault)
82
+ * <p>The entity was not found.</p>
83
+ *
84
+ * @throws {@link IllegalDelete} (client fault)
85
+ * <p>Deletion is not allowed for this entity.</p>
86
+ *
87
+ * @throws {@link InvalidArgument} (client fault)
88
+ * <p>An argument is invalid.</p>
89
+ *
90
+ * @throws {@link InvalidIfMatchVersion} (client fault)
91
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
92
+ *
93
+ * @throws {@link PreconditionFailed} (client fault)
94
+ * <p>The precondition in one or more of the request fields evaluated to
95
+ * <code>false</code>.</p>
96
+ *
97
+ * @throws {@link UnsupportedOperation} (client fault)
98
+ * <p>This operation is not supported in this region.</p>
99
+ *
100
+ * @throws {@link CloudFrontServiceException}
101
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
102
+ *
103
+ * @public
104
+ * @example To delete a VPC origin
105
+ * ```javascript
106
+ * // The following command deletes a VPC origin:
107
+ * const input = {
108
+ * "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM",
109
+ * "IfMatch": "E1F83G8C2ARO7P"
110
+ * };
111
+ * const command = new DeleteVpcOriginCommand(input);
112
+ * const response = await client.send(command);
113
+ * /* response ==
114
+ * {
115
+ * "ETag": "E1PA6795UKMFR9",
116
+ * "VpcOrigin": {
117
+ * "Arn": "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
118
+ * "CreatedTime": "2024-10-15T17:19:42.318Z",
119
+ * "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM",
120
+ * "LastModifiedTime": "2024-10-15T17:57:08.965Z",
121
+ * "Status": "Deploying",
122
+ * "VpcOriginEndpointConfig": {
123
+ * "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
124
+ * "HTTPPort": 80,
125
+ * "HTTPSPort": 443,
126
+ * "Name": "my-vpcorigin-name",
127
+ * "OriginProtocolPolicy": "match-viewer",
128
+ * "OriginSslProtocols": {
129
+ * "Items": [
130
+ * "TLSv1.1",
131
+ * "TLSv1.2"
132
+ * ],
133
+ * "Quantity": 2
134
+ * }
135
+ * }
136
+ * }
137
+ * }
138
+ * *\/
139
+ * // example id: example-1
140
+ * ```
141
+ *
142
+ */
143
+ export declare class DeleteVpcOriginCommand extends DeleteVpcOriginCommand_base {
144
+ /** @internal type navigation helper, not in runtime. */
145
+ protected static __types: {
146
+ api: {
147
+ input: DeleteVpcOriginRequest;
148
+ output: DeleteVpcOriginResult;
149
+ };
150
+ sdk: {
151
+ input: DeleteVpcOriginCommandInput;
152
+ output: DeleteVpcOriginCommandOutput;
153
+ };
154
+ };
155
+ }
@@ -63,7 +63,7 @@ declare const DescribeKeyValueStoreCommand_base: {
63
63
  * <p>Access denied.</p>
64
64
  *
65
65
  * @throws {@link EntityNotFound} (client fault)
66
- * <p>The key value store entity was not found.</p>
66
+ * <p>The entity was not found.</p>
67
67
  *
68
68
  * @throws {@link InvalidArgument} (client fault)
69
69
  * <p>An argument is invalid.</p>