@aws-sdk/client-cloudfront 3.693.0 → 3.697.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/index.js +976 -199
  3. package/dist-es/CloudFront.js +22 -0
  4. package/dist-es/commands/CreateAnycastIpListCommand.js +22 -0
  5. package/dist-es/commands/CreateVpcOriginCommand.js +22 -0
  6. package/dist-es/commands/DeleteAnycastIpListCommand.js +22 -0
  7. package/dist-es/commands/DeleteVpcOriginCommand.js +22 -0
  8. package/dist-es/commands/GetAnycastIpListCommand.js +22 -0
  9. package/dist-es/commands/GetVpcOriginCommand.js +22 -0
  10. package/dist-es/commands/ListAnycastIpListsCommand.js +22 -0
  11. package/dist-es/commands/ListDistributionsByAnycastIpListIdCommand.js +23 -0
  12. package/dist-es/commands/ListDistributionsByVpcOriginIdCommand.js +22 -0
  13. package/dist-es/commands/ListVpcOriginsCommand.js +22 -0
  14. package/dist-es/commands/UpdateVpcOriginCommand.js +22 -0
  15. package/dist-es/commands/index.js +11 -0
  16. package/dist-es/models/models_0.js +78 -52
  17. package/dist-es/models/models_1.js +3 -13
  18. package/dist-es/protocols/Aws_restXml.js +630 -56
  19. package/dist-types/CloudFront.d.ts +79 -0
  20. package/dist-types/CloudFrontClient.d.ts +13 -2
  21. package/dist-types/commands/CopyDistributionCommand.d.ts +14 -4
  22. package/dist-types/commands/CreateAnycastIpListCommand.d.ts +110 -0
  23. package/dist-types/commands/CreateDistributionCommand.d.ts +31 -8
  24. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +31 -8
  25. package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +3 -3
  26. package/dist-types/commands/CreateVpcOriginCommand.d.ts +135 -0
  27. package/dist-types/commands/DeleteAnycastIpListCommand.d.ts +95 -0
  28. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +2 -2
  30. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteVpcOriginCommand.d.ts +117 -0
  33. package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +1 -1
  34. package/dist-types/commands/GetAnycastIpListCommand.d.ts +94 -0
  35. package/dist-types/commands/GetDistributionCommand.d.ts +14 -4
  36. package/dist-types/commands/GetDistributionConfigCommand.d.ts +14 -4
  37. package/dist-types/commands/GetVpcOriginCommand.d.ts +103 -0
  38. package/dist-types/commands/ListAnycastIpListsCommand.d.ts +100 -0
  39. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +392 -0
  40. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +10 -0
  41. package/dist-types/commands/ListDistributionsByVpcOriginIdCommand.d.ts +94 -0
  42. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +10 -0
  43. package/dist-types/commands/ListDistributionsCommand.d.ts +10 -0
  44. package/dist-types/commands/ListVpcOriginsCommand.d.ts +101 -0
  45. package/dist-types/commands/UpdateDistributionCommand.d.ts +31 -8
  46. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +17 -4
  47. package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateVpcOriginCommand.d.ts +141 -0
  49. package/dist-types/commands/index.d.ts +11 -0
  50. package/dist-types/models/models_0.d.ts +337 -314
  51. package/dist-types/models/models_1.d.ts +668 -24
  52. package/dist-types/protocols/Aws_restXml.d.ts +99 -0
  53. package/dist-types/ts3.4/CloudFront.d.ts +195 -0
  54. package/dist-types/ts3.4/CloudFrontClient.d.ts +68 -2
  55. package/dist-types/ts3.4/commands/CreateAnycastIpListCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/CreateVpcOriginCommand.d.ts +50 -0
  57. package/dist-types/ts3.4/commands/DeleteAnycastIpListCommand.d.ts +46 -0
  58. package/dist-types/ts3.4/commands/DeleteVpcOriginCommand.d.ts +50 -0
  59. package/dist-types/ts3.4/commands/GetAnycastIpListCommand.d.ts +50 -0
  60. package/dist-types/ts3.4/commands/GetVpcOriginCommand.d.ts +47 -0
  61. package/dist-types/ts3.4/commands/ListAnycastIpListsCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/ListDistributionsByVpcOriginIdCommand.d.ts +51 -0
  64. package/dist-types/ts3.4/commands/ListVpcOriginsCommand.d.ts +50 -0
  65. package/dist-types/ts3.4/commands/UpdateVpcOriginCommand.d.ts +50 -0
  66. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +99 -89
  68. package/dist-types/ts3.4/models/models_1.d.ts +167 -13
  69. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +132 -0
  70. package/package.json +38 -38
@@ -0,0 +1,101 @@
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 { ListVpcOriginsRequest, ListVpcOriginsResult } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListVpcOriginsCommand}.
14
+ */
15
+ export interface ListVpcOriginsCommandInput extends ListVpcOriginsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListVpcOriginsCommand}.
21
+ */
22
+ export interface ListVpcOriginsCommandOutput extends ListVpcOriginsResult, __MetadataBearer {
23
+ }
24
+ declare const ListVpcOriginsCommand_base: {
25
+ new (input: ListVpcOriginsCommandInput): import("@smithy/smithy-client").CommandImpl<ListVpcOriginsCommandInput, ListVpcOriginsCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListVpcOriginsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListVpcOriginsCommandInput, ListVpcOriginsCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List the CloudFront VPC origins in your account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, ListVpcOriginsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, ListVpcOriginsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
+ * const client = new CloudFrontClient(config);
37
+ * const input = { // ListVpcOriginsRequest
38
+ * Marker: "STRING_VALUE",
39
+ * MaxItems: Number("int"),
40
+ * };
41
+ * const command = new ListVpcOriginsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListVpcOriginsResult
44
+ * // VpcOriginList: { // VpcOriginList
45
+ * // Marker: "STRING_VALUE", // required
46
+ * // NextMarker: "STRING_VALUE",
47
+ * // MaxItems: Number("int"), // required
48
+ * // IsTruncated: true || false, // required
49
+ * // Quantity: Number("int"), // required
50
+ * // Items: [ // VpcOriginSummaryList
51
+ * // { // VpcOriginSummary
52
+ * // Id: "STRING_VALUE", // required
53
+ * // Name: "STRING_VALUE", // required
54
+ * // Status: "STRING_VALUE", // required
55
+ * // CreatedTime: new Date("TIMESTAMP"), // required
56
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
57
+ * // Arn: "STRING_VALUE", // required
58
+ * // OriginEndpointArn: "STRING_VALUE", // required
59
+ * // },
60
+ * // ],
61
+ * // },
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param ListVpcOriginsCommandInput - {@link ListVpcOriginsCommandInput}
67
+ * @returns {@link ListVpcOriginsCommandOutput}
68
+ * @see {@link ListVpcOriginsCommandInput} for command's `input` shape.
69
+ * @see {@link ListVpcOriginsCommandOutput} for command's `response` shape.
70
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDenied} (client fault)
73
+ * <p>Access denied.</p>
74
+ *
75
+ * @throws {@link EntityNotFound} (client fault)
76
+ * <p>The entity was not found.</p>
77
+ *
78
+ * @throws {@link InvalidArgument} (client fault)
79
+ * <p>An argument is invalid.</p>
80
+ *
81
+ * @throws {@link UnsupportedOperation} (client fault)
82
+ * <p>This operation is not supported in this region.</p>
83
+ *
84
+ * @throws {@link CloudFrontServiceException}
85
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
86
+ *
87
+ * @public
88
+ */
89
+ export declare class ListVpcOriginsCommand extends ListVpcOriginsCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: ListVpcOriginsRequest;
94
+ output: ListVpcOriginsResult;
95
+ };
96
+ sdk: {
97
+ input: ListVpcOriginsCommandInput;
98
+ output: ListVpcOriginsCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -109,6 +109,9 @@ declare const UpdateDistributionCommand_base: {
109
109
  * OriginReadTimeout: Number("int"),
110
110
  * OriginKeepaliveTimeout: Number("int"),
111
111
  * },
112
+ * VpcOriginConfig: { // VpcOriginConfig
113
+ * VpcOriginId: "STRING_VALUE", // required
114
+ * },
112
115
  * ConnectionAttempts: Number("int"),
113
116
  * ConnectionTimeout: Number("int"),
114
117
  * OriginShield: { // OriginShield
@@ -198,6 +201,9 @@ declare const UpdateDistributionCommand_base: {
198
201
  * CachePolicyId: "STRING_VALUE",
199
202
  * OriginRequestPolicyId: "STRING_VALUE",
200
203
  * ResponseHeadersPolicyId: "STRING_VALUE",
204
+ * GrpcConfig: { // GrpcConfig
205
+ * Enabled: true || false, // required
206
+ * },
201
207
  * ForwardedValues: { // ForwardedValues
202
208
  * QueryString: true || false, // required
203
209
  * Cookies: { // CookiePreference
@@ -281,6 +287,9 @@ declare const UpdateDistributionCommand_base: {
281
287
  * CachePolicyId: "STRING_VALUE",
282
288
  * OriginRequestPolicyId: "STRING_VALUE",
283
289
  * ResponseHeadersPolicyId: "STRING_VALUE",
290
+ * GrpcConfig: {
291
+ * Enabled: true || false, // required
292
+ * },
284
293
  * ForwardedValues: {
285
294
  * QueryString: true || false, // required
286
295
  * Cookies: {
@@ -324,10 +333,10 @@ declare const UpdateDistributionCommand_base: {
324
333
  * },
325
334
  * Comment: "STRING_VALUE", // required
326
335
  * Logging: { // LoggingConfig
327
- * Enabled: true || false, // required
328
- * IncludeCookies: true || false, // required
329
- * Bucket: "STRING_VALUE", // required
330
- * Prefix: "STRING_VALUE", // required
336
+ * Enabled: true || false,
337
+ * IncludeCookies: true || false,
338
+ * Bucket: "STRING_VALUE",
339
+ * Prefix: "STRING_VALUE",
331
340
  * },
332
341
  * PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
333
342
  * Enabled: true || false, // required
@@ -354,6 +363,7 @@ declare const UpdateDistributionCommand_base: {
354
363
  * IsIPV6Enabled: true || false,
355
364
  * ContinuousDeploymentPolicyId: "STRING_VALUE",
356
365
  * Staging: true || false,
366
+ * AnycastIpListId: "STRING_VALUE",
357
367
  * },
358
368
  * Id: "STRING_VALUE", // required
359
369
  * IfMatch: "STRING_VALUE",
@@ -439,6 +449,9 @@ declare const UpdateDistributionCommand_base: {
439
449
  * // OriginReadTimeout: Number("int"),
440
450
  * // OriginKeepaliveTimeout: Number("int"),
441
451
  * // },
452
+ * // VpcOriginConfig: { // VpcOriginConfig
453
+ * // VpcOriginId: "STRING_VALUE", // required
454
+ * // },
442
455
  * // ConnectionAttempts: Number("int"),
443
456
  * // ConnectionTimeout: Number("int"),
444
457
  * // OriginShield: { // OriginShield
@@ -528,6 +541,9 @@ declare const UpdateDistributionCommand_base: {
528
541
  * // CachePolicyId: "STRING_VALUE",
529
542
  * // OriginRequestPolicyId: "STRING_VALUE",
530
543
  * // ResponseHeadersPolicyId: "STRING_VALUE",
544
+ * // GrpcConfig: { // GrpcConfig
545
+ * // Enabled: true || false, // required
546
+ * // },
531
547
  * // ForwardedValues: { // ForwardedValues
532
548
  * // QueryString: true || false, // required
533
549
  * // Cookies: { // CookiePreference
@@ -611,6 +627,9 @@ declare const UpdateDistributionCommand_base: {
611
627
  * // CachePolicyId: "STRING_VALUE",
612
628
  * // OriginRequestPolicyId: "STRING_VALUE",
613
629
  * // ResponseHeadersPolicyId: "STRING_VALUE",
630
+ * // GrpcConfig: {
631
+ * // Enabled: true || false, // required
632
+ * // },
614
633
  * // ForwardedValues: {
615
634
  * // QueryString: true || false, // required
616
635
  * // Cookies: {
@@ -654,10 +673,10 @@ declare const UpdateDistributionCommand_base: {
654
673
  * // },
655
674
  * // Comment: "STRING_VALUE", // required
656
675
  * // Logging: { // LoggingConfig
657
- * // Enabled: true || false, // required
658
- * // IncludeCookies: true || false, // required
659
- * // Bucket: "STRING_VALUE", // required
660
- * // Prefix: "STRING_VALUE", // required
676
+ * // Enabled: true || false,
677
+ * // IncludeCookies: true || false,
678
+ * // Bucket: "STRING_VALUE",
679
+ * // Prefix: "STRING_VALUE",
661
680
  * // },
662
681
  * // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
663
682
  * // Enabled: true || false, // required
@@ -684,6 +703,7 @@ declare const UpdateDistributionCommand_base: {
684
703
  * // IsIPV6Enabled: true || false,
685
704
  * // ContinuousDeploymentPolicyId: "STRING_VALUE",
686
705
  * // Staging: true || false,
706
+ * // AnycastIpListId: "STRING_VALUE",
687
707
  * // },
688
708
  * // AliasICPRecordals: [ // AliasICPRecordals
689
709
  * // { // AliasICPRecordal
@@ -713,6 +733,9 @@ declare const UpdateDistributionCommand_base: {
713
733
  * <p>You cannot delete a continuous deployment policy that is associated with a primary
714
734
  * distribution.</p>
715
735
  *
736
+ * @throws {@link EntityNotFound} (client fault)
737
+ * <p>The entity was not found.</p>
738
+ *
716
739
  * @throws {@link IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior} (client fault)
717
740
  * <p>The specified configuration for field-level encryption can't be associated with the
718
741
  * specified cache behavior.</p>
@@ -142,6 +142,9 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
142
142
  * // OriginReadTimeout: Number("int"),
143
143
  * // OriginKeepaliveTimeout: Number("int"),
144
144
  * // },
145
+ * // VpcOriginConfig: { // VpcOriginConfig
146
+ * // VpcOriginId: "STRING_VALUE", // required
147
+ * // },
145
148
  * // ConnectionAttempts: Number("int"),
146
149
  * // ConnectionTimeout: Number("int"),
147
150
  * // OriginShield: { // OriginShield
@@ -231,6 +234,9 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
231
234
  * // CachePolicyId: "STRING_VALUE",
232
235
  * // OriginRequestPolicyId: "STRING_VALUE",
233
236
  * // ResponseHeadersPolicyId: "STRING_VALUE",
237
+ * // GrpcConfig: { // GrpcConfig
238
+ * // Enabled: true || false, // required
239
+ * // },
234
240
  * // ForwardedValues: { // ForwardedValues
235
241
  * // QueryString: true || false, // required
236
242
  * // Cookies: { // CookiePreference
@@ -314,6 +320,9 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
314
320
  * // CachePolicyId: "STRING_VALUE",
315
321
  * // OriginRequestPolicyId: "STRING_VALUE",
316
322
  * // ResponseHeadersPolicyId: "STRING_VALUE",
323
+ * // GrpcConfig: {
324
+ * // Enabled: true || false, // required
325
+ * // },
317
326
  * // ForwardedValues: {
318
327
  * // QueryString: true || false, // required
319
328
  * // Cookies: {
@@ -357,10 +366,10 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
357
366
  * // },
358
367
  * // Comment: "STRING_VALUE", // required
359
368
  * // Logging: { // LoggingConfig
360
- * // Enabled: true || false, // required
361
- * // IncludeCookies: true || false, // required
362
- * // Bucket: "STRING_VALUE", // required
363
- * // Prefix: "STRING_VALUE", // required
369
+ * // Enabled: true || false,
370
+ * // IncludeCookies: true || false,
371
+ * // Bucket: "STRING_VALUE",
372
+ * // Prefix: "STRING_VALUE",
364
373
  * // },
365
374
  * // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
366
375
  * // Enabled: true || false, // required
@@ -387,6 +396,7 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
387
396
  * // IsIPV6Enabled: true || false,
388
397
  * // ContinuousDeploymentPolicyId: "STRING_VALUE",
389
398
  * // Staging: true || false,
399
+ * // AnycastIpListId: "STRING_VALUE",
390
400
  * // },
391
401
  * // AliasICPRecordals: [ // AliasICPRecordals
392
402
  * // { // AliasICPRecordal
@@ -412,6 +422,9 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
412
422
  * @throws {@link CNAMEAlreadyExists} (client fault)
413
423
  * <p>The CNAME specified is already defined for CloudFront.</p>
414
424
  *
425
+ * @throws {@link EntityNotFound} (client fault)
426
+ * <p>The entity was not found.</p>
427
+ *
415
428
  * @throws {@link IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior} (client fault)
416
429
  * <p>The specified configuration for field-level encryption can't be associated with the
417
430
  * specified cache behavior.</p>
@@ -65,7 +65,7 @@ declare const UpdateKeyValueStoreCommand_base: {
65
65
  * <p>Access denied.</p>
66
66
  *
67
67
  * @throws {@link EntityNotFound} (client fault)
68
- * <p>The key value store entity was not found.</p>
68
+ * <p>The entity was not found.</p>
69
69
  *
70
70
  * @throws {@link InvalidArgument} (client fault)
71
71
  * <p>An argument is invalid.</p>
@@ -0,0 +1,141 @@
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 { UpdateVpcOriginRequest, UpdateVpcOriginResult } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateVpcOriginCommand}.
14
+ */
15
+ export interface UpdateVpcOriginCommandInput extends UpdateVpcOriginRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateVpcOriginCommand}.
21
+ */
22
+ export interface UpdateVpcOriginCommandOutput extends UpdateVpcOriginResult, __MetadataBearer {
23
+ }
24
+ declare const UpdateVpcOriginCommand_base: {
25
+ new (input: UpdateVpcOriginCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateVpcOriginCommandInput, UpdateVpcOriginCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateVpcOriginCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateVpcOriginCommandInput, UpdateVpcOriginCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Update an Amazon CloudFront VPC origin in your account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, UpdateVpcOriginCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, UpdateVpcOriginCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
+ * const client = new CloudFrontClient(config);
37
+ * const input = { // UpdateVpcOriginRequest
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
+ * Id: "STRING_VALUE", // required
52
+ * IfMatch: "STRING_VALUE", // required
53
+ * };
54
+ * const command = new UpdateVpcOriginCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // UpdateVpcOriginResult
57
+ * // VpcOrigin: { // VpcOrigin
58
+ * // Id: "STRING_VALUE", // required
59
+ * // Arn: "STRING_VALUE", // required
60
+ * // Status: "STRING_VALUE", // required
61
+ * // CreatedTime: new Date("TIMESTAMP"), // required
62
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
63
+ * // VpcOriginEndpointConfig: { // VpcOriginEndpointConfig
64
+ * // Name: "STRING_VALUE", // required
65
+ * // Arn: "STRING_VALUE", // required
66
+ * // HTTPPort: Number("int"), // required
67
+ * // HTTPSPort: Number("int"), // required
68
+ * // OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required
69
+ * // OriginSslProtocols: { // OriginSslProtocols
70
+ * // Quantity: Number("int"), // required
71
+ * // Items: [ // SslProtocolsList // required
72
+ * // "SSLv3" || "TLSv1" || "TLSv1.1" || "TLSv1.2",
73
+ * // ],
74
+ * // },
75
+ * // },
76
+ * // },
77
+ * // ETag: "STRING_VALUE",
78
+ * // };
79
+ *
80
+ * ```
81
+ *
82
+ * @param UpdateVpcOriginCommandInput - {@link UpdateVpcOriginCommandInput}
83
+ * @returns {@link UpdateVpcOriginCommandOutput}
84
+ * @see {@link UpdateVpcOriginCommandInput} for command's `input` shape.
85
+ * @see {@link UpdateVpcOriginCommandOutput} for command's `response` shape.
86
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
87
+ *
88
+ * @throws {@link AccessDenied} (client fault)
89
+ * <p>Access denied.</p>
90
+ *
91
+ * @throws {@link CannotUpdateEntityWhileInUse} (client fault)
92
+ * <p>The entity cannot be updated while it is in use.</p>
93
+ *
94
+ * @throws {@link EntityAlreadyExists} (client fault)
95
+ * <p>The entity already exists. You must provide a unique
96
+ * entity.</p>
97
+ *
98
+ * @throws {@link EntityLimitExceeded} (client fault)
99
+ * <p>The entity limit has been exceeded.</p>
100
+ *
101
+ * @throws {@link EntityNotFound} (client fault)
102
+ * <p>The entity was not found.</p>
103
+ *
104
+ * @throws {@link IllegalUpdate} (client fault)
105
+ * <p>The update contains modifications that are not allowed.</p>
106
+ *
107
+ * @throws {@link InconsistentQuantities} (client fault)
108
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
109
+ * match.</p>
110
+ *
111
+ * @throws {@link InvalidArgument} (client fault)
112
+ * <p>An argument is invalid.</p>
113
+ *
114
+ * @throws {@link InvalidIfMatchVersion} (client fault)
115
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
116
+ *
117
+ * @throws {@link PreconditionFailed} (client fault)
118
+ * <p>The precondition in one or more of the request fields evaluated to
119
+ * <code>false</code>.</p>
120
+ *
121
+ * @throws {@link UnsupportedOperation} (client fault)
122
+ * <p>This operation is not supported in this region.</p>
123
+ *
124
+ * @throws {@link CloudFrontServiceException}
125
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
126
+ *
127
+ * @public
128
+ */
129
+ export declare class UpdateVpcOriginCommand extends UpdateVpcOriginCommand_base {
130
+ /** @internal type navigation helper, not in runtime. */
131
+ protected static __types: {
132
+ api: {
133
+ input: UpdateVpcOriginRequest;
134
+ output: UpdateVpcOriginResult;
135
+ };
136
+ sdk: {
137
+ input: UpdateVpcOriginCommandInput;
138
+ output: UpdateVpcOriginCommandOutput;
139
+ };
140
+ };
141
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./AssociateAliasCommand";
2
2
  export * from "./CopyDistributionCommand";
3
+ export * from "./CreateAnycastIpListCommand";
3
4
  export * from "./CreateCachePolicyCommand";
4
5
  export * from "./CreateCloudFrontOriginAccessIdentityCommand";
5
6
  export * from "./CreateContinuousDeploymentPolicyCommand";
@@ -19,6 +20,8 @@ export * from "./CreateRealtimeLogConfigCommand";
19
20
  export * from "./CreateResponseHeadersPolicyCommand";
20
21
  export * from "./CreateStreamingDistributionCommand";
21
22
  export * from "./CreateStreamingDistributionWithTagsCommand";
23
+ export * from "./CreateVpcOriginCommand";
24
+ export * from "./DeleteAnycastIpListCommand";
22
25
  export * from "./DeleteCachePolicyCommand";
23
26
  export * from "./DeleteCloudFrontOriginAccessIdentityCommand";
24
27
  export * from "./DeleteContinuousDeploymentPolicyCommand";
@@ -35,8 +38,10 @@ export * from "./DeletePublicKeyCommand";
35
38
  export * from "./DeleteRealtimeLogConfigCommand";
36
39
  export * from "./DeleteResponseHeadersPolicyCommand";
37
40
  export * from "./DeleteStreamingDistributionCommand";
41
+ export * from "./DeleteVpcOriginCommand";
38
42
  export * from "./DescribeFunctionCommand";
39
43
  export * from "./DescribeKeyValueStoreCommand";
44
+ export * from "./GetAnycastIpListCommand";
40
45
  export * from "./GetCachePolicyCommand";
41
46
  export * from "./GetCachePolicyConfigCommand";
42
47
  export * from "./GetCloudFrontOriginAccessIdentityCommand";
@@ -65,15 +70,19 @@ export * from "./GetResponseHeadersPolicyCommand";
65
70
  export * from "./GetResponseHeadersPolicyConfigCommand";
66
71
  export * from "./GetStreamingDistributionCommand";
67
72
  export * from "./GetStreamingDistributionConfigCommand";
73
+ export * from "./GetVpcOriginCommand";
74
+ export * from "./ListAnycastIpListsCommand";
68
75
  export * from "./ListCachePoliciesCommand";
69
76
  export * from "./ListCloudFrontOriginAccessIdentitiesCommand";
70
77
  export * from "./ListConflictingAliasesCommand";
71
78
  export * from "./ListContinuousDeploymentPoliciesCommand";
79
+ export * from "./ListDistributionsByAnycastIpListIdCommand";
72
80
  export * from "./ListDistributionsByCachePolicyIdCommand";
73
81
  export * from "./ListDistributionsByKeyGroupCommand";
74
82
  export * from "./ListDistributionsByOriginRequestPolicyIdCommand";
75
83
  export * from "./ListDistributionsByRealtimeLogConfigCommand";
76
84
  export * from "./ListDistributionsByResponseHeadersPolicyIdCommand";
85
+ export * from "./ListDistributionsByVpcOriginIdCommand";
77
86
  export * from "./ListDistributionsByWebACLIdCommand";
78
87
  export * from "./ListDistributionsCommand";
79
88
  export * from "./ListFieldLevelEncryptionConfigsCommand";
@@ -89,6 +98,7 @@ export * from "./ListRealtimeLogConfigsCommand";
89
98
  export * from "./ListResponseHeadersPoliciesCommand";
90
99
  export * from "./ListStreamingDistributionsCommand";
91
100
  export * from "./ListTagsForResourceCommand";
101
+ export * from "./ListVpcOriginsCommand";
92
102
  export * from "./PublishFunctionCommand";
93
103
  export * from "./TagResourceCommand";
94
104
  export * from "./TestFunctionCommand";
@@ -109,3 +119,4 @@ export * from "./UpdatePublicKeyCommand";
109
119
  export * from "./UpdateRealtimeLogConfigCommand";
110
120
  export * from "./UpdateResponseHeadersPolicyCommand";
111
121
  export * from "./UpdateStreamingDistributionCommand";
122
+ export * from "./UpdateVpcOriginCommand";