@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.
- package/README.md +88 -0
- package/dist-cjs/index.js +988 -197
- 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 +82 -52
- package/dist-es/models/models_1.js +3 -13
- package/dist-es/protocols/Aws_restXml.js +648 -66
- package/dist-types/CloudFront.d.ts +79 -0
- package/dist-types/CloudFrontClient.d.ts +13 -2
- package/dist-types/commands/CopyDistributionCommand.d.ts +15 -4
- package/dist-types/commands/CreateAnycastIpListCommand.d.ts +110 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +33 -8
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +33 -8
- package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +4 -4
- package/dist-types/commands/CreateVpcOriginCommand.d.ts +186 -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 +155 -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 +15 -4
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +15 -4
- package/dist-types/commands/GetVpcOriginCommand.d.ts +140 -0
- package/dist-types/commands/ListAnycastIpListsCommand.d.ts +100 -0
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +393 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +11 -0
- package/dist-types/commands/ListDistributionsByVpcOriginIdCommand.d.ts +116 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +11 -0
- package/dist-types/commands/ListDistributionsCommand.d.ts +11 -0
- package/dist-types/commands/ListVpcOriginsCommand.d.ts +131 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +33 -8
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +18 -4
- package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVpcOriginCommand.d.ts +193 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +361 -383
- package/dist-types/models/models_1.d.ts +733 -25
- 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 +106 -93
- package/dist-types/ts3.4/models/models_1.d.ts +171 -13
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +132 -0
- package/package.json +1 -1
|
@@ -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
|
+
}
|
|
@@ -118,6 +118,9 @@ declare const GetDistributionCommand_base: {
|
|
|
118
118
|
* // OriginReadTimeout: Number("int"),
|
|
119
119
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
120
120
|
* // },
|
|
121
|
+
* // VpcOriginConfig: { // VpcOriginConfig
|
|
122
|
+
* // VpcOriginId: "STRING_VALUE", // required
|
|
123
|
+
* // },
|
|
121
124
|
* // ConnectionAttempts: Number("int"),
|
|
122
125
|
* // ConnectionTimeout: Number("int"),
|
|
123
126
|
* // OriginShield: { // OriginShield
|
|
@@ -149,6 +152,7 @@ declare const GetDistributionCommand_base: {
|
|
|
149
152
|
* // },
|
|
150
153
|
* // ],
|
|
151
154
|
* // },
|
|
155
|
+
* // SelectionCriteria: "default" || "media-quality-based",
|
|
152
156
|
* // },
|
|
153
157
|
* // ],
|
|
154
158
|
* // },
|
|
@@ -207,6 +211,9 @@ declare const GetDistributionCommand_base: {
|
|
|
207
211
|
* // CachePolicyId: "STRING_VALUE",
|
|
208
212
|
* // OriginRequestPolicyId: "STRING_VALUE",
|
|
209
213
|
* // ResponseHeadersPolicyId: "STRING_VALUE",
|
|
214
|
+
* // GrpcConfig: { // GrpcConfig
|
|
215
|
+
* // Enabled: true || false, // required
|
|
216
|
+
* // },
|
|
210
217
|
* // ForwardedValues: { // ForwardedValues
|
|
211
218
|
* // QueryString: true || false, // required
|
|
212
219
|
* // Cookies: { // CookiePreference
|
|
@@ -290,6 +297,9 @@ declare const GetDistributionCommand_base: {
|
|
|
290
297
|
* // CachePolicyId: "STRING_VALUE",
|
|
291
298
|
* // OriginRequestPolicyId: "STRING_VALUE",
|
|
292
299
|
* // ResponseHeadersPolicyId: "STRING_VALUE",
|
|
300
|
+
* // GrpcConfig: {
|
|
301
|
+
* // Enabled: true || false, // required
|
|
302
|
+
* // },
|
|
293
303
|
* // ForwardedValues: {
|
|
294
304
|
* // QueryString: true || false, // required
|
|
295
305
|
* // Cookies: {
|
|
@@ -333,10 +343,10 @@ declare const GetDistributionCommand_base: {
|
|
|
333
343
|
* // },
|
|
334
344
|
* // Comment: "STRING_VALUE", // required
|
|
335
345
|
* // Logging: { // LoggingConfig
|
|
336
|
-
* // Enabled: true || false,
|
|
337
|
-
* // IncludeCookies: true || false,
|
|
338
|
-
* // Bucket: "STRING_VALUE",
|
|
339
|
-
* // Prefix: "STRING_VALUE",
|
|
346
|
+
* // Enabled: true || false,
|
|
347
|
+
* // IncludeCookies: true || false,
|
|
348
|
+
* // Bucket: "STRING_VALUE",
|
|
349
|
+
* // Prefix: "STRING_VALUE",
|
|
340
350
|
* // },
|
|
341
351
|
* // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
342
352
|
* // Enabled: true || false, // required
|
|
@@ -363,6 +373,7 @@ declare const GetDistributionCommand_base: {
|
|
|
363
373
|
* // IsIPV6Enabled: true || false,
|
|
364
374
|
* // ContinuousDeploymentPolicyId: "STRING_VALUE",
|
|
365
375
|
* // Staging: true || false,
|
|
376
|
+
* // AnycastIpListId: "STRING_VALUE",
|
|
366
377
|
* // },
|
|
367
378
|
* // AliasICPRecordals: [ // AliasICPRecordals
|
|
368
379
|
* // { // AliasICPRecordal
|
|
@@ -81,6 +81,9 @@ declare const GetDistributionConfigCommand_base: {
|
|
|
81
81
|
* // OriginReadTimeout: Number("int"),
|
|
82
82
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
83
83
|
* // },
|
|
84
|
+
* // VpcOriginConfig: { // VpcOriginConfig
|
|
85
|
+
* // VpcOriginId: "STRING_VALUE", // required
|
|
86
|
+
* // },
|
|
84
87
|
* // ConnectionAttempts: Number("int"),
|
|
85
88
|
* // ConnectionTimeout: Number("int"),
|
|
86
89
|
* // OriginShield: { // OriginShield
|
|
@@ -112,6 +115,7 @@ declare const GetDistributionConfigCommand_base: {
|
|
|
112
115
|
* // },
|
|
113
116
|
* // ],
|
|
114
117
|
* // },
|
|
118
|
+
* // SelectionCriteria: "default" || "media-quality-based",
|
|
115
119
|
* // },
|
|
116
120
|
* // ],
|
|
117
121
|
* // },
|
|
@@ -170,6 +174,9 @@ declare const GetDistributionConfigCommand_base: {
|
|
|
170
174
|
* // CachePolicyId: "STRING_VALUE",
|
|
171
175
|
* // OriginRequestPolicyId: "STRING_VALUE",
|
|
172
176
|
* // ResponseHeadersPolicyId: "STRING_VALUE",
|
|
177
|
+
* // GrpcConfig: { // GrpcConfig
|
|
178
|
+
* // Enabled: true || false, // required
|
|
179
|
+
* // },
|
|
173
180
|
* // ForwardedValues: { // ForwardedValues
|
|
174
181
|
* // QueryString: true || false, // required
|
|
175
182
|
* // Cookies: { // CookiePreference
|
|
@@ -253,6 +260,9 @@ declare const GetDistributionConfigCommand_base: {
|
|
|
253
260
|
* // CachePolicyId: "STRING_VALUE",
|
|
254
261
|
* // OriginRequestPolicyId: "STRING_VALUE",
|
|
255
262
|
* // ResponseHeadersPolicyId: "STRING_VALUE",
|
|
263
|
+
* // GrpcConfig: {
|
|
264
|
+
* // Enabled: true || false, // required
|
|
265
|
+
* // },
|
|
256
266
|
* // ForwardedValues: {
|
|
257
267
|
* // QueryString: true || false, // required
|
|
258
268
|
* // Cookies: {
|
|
@@ -296,10 +306,10 @@ declare const GetDistributionConfigCommand_base: {
|
|
|
296
306
|
* // },
|
|
297
307
|
* // Comment: "STRING_VALUE", // required
|
|
298
308
|
* // Logging: { // LoggingConfig
|
|
299
|
-
* // Enabled: true || false,
|
|
300
|
-
* // IncludeCookies: true || false,
|
|
301
|
-
* // Bucket: "STRING_VALUE",
|
|
302
|
-
* // Prefix: "STRING_VALUE",
|
|
309
|
+
* // Enabled: true || false,
|
|
310
|
+
* // IncludeCookies: true || false,
|
|
311
|
+
* // Bucket: "STRING_VALUE",
|
|
312
|
+
* // Prefix: "STRING_VALUE",
|
|
303
313
|
* // },
|
|
304
314
|
* // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
305
315
|
* // Enabled: true || false, // required
|
|
@@ -326,6 +336,7 @@ declare const GetDistributionConfigCommand_base: {
|
|
|
326
336
|
* // IsIPV6Enabled: true || false,
|
|
327
337
|
* // ContinuousDeploymentPolicyId: "STRING_VALUE",
|
|
328
338
|
* // Staging: true || false,
|
|
339
|
+
* // AnycastIpListId: "STRING_VALUE",
|
|
329
340
|
* // },
|
|
330
341
|
* // ETag: "STRING_VALUE",
|
|
331
342
|
* // };
|
|
@@ -0,0 +1,140 @@
|
|
|
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 { GetVpcOriginRequest, GetVpcOriginResult } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetVpcOriginCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetVpcOriginCommandInput extends GetVpcOriginRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetVpcOriginCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetVpcOriginCommandOutput extends GetVpcOriginResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetVpcOriginCommand_base: {
|
|
25
|
+
new (input: GetVpcOriginCommandInput): import("@smithy/smithy-client").CommandImpl<GetVpcOriginCommandInput, GetVpcOriginCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetVpcOriginCommandInput): import("@smithy/smithy-client").CommandImpl<GetVpcOriginCommandInput, GetVpcOriginCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Get the details of 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, GetVpcOriginCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
+
* // const { CloudFrontClient, GetVpcOriginCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
+
* const client = new CloudFrontClient(config);
|
|
37
|
+
* const input = { // GetVpcOriginRequest
|
|
38
|
+
* Id: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetVpcOriginCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetVpcOriginResult
|
|
43
|
+
* // VpcOrigin: { // VpcOrigin
|
|
44
|
+
* // Id: "STRING_VALUE", // required
|
|
45
|
+
* // Arn: "STRING_VALUE", // required
|
|
46
|
+
* // Status: "STRING_VALUE", // required
|
|
47
|
+
* // CreatedTime: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // VpcOriginEndpointConfig: { // VpcOriginEndpointConfig
|
|
50
|
+
* // Name: "STRING_VALUE", // required
|
|
51
|
+
* // Arn: "STRING_VALUE", // required
|
|
52
|
+
* // HTTPPort: Number("int"), // required
|
|
53
|
+
* // HTTPSPort: Number("int"), // required
|
|
54
|
+
* // OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required
|
|
55
|
+
* // OriginSslProtocols: { // OriginSslProtocols
|
|
56
|
+
* // Quantity: Number("int"), // required
|
|
57
|
+
* // Items: [ // SslProtocolsList // required
|
|
58
|
+
* // "SSLv3" || "TLSv1" || "TLSv1.1" || "TLSv1.2",
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // ETag: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param GetVpcOriginCommandInput - {@link GetVpcOriginCommandInput}
|
|
69
|
+
* @returns {@link GetVpcOriginCommandOutput}
|
|
70
|
+
* @see {@link GetVpcOriginCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link GetVpcOriginCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDenied} (client fault)
|
|
75
|
+
* <p>Access denied.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
78
|
+
* <p>The entity was not found.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
81
|
+
* <p>An argument is invalid.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link UnsupportedOperation} (client fault)
|
|
84
|
+
* <p>This operation is not supported in this region.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link CloudFrontServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
* @example To get a VPC origin
|
|
91
|
+
* ```javascript
|
|
92
|
+
* // The following command gets a VPC origin:
|
|
93
|
+
* const input = {
|
|
94
|
+
* "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM"
|
|
95
|
+
* };
|
|
96
|
+
* const command = new GetVpcOriginCommand(input);
|
|
97
|
+
* const response = await client.send(command);
|
|
98
|
+
* /* response ==
|
|
99
|
+
* {
|
|
100
|
+
* "ETag": "ETVPDKIKX0DER",
|
|
101
|
+
* "VpcOrigin": {
|
|
102
|
+
* "Arn": "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
|
|
103
|
+
* "CreatedTime": "2024-10-15T17:19:42.318Z",
|
|
104
|
+
* "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM",
|
|
105
|
+
* "LastModifiedTime": "2024-10-15T17:24:35.188Z",
|
|
106
|
+
* "Status": "Deployed",
|
|
107
|
+
* "VpcOriginEndpointConfig": {
|
|
108
|
+
* "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
|
|
109
|
+
* "HTTPPort": 80,
|
|
110
|
+
* "HTTPSPort": 443,
|
|
111
|
+
* "Name": "my-vpcorigin-name",
|
|
112
|
+
* "OriginProtocolPolicy": "match-viewer",
|
|
113
|
+
* "OriginSslProtocols": {
|
|
114
|
+
* "Items": [
|
|
115
|
+
* "TLSv1.1",
|
|
116
|
+
* "TLSv1.2"
|
|
117
|
+
* ],
|
|
118
|
+
* "Quantity": 2
|
|
119
|
+
* }
|
|
120
|
+
* }
|
|
121
|
+
* }
|
|
122
|
+
* }
|
|
123
|
+
* *\/
|
|
124
|
+
* // example id: example-1
|
|
125
|
+
* ```
|
|
126
|
+
*
|
|
127
|
+
*/
|
|
128
|
+
export declare class GetVpcOriginCommand extends GetVpcOriginCommand_base {
|
|
129
|
+
/** @internal type navigation helper, not in runtime. */
|
|
130
|
+
protected static __types: {
|
|
131
|
+
api: {
|
|
132
|
+
input: GetVpcOriginRequest;
|
|
133
|
+
output: GetVpcOriginResult;
|
|
134
|
+
};
|
|
135
|
+
sdk: {
|
|
136
|
+
input: GetVpcOriginCommandInput;
|
|
137
|
+
output: GetVpcOriginCommandOutput;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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 { ListAnycastIpListsRequest, ListAnycastIpListsResult } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAnycastIpListsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAnycastIpListsCommandInput extends ListAnycastIpListsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAnycastIpListsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAnycastIpListsCommandOutput extends ListAnycastIpListsResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAnycastIpListsCommand_base: {
|
|
25
|
+
new (input: ListAnycastIpListsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAnycastIpListsCommandInput, ListAnycastIpListsCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListAnycastIpListsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListAnycastIpListsCommandInput, ListAnycastIpListsCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists your Anycast static IP lists.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CloudFrontClient, ListAnycastIpListsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
+
* // const { CloudFrontClient, ListAnycastIpListsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
+
* const client = new CloudFrontClient(config);
|
|
37
|
+
* const input = { // ListAnycastIpListsRequest
|
|
38
|
+
* Marker: "STRING_VALUE",
|
|
39
|
+
* MaxItems: Number("int"),
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListAnycastIpListsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListAnycastIpListsResult
|
|
44
|
+
* // AnycastIpLists: { // AnycastIpListCollection
|
|
45
|
+
* // Items: [ // AnycastIpListSummaries
|
|
46
|
+
* // { // AnycastIpListSummary
|
|
47
|
+
* // Id: "STRING_VALUE", // required
|
|
48
|
+
* // Name: "STRING_VALUE", // required
|
|
49
|
+
* // Status: "STRING_VALUE", // required
|
|
50
|
+
* // Arn: "STRING_VALUE", // required
|
|
51
|
+
* // IpCount: Number("int"), // required
|
|
52
|
+
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // Marker: "STRING_VALUE", // required
|
|
56
|
+
* // NextMarker: "STRING_VALUE",
|
|
57
|
+
* // MaxItems: Number("int"), // required
|
|
58
|
+
* // IsTruncated: true || false, // required
|
|
59
|
+
* // Quantity: Number("int"), // required
|
|
60
|
+
* // },
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListAnycastIpListsCommandInput - {@link ListAnycastIpListsCommandInput}
|
|
66
|
+
* @returns {@link ListAnycastIpListsCommandOutput}
|
|
67
|
+
* @see {@link ListAnycastIpListsCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListAnycastIpListsCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDenied} (client fault)
|
|
72
|
+
* <p>Access denied.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
75
|
+
* <p>The entity was not found.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
78
|
+
* <p>An argument is invalid.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link UnsupportedOperation} (client fault)
|
|
81
|
+
* <p>This operation is not supported in this region.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link CloudFrontServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class ListAnycastIpListsCommand extends ListAnycastIpListsCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: ListAnycastIpListsRequest;
|
|
93
|
+
output: ListAnycastIpListsResult;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: ListAnycastIpListsCommandInput;
|
|
97
|
+
output: ListAnycastIpListsCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|