@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.
- package/README.md +88 -0
- package/dist-cjs/index.js +976 -199
- package/dist-es/CloudFront.js +22 -0
- package/dist-es/commands/CreateAnycastIpListCommand.js +22 -0
- package/dist-es/commands/CreateVpcOriginCommand.js +22 -0
- package/dist-es/commands/DeleteAnycastIpListCommand.js +22 -0
- package/dist-es/commands/DeleteVpcOriginCommand.js +22 -0
- package/dist-es/commands/GetAnycastIpListCommand.js +22 -0
- package/dist-es/commands/GetVpcOriginCommand.js +22 -0
- package/dist-es/commands/ListAnycastIpListsCommand.js +22 -0
- package/dist-es/commands/ListDistributionsByAnycastIpListIdCommand.js +23 -0
- package/dist-es/commands/ListDistributionsByVpcOriginIdCommand.js +22 -0
- package/dist-es/commands/ListVpcOriginsCommand.js +22 -0
- package/dist-es/commands/UpdateVpcOriginCommand.js +22 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/models_0.js +78 -52
- package/dist-es/models/models_1.js +3 -13
- package/dist-es/protocols/Aws_restXml.js +630 -56
- package/dist-types/CloudFront.d.ts +79 -0
- package/dist-types/CloudFrontClient.d.ts +13 -2
- package/dist-types/commands/CopyDistributionCommand.d.ts +14 -4
- package/dist-types/commands/CreateAnycastIpListCommand.d.ts +110 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +31 -8
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +31 -8
- package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +3 -3
- package/dist-types/commands/CreateVpcOriginCommand.d.ts +135 -0
- package/dist-types/commands/DeleteAnycastIpListCommand.d.ts +95 -0
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +2 -2
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpcOriginCommand.d.ts +117 -0
- package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/commands/GetAnycastIpListCommand.d.ts +94 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +14 -4
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +14 -4
- package/dist-types/commands/GetVpcOriginCommand.d.ts +103 -0
- package/dist-types/commands/ListAnycastIpListsCommand.d.ts +100 -0
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +392 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +10 -0
- package/dist-types/commands/ListDistributionsByVpcOriginIdCommand.d.ts +94 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +10 -0
- package/dist-types/commands/ListDistributionsCommand.d.ts +10 -0
- package/dist-types/commands/ListVpcOriginsCommand.d.ts +101 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +31 -8
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +17 -4
- package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVpcOriginCommand.d.ts +141 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +337 -314
- package/dist-types/models/models_1.d.ts +668 -24
- package/dist-types/protocols/Aws_restXml.d.ts +99 -0
- package/dist-types/ts3.4/CloudFront.d.ts +195 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +68 -2
- package/dist-types/ts3.4/commands/CreateAnycastIpListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateVpcOriginCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteAnycastIpListCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteVpcOriginCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetAnycastIpListCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetVpcOriginCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListAnycastIpListsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionsByVpcOriginIdCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListVpcOriginsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateVpcOriginCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +99 -89
- package/dist-types/ts3.4/models/models_1.d.ts +167 -13
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +132 -0
- package/package.json +38 -38
|
@@ -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
|
|
@@ -179,6 +182,9 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
179
182
|
* CachePolicyId: "STRING_VALUE",
|
|
180
183
|
* OriginRequestPolicyId: "STRING_VALUE",
|
|
181
184
|
* ResponseHeadersPolicyId: "STRING_VALUE",
|
|
185
|
+
* GrpcConfig: { // GrpcConfig
|
|
186
|
+
* Enabled: true || false, // required
|
|
187
|
+
* },
|
|
182
188
|
* ForwardedValues: { // ForwardedValues
|
|
183
189
|
* QueryString: true || false, // required
|
|
184
190
|
* Cookies: { // CookiePreference
|
|
@@ -262,6 +268,9 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
262
268
|
* CachePolicyId: "STRING_VALUE",
|
|
263
269
|
* OriginRequestPolicyId: "STRING_VALUE",
|
|
264
270
|
* ResponseHeadersPolicyId: "STRING_VALUE",
|
|
271
|
+
* GrpcConfig: {
|
|
272
|
+
* Enabled: true || false, // required
|
|
273
|
+
* },
|
|
265
274
|
* ForwardedValues: {
|
|
266
275
|
* QueryString: true || false, // required
|
|
267
276
|
* Cookies: {
|
|
@@ -305,10 +314,10 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
305
314
|
* },
|
|
306
315
|
* Comment: "STRING_VALUE", // required
|
|
307
316
|
* Logging: { // LoggingConfig
|
|
308
|
-
* Enabled: true || false,
|
|
309
|
-
* IncludeCookies: true || false,
|
|
310
|
-
* Bucket: "STRING_VALUE",
|
|
311
|
-
* Prefix: "STRING_VALUE",
|
|
317
|
+
* Enabled: true || false,
|
|
318
|
+
* IncludeCookies: true || false,
|
|
319
|
+
* Bucket: "STRING_VALUE",
|
|
320
|
+
* Prefix: "STRING_VALUE",
|
|
312
321
|
* },
|
|
313
322
|
* PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
314
323
|
* Enabled: true || false, // required
|
|
@@ -335,6 +344,7 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
335
344
|
* IsIPV6Enabled: true || false,
|
|
336
345
|
* ContinuousDeploymentPolicyId: "STRING_VALUE",
|
|
337
346
|
* Staging: true || false,
|
|
347
|
+
* AnycastIpListId: "STRING_VALUE",
|
|
338
348
|
* },
|
|
339
349
|
* Tags: { // Tags
|
|
340
350
|
* Items: [ // TagList
|
|
@@ -427,6 +437,9 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
427
437
|
* // OriginReadTimeout: Number("int"),
|
|
428
438
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
429
439
|
* // },
|
|
440
|
+
* // VpcOriginConfig: { // VpcOriginConfig
|
|
441
|
+
* // VpcOriginId: "STRING_VALUE", // required
|
|
442
|
+
* // },
|
|
430
443
|
* // ConnectionAttempts: Number("int"),
|
|
431
444
|
* // ConnectionTimeout: Number("int"),
|
|
432
445
|
* // OriginShield: { // OriginShield
|
|
@@ -516,6 +529,9 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
516
529
|
* // CachePolicyId: "STRING_VALUE",
|
|
517
530
|
* // OriginRequestPolicyId: "STRING_VALUE",
|
|
518
531
|
* // ResponseHeadersPolicyId: "STRING_VALUE",
|
|
532
|
+
* // GrpcConfig: { // GrpcConfig
|
|
533
|
+
* // Enabled: true || false, // required
|
|
534
|
+
* // },
|
|
519
535
|
* // ForwardedValues: { // ForwardedValues
|
|
520
536
|
* // QueryString: true || false, // required
|
|
521
537
|
* // Cookies: { // CookiePreference
|
|
@@ -599,6 +615,9 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
599
615
|
* // CachePolicyId: "STRING_VALUE",
|
|
600
616
|
* // OriginRequestPolicyId: "STRING_VALUE",
|
|
601
617
|
* // ResponseHeadersPolicyId: "STRING_VALUE",
|
|
618
|
+
* // GrpcConfig: {
|
|
619
|
+
* // Enabled: true || false, // required
|
|
620
|
+
* // },
|
|
602
621
|
* // ForwardedValues: {
|
|
603
622
|
* // QueryString: true || false, // required
|
|
604
623
|
* // Cookies: {
|
|
@@ -642,10 +661,10 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
642
661
|
* // },
|
|
643
662
|
* // Comment: "STRING_VALUE", // required
|
|
644
663
|
* // Logging: { // LoggingConfig
|
|
645
|
-
* // Enabled: true || false,
|
|
646
|
-
* // IncludeCookies: true || false,
|
|
647
|
-
* // Bucket: "STRING_VALUE",
|
|
648
|
-
* // Prefix: "STRING_VALUE",
|
|
664
|
+
* // Enabled: true || false,
|
|
665
|
+
* // IncludeCookies: true || false,
|
|
666
|
+
* // Bucket: "STRING_VALUE",
|
|
667
|
+
* // Prefix: "STRING_VALUE",
|
|
649
668
|
* // },
|
|
650
669
|
* // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
651
670
|
* // Enabled: true || false, // required
|
|
@@ -672,6 +691,7 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
672
691
|
* // IsIPV6Enabled: true || false,
|
|
673
692
|
* // ContinuousDeploymentPolicyId: "STRING_VALUE",
|
|
674
693
|
* // Staging: true || false,
|
|
694
|
+
* // AnycastIpListId: "STRING_VALUE",
|
|
675
695
|
* // },
|
|
676
696
|
* // AliasICPRecordals: [ // AliasICPRecordals
|
|
677
697
|
* // { // AliasICPRecordal
|
|
@@ -706,6 +726,9 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
706
726
|
* <p>The caller reference you attempted to create the distribution with is associated with
|
|
707
727
|
* another distribution.</p>
|
|
708
728
|
*
|
|
729
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
730
|
+
* <p>The entity was not found.</p>
|
|
731
|
+
*
|
|
709
732
|
* @throws {@link IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior} (client fault)
|
|
710
733
|
* <p>The specified configuration for field-level encryption can't be associated with the
|
|
711
734
|
* 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
|
|
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
|
|
76
|
+
* <p>The entity limit has been exceeded.</p>
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link EntitySizeLimitExceeded} (client fault)
|
|
79
|
-
* <p>The
|
|
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>
|
|
@@ -0,0 +1,135 @@
|
|
|
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
|
+
*/
|
|
123
|
+
export declare class CreateVpcOriginCommand extends CreateVpcOriginCommand_base {
|
|
124
|
+
/** @internal type navigation helper, not in runtime. */
|
|
125
|
+
protected static __types: {
|
|
126
|
+
api: {
|
|
127
|
+
input: CreateVpcOriginRequest;
|
|
128
|
+
output: CreateVpcOriginResult;
|
|
129
|
+
};
|
|
130
|
+
sdk: {
|
|
131
|
+
input: CreateVpcOriginCommandInput;
|
|
132
|
+
output: CreateVpcOriginCommandOutput;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
}
|
|
@@ -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>
|
|
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
|
|
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
|
|
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>
|
|
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>
|
|
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,117 @@
|
|
|
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
|
+
*/
|
|
105
|
+
export declare class DeleteVpcOriginCommand extends DeleteVpcOriginCommand_base {
|
|
106
|
+
/** @internal type navigation helper, not in runtime. */
|
|
107
|
+
protected static __types: {
|
|
108
|
+
api: {
|
|
109
|
+
input: DeleteVpcOriginRequest;
|
|
110
|
+
output: DeleteVpcOriginResult;
|
|
111
|
+
};
|
|
112
|
+
sdk: {
|
|
113
|
+
input: DeleteVpcOriginCommandInput;
|
|
114
|
+
output: DeleteVpcOriginCommandOutput;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
}
|
|
@@ -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
|
|
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>
|
|
@@ -0,0 +1,94 @@
|
|
|
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 { GetAnycastIpListRequest, GetAnycastIpListResult } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetAnycastIpListCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAnycastIpListCommandInput extends GetAnycastIpListRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAnycastIpListCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAnycastIpListCommandOutput extends GetAnycastIpListResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAnycastIpListCommand_base: {
|
|
25
|
+
new (input: GetAnycastIpListCommandInput): import("@smithy/smithy-client").CommandImpl<GetAnycastIpListCommandInput, GetAnycastIpListCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetAnycastIpListCommandInput): import("@smithy/smithy-client").CommandImpl<GetAnycastIpListCommandInput, GetAnycastIpListCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets 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, GetAnycastIpListCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
+
* // const { CloudFrontClient, GetAnycastIpListCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
+
* const client = new CloudFrontClient(config);
|
|
37
|
+
* const input = { // GetAnycastIpListRequest
|
|
38
|
+
* Id: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetAnycastIpListCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetAnycastIpListResult
|
|
43
|
+
* // AnycastIpList: { // AnycastIpList
|
|
44
|
+
* // Id: "STRING_VALUE", // required
|
|
45
|
+
* // Name: "STRING_VALUE", // required
|
|
46
|
+
* // Status: "STRING_VALUE", // required
|
|
47
|
+
* // Arn: "STRING_VALUE", // required
|
|
48
|
+
* // AnycastIps: [ // AnycastIps // required
|
|
49
|
+
* // "STRING_VALUE",
|
|
50
|
+
* // ],
|
|
51
|
+
* // IpCount: Number("int"), // required
|
|
52
|
+
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ETag: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param GetAnycastIpListCommandInput - {@link GetAnycastIpListCommandInput}
|
|
60
|
+
* @returns {@link GetAnycastIpListCommandOutput}
|
|
61
|
+
* @see {@link GetAnycastIpListCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link GetAnycastIpListCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDenied} (client fault)
|
|
66
|
+
* <p>Access denied.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
69
|
+
* <p>The entity was not found.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
72
|
+
* <p>An argument is invalid.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link UnsupportedOperation} (client fault)
|
|
75
|
+
* <p>This operation is not supported in this region.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link CloudFrontServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class GetAnycastIpListCommand extends GetAnycastIpListCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: GetAnycastIpListRequest;
|
|
87
|
+
output: GetAnycastIpListResult;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: GetAnycastIpListCommandInput;
|
|
91
|
+
output: GetAnycastIpListCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|