@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
@@ -4,6 +4,8 @@ import {
4
4
  ActiveTrustedSigners,
5
5
  Aliases,
6
6
  AliasICPRecordal,
7
+ AnycastIpList,
8
+ AnycastIpListCollection,
7
9
  CacheBehaviors,
8
10
  CachePolicy,
9
11
  CachePolicyConfig,
@@ -39,24 +41,71 @@ import {
39
41
  OriginAccessControlSigningBehaviors,
40
42
  OriginAccessControlSigningProtocols,
41
43
  OriginGroups,
44
+ OriginProtocolPolicy,
42
45
  OriginRequestPolicy,
43
46
  OriginRequestPolicyConfig,
44
47
  Origins,
48
+ OriginSslProtocols,
45
49
  PriceClass,
46
50
  PublicKey,
47
51
  PublicKeyConfig,
48
52
  QueryArgProfileConfig,
49
53
  RealtimeLogConfig,
50
- ResponseHeadersPolicyContentSecurityPolicy,
51
- ResponseHeadersPolicyContentTypeOptions,
52
- ResponseHeadersPolicyCorsConfig,
53
- ResponseHeadersPolicyCustomHeadersConfig,
54
- ResponseHeadersPolicyRemoveHeadersConfig,
54
+ ResponseHeadersPolicyAccessControlAllowHeaders,
55
+ ResponseHeadersPolicyAccessControlAllowMethods,
55
56
  Restrictions,
56
57
  Tags,
57
58
  TrustedSigners,
58
59
  ViewerCertificate,
59
60
  } from "./models_0";
61
+ export interface ResponseHeadersPolicyAccessControlAllowOrigins {
62
+ Quantity: number | undefined;
63
+ Items: string[] | undefined;
64
+ }
65
+ export interface ResponseHeadersPolicyAccessControlExposeHeaders {
66
+ Quantity: number | undefined;
67
+ Items?: string[] | undefined;
68
+ }
69
+ export interface ResponseHeadersPolicyCorsConfig {
70
+ AccessControlAllowOrigins:
71
+ | ResponseHeadersPolicyAccessControlAllowOrigins
72
+ | undefined;
73
+ AccessControlAllowHeaders:
74
+ | ResponseHeadersPolicyAccessControlAllowHeaders
75
+ | undefined;
76
+ AccessControlAllowMethods:
77
+ | ResponseHeadersPolicyAccessControlAllowMethods
78
+ | undefined;
79
+ AccessControlAllowCredentials: boolean | undefined;
80
+ AccessControlExposeHeaders?:
81
+ | ResponseHeadersPolicyAccessControlExposeHeaders
82
+ | undefined;
83
+ AccessControlMaxAgeSec?: number | undefined;
84
+ OriginOverride: boolean | undefined;
85
+ }
86
+ export interface ResponseHeadersPolicyCustomHeader {
87
+ Header: string | undefined;
88
+ Value: string | undefined;
89
+ Override: boolean | undefined;
90
+ }
91
+ export interface ResponseHeadersPolicyCustomHeadersConfig {
92
+ Quantity: number | undefined;
93
+ Items?: ResponseHeadersPolicyCustomHeader[] | undefined;
94
+ }
95
+ export interface ResponseHeadersPolicyRemoveHeader {
96
+ Header: string | undefined;
97
+ }
98
+ export interface ResponseHeadersPolicyRemoveHeadersConfig {
99
+ Quantity: number | undefined;
100
+ Items?: ResponseHeadersPolicyRemoveHeader[] | undefined;
101
+ }
102
+ export interface ResponseHeadersPolicyContentSecurityPolicy {
103
+ Override: boolean | undefined;
104
+ ContentSecurityPolicy: string | undefined;
105
+ }
106
+ export interface ResponseHeadersPolicyContentTypeOptions {
107
+ Override: boolean | undefined;
108
+ }
60
109
  export declare const FrameOptionsList: {
61
110
  readonly DENY: "DENY";
62
111
  readonly SAMEORIGIN: "SAMEORIGIN";
@@ -269,9 +318,34 @@ export interface CreateStreamingDistributionWithTagsResult {
269
318
  Location?: string | undefined;
270
319
  ETag?: string | undefined;
271
320
  }
272
- export interface DeleteCachePolicyRequest {
321
+ export interface VpcOriginEndpointConfig {
322
+ Name: string | undefined;
323
+ Arn: string | undefined;
324
+ HTTPPort: number | undefined;
325
+ HTTPSPort: number | undefined;
326
+ OriginProtocolPolicy: OriginProtocolPolicy | undefined;
327
+ OriginSslProtocols?: OriginSslProtocols | undefined;
328
+ }
329
+ export interface CreateVpcOriginRequest {
330
+ VpcOriginEndpointConfig: VpcOriginEndpointConfig | undefined;
331
+ Tags?: Tags | undefined;
332
+ }
333
+ export interface VpcOrigin {
273
334
  Id: string | undefined;
274
- IfMatch?: string | undefined;
335
+ Arn: string | undefined;
336
+ Status: string | undefined;
337
+ CreatedTime: Date | undefined;
338
+ LastModifiedTime: Date | undefined;
339
+ VpcOriginEndpointConfig: VpcOriginEndpointConfig | undefined;
340
+ }
341
+ export interface CreateVpcOriginResult {
342
+ VpcOrigin?: VpcOrigin | undefined;
343
+ Location?: string | undefined;
344
+ ETag?: string | undefined;
345
+ }
346
+ export interface DeleteAnycastIpListRequest {
347
+ Id: string | undefined;
348
+ IfMatch: string | undefined;
275
349
  }
276
350
  export declare class IllegalDelete extends __BaseException {
277
351
  readonly name: "IllegalDelete";
@@ -279,6 +353,10 @@ export declare class IllegalDelete extends __BaseException {
279
353
  Message?: string | undefined;
280
354
  constructor(opts: __ExceptionOptionType<IllegalDelete, __BaseException>);
281
355
  }
356
+ export interface DeleteCachePolicyRequest {
357
+ Id: string | undefined;
358
+ IfMatch?: string | undefined;
359
+ }
282
360
  export declare class CloudFrontOriginAccessIdentityInUse extends __BaseException {
283
361
  readonly name: "CloudFrontOriginAccessIdentityInUse";
284
362
  readonly $fault: "client";
@@ -389,12 +467,6 @@ export interface DeleteKeyValueStoreRequest {
389
467
  Name: string | undefined;
390
468
  IfMatch: string | undefined;
391
469
  }
392
- export declare class EntityNotFound extends __BaseException {
393
- readonly name: "EntityNotFound";
394
- readonly $fault: "client";
395
- Message?: string | undefined;
396
- constructor(opts: __ExceptionOptionType<EntityNotFound, __BaseException>);
397
- }
398
470
  export interface DeleteMonitoringSubscriptionRequest {
399
471
  DistributionId: string | undefined;
400
472
  }
@@ -496,6 +568,14 @@ export declare class StreamingDistributionNotDisabled extends __BaseException {
496
568
  >
497
569
  );
498
570
  }
571
+ export interface DeleteVpcOriginRequest {
572
+ Id: string | undefined;
573
+ IfMatch: string | undefined;
574
+ }
575
+ export interface DeleteVpcOriginResult {
576
+ VpcOrigin?: VpcOrigin | undefined;
577
+ ETag?: string | undefined;
578
+ }
499
579
  export interface DescribeFunctionRequest {
500
580
  Name: string | undefined;
501
581
  Stage?: FunctionStage | undefined;
@@ -511,6 +591,13 @@ export interface DescribeKeyValueStoreResult {
511
591
  KeyValueStore?: KeyValueStore | undefined;
512
592
  ETag?: string | undefined;
513
593
  }
594
+ export interface GetAnycastIpListRequest {
595
+ Id: string | undefined;
596
+ }
597
+ export interface GetAnycastIpListResult {
598
+ AnycastIpList?: AnycastIpList | undefined;
599
+ ETag?: string | undefined;
600
+ }
514
601
  export interface GetCachePolicyRequest {
515
602
  Id: string | undefined;
516
603
  }
@@ -720,6 +807,20 @@ export interface GetStreamingDistributionConfigResult {
720
807
  StreamingDistributionConfig?: StreamingDistributionConfig | undefined;
721
808
  ETag?: string | undefined;
722
809
  }
810
+ export interface GetVpcOriginRequest {
811
+ Id: string | undefined;
812
+ }
813
+ export interface GetVpcOriginResult {
814
+ VpcOrigin?: VpcOrigin | undefined;
815
+ ETag?: string | undefined;
816
+ }
817
+ export interface ListAnycastIpListsRequest {
818
+ Marker?: string | undefined;
819
+ MaxItems?: number | undefined;
820
+ }
821
+ export interface ListAnycastIpListsResult {
822
+ AnycastIpLists?: AnycastIpListCollection | undefined;
823
+ }
723
824
  export interface ListCachePoliciesRequest {
724
825
  Type?: CachePolicyType | undefined;
725
826
  Marker?: string | undefined;
@@ -812,6 +913,7 @@ export interface DistributionSummary {
812
913
  IsIPV6Enabled: boolean | undefined;
813
914
  AliasICPRecordals?: AliasICPRecordal[] | undefined;
814
915
  Staging: boolean | undefined;
916
+ AnycastIpListId?: string | undefined;
815
917
  }
816
918
  export interface DistributionList {
817
919
  Marker: string | undefined;
@@ -824,6 +926,14 @@ export interface DistributionList {
824
926
  export interface ListDistributionsResult {
825
927
  DistributionList?: DistributionList | undefined;
826
928
  }
929
+ export interface ListDistributionsByAnycastIpListIdRequest {
930
+ Marker?: string | undefined;
931
+ MaxItems?: number | undefined;
932
+ AnycastIpListId: string | undefined;
933
+ }
934
+ export interface ListDistributionsByAnycastIpListIdResult {
935
+ DistributionList?: DistributionList | undefined;
936
+ }
827
937
  export interface ListDistributionsByCachePolicyIdRequest {
828
938
  Marker?: string | undefined;
829
939
  MaxItems?: number | undefined;
@@ -873,6 +983,14 @@ export interface ListDistributionsByResponseHeadersPolicyIdRequest {
873
983
  export interface ListDistributionsByResponseHeadersPolicyIdResult {
874
984
  DistributionIdList?: DistributionIdList | undefined;
875
985
  }
986
+ export interface ListDistributionsByVpcOriginIdRequest {
987
+ Marker?: string | undefined;
988
+ MaxItems?: number | undefined;
989
+ VpcOriginId: string | undefined;
990
+ }
991
+ export interface ListDistributionsByVpcOriginIdResult {
992
+ DistributionIdList?: DistributionIdList | undefined;
993
+ }
876
994
  export interface ListDistributionsByWebACLIdRequest {
877
995
  Marker?: string | undefined;
878
996
  MaxItems?: number | undefined;
@@ -1125,6 +1243,30 @@ export interface ListTagsForResourceRequest {
1125
1243
  export interface ListTagsForResourceResult {
1126
1244
  Tags: Tags | undefined;
1127
1245
  }
1246
+ export interface ListVpcOriginsRequest {
1247
+ Marker?: string | undefined;
1248
+ MaxItems?: number | undefined;
1249
+ }
1250
+ export interface VpcOriginSummary {
1251
+ Id: string | undefined;
1252
+ Name: string | undefined;
1253
+ Status: string | undefined;
1254
+ CreatedTime: Date | undefined;
1255
+ LastModifiedTime: Date | undefined;
1256
+ Arn: string | undefined;
1257
+ OriginEndpointArn: string | undefined;
1258
+ }
1259
+ export interface VpcOriginList {
1260
+ Marker: string | undefined;
1261
+ NextMarker?: string | undefined;
1262
+ MaxItems: number | undefined;
1263
+ IsTruncated: boolean | undefined;
1264
+ Quantity: number | undefined;
1265
+ Items?: VpcOriginSummary[] | undefined;
1266
+ }
1267
+ export interface ListVpcOriginsResult {
1268
+ VpcOriginList?: VpcOriginList | undefined;
1269
+ }
1128
1270
  export interface PublishFunctionRequest {
1129
1271
  Name: string | undefined;
1130
1272
  IfMatch: string | undefined;
@@ -1317,6 +1459,15 @@ export interface UpdateStreamingDistributionResult {
1317
1459
  StreamingDistribution?: StreamingDistribution | undefined;
1318
1460
  ETag?: string | undefined;
1319
1461
  }
1462
+ export interface UpdateVpcOriginRequest {
1463
+ VpcOriginEndpointConfig: VpcOriginEndpointConfig | undefined;
1464
+ Id: string | undefined;
1465
+ IfMatch: string | undefined;
1466
+ }
1467
+ export interface UpdateVpcOriginResult {
1468
+ VpcOrigin?: VpcOrigin | undefined;
1469
+ ETag?: string | undefined;
1470
+ }
1320
1471
  export declare const GetDistributionResultFilterSensitiveLog: (
1321
1472
  obj: GetDistributionResult
1322
1473
  ) => any;
@@ -1335,6 +1486,9 @@ export declare const DistributionListFilterSensitiveLog: (
1335
1486
  export declare const ListDistributionsResultFilterSensitiveLog: (
1336
1487
  obj: ListDistributionsResult
1337
1488
  ) => any;
1489
+ export declare const ListDistributionsByAnycastIpListIdResultFilterSensitiveLog: (
1490
+ obj: ListDistributionsByAnycastIpListIdResult
1491
+ ) => any;
1338
1492
  export declare const ListDistributionsByRealtimeLogConfigResultFilterSensitiveLog: (
1339
1493
  obj: ListDistributionsByRealtimeLogConfigResult
1340
1494
  ) => any;
@@ -11,6 +11,10 @@ import {
11
11
  CopyDistributionCommandInput,
12
12
  CopyDistributionCommandOutput,
13
13
  } from "../commands/CopyDistributionCommand";
14
+ import {
15
+ CreateAnycastIpListCommandInput,
16
+ CreateAnycastIpListCommandOutput,
17
+ } from "../commands/CreateAnycastIpListCommand";
14
18
  import {
15
19
  CreateCachePolicyCommandInput,
16
20
  CreateCachePolicyCommandOutput,
@@ -87,6 +91,14 @@ import {
87
91
  CreateStreamingDistributionWithTagsCommandInput,
88
92
  CreateStreamingDistributionWithTagsCommandOutput,
89
93
  } from "../commands/CreateStreamingDistributionWithTagsCommand";
94
+ import {
95
+ CreateVpcOriginCommandInput,
96
+ CreateVpcOriginCommandOutput,
97
+ } from "../commands/CreateVpcOriginCommand";
98
+ import {
99
+ DeleteAnycastIpListCommandInput,
100
+ DeleteAnycastIpListCommandOutput,
101
+ } from "../commands/DeleteAnycastIpListCommand";
90
102
  import {
91
103
  DeleteCachePolicyCommandInput,
92
104
  DeleteCachePolicyCommandOutput,
@@ -151,6 +163,10 @@ import {
151
163
  DeleteStreamingDistributionCommandInput,
152
164
  DeleteStreamingDistributionCommandOutput,
153
165
  } from "../commands/DeleteStreamingDistributionCommand";
166
+ import {
167
+ DeleteVpcOriginCommandInput,
168
+ DeleteVpcOriginCommandOutput,
169
+ } from "../commands/DeleteVpcOriginCommand";
154
170
  import {
155
171
  DescribeFunctionCommandInput,
156
172
  DescribeFunctionCommandOutput,
@@ -159,6 +175,10 @@ import {
159
175
  DescribeKeyValueStoreCommandInput,
160
176
  DescribeKeyValueStoreCommandOutput,
161
177
  } from "../commands/DescribeKeyValueStoreCommand";
178
+ import {
179
+ GetAnycastIpListCommandInput,
180
+ GetAnycastIpListCommandOutput,
181
+ } from "../commands/GetAnycastIpListCommand";
162
182
  import {
163
183
  GetCachePolicyCommandInput,
164
184
  GetCachePolicyCommandOutput,
@@ -271,6 +291,14 @@ import {
271
291
  GetStreamingDistributionConfigCommandInput,
272
292
  GetStreamingDistributionConfigCommandOutput,
273
293
  } from "../commands/GetStreamingDistributionConfigCommand";
294
+ import {
295
+ GetVpcOriginCommandInput,
296
+ GetVpcOriginCommandOutput,
297
+ } from "../commands/GetVpcOriginCommand";
298
+ import {
299
+ ListAnycastIpListsCommandInput,
300
+ ListAnycastIpListsCommandOutput,
301
+ } from "../commands/ListAnycastIpListsCommand";
274
302
  import {
275
303
  ListCachePoliciesCommandInput,
276
304
  ListCachePoliciesCommandOutput,
@@ -287,6 +315,10 @@ import {
287
315
  ListContinuousDeploymentPoliciesCommandInput,
288
316
  ListContinuousDeploymentPoliciesCommandOutput,
289
317
  } from "../commands/ListContinuousDeploymentPoliciesCommand";
318
+ import {
319
+ ListDistributionsByAnycastIpListIdCommandInput,
320
+ ListDistributionsByAnycastIpListIdCommandOutput,
321
+ } from "../commands/ListDistributionsByAnycastIpListIdCommand";
290
322
  import {
291
323
  ListDistributionsByCachePolicyIdCommandInput,
292
324
  ListDistributionsByCachePolicyIdCommandOutput,
@@ -307,6 +339,10 @@ import {
307
339
  ListDistributionsByResponseHeadersPolicyIdCommandInput,
308
340
  ListDistributionsByResponseHeadersPolicyIdCommandOutput,
309
341
  } from "../commands/ListDistributionsByResponseHeadersPolicyIdCommand";
342
+ import {
343
+ ListDistributionsByVpcOriginIdCommandInput,
344
+ ListDistributionsByVpcOriginIdCommandOutput,
345
+ } from "../commands/ListDistributionsByVpcOriginIdCommand";
310
346
  import {
311
347
  ListDistributionsByWebACLIdCommandInput,
312
348
  ListDistributionsByWebACLIdCommandOutput,
@@ -367,6 +403,10 @@ import {
367
403
  ListTagsForResourceCommandInput,
368
404
  ListTagsForResourceCommandOutput,
369
405
  } from "../commands/ListTagsForResourceCommand";
406
+ import {
407
+ ListVpcOriginsCommandInput,
408
+ ListVpcOriginsCommandOutput,
409
+ } from "../commands/ListVpcOriginsCommand";
370
410
  import {
371
411
  PublishFunctionCommandInput,
372
412
  PublishFunctionCommandOutput,
@@ -447,6 +487,10 @@ import {
447
487
  UpdateStreamingDistributionCommandInput,
448
488
  UpdateStreamingDistributionCommandOutput,
449
489
  } from "../commands/UpdateStreamingDistributionCommand";
490
+ import {
491
+ UpdateVpcOriginCommandInput,
492
+ UpdateVpcOriginCommandOutput,
493
+ } from "../commands/UpdateVpcOriginCommand";
450
494
  export declare const se_AssociateAliasCommand: (
451
495
  input: AssociateAliasCommandInput,
452
496
  context: __SerdeContext
@@ -455,6 +499,10 @@ export declare const se_CopyDistributionCommand: (
455
499
  input: CopyDistributionCommandInput,
456
500
  context: __SerdeContext
457
501
  ) => Promise<__HttpRequest>;
502
+ export declare const se_CreateAnycastIpListCommand: (
503
+ input: CreateAnycastIpListCommandInput,
504
+ context: __SerdeContext
505
+ ) => Promise<__HttpRequest>;
458
506
  export declare const se_CreateCachePolicyCommand: (
459
507
  input: CreateCachePolicyCommandInput,
460
508
  context: __SerdeContext
@@ -531,6 +579,14 @@ export declare const se_CreateStreamingDistributionWithTagsCommand: (
531
579
  input: CreateStreamingDistributionWithTagsCommandInput,
532
580
  context: __SerdeContext
533
581
  ) => Promise<__HttpRequest>;
582
+ export declare const se_CreateVpcOriginCommand: (
583
+ input: CreateVpcOriginCommandInput,
584
+ context: __SerdeContext
585
+ ) => Promise<__HttpRequest>;
586
+ export declare const se_DeleteAnycastIpListCommand: (
587
+ input: DeleteAnycastIpListCommandInput,
588
+ context: __SerdeContext
589
+ ) => Promise<__HttpRequest>;
534
590
  export declare const se_DeleteCachePolicyCommand: (
535
591
  input: DeleteCachePolicyCommandInput,
536
592
  context: __SerdeContext
@@ -595,6 +651,10 @@ export declare const se_DeleteStreamingDistributionCommand: (
595
651
  input: DeleteStreamingDistributionCommandInput,
596
652
  context: __SerdeContext
597
653
  ) => Promise<__HttpRequest>;
654
+ export declare const se_DeleteVpcOriginCommand: (
655
+ input: DeleteVpcOriginCommandInput,
656
+ context: __SerdeContext
657
+ ) => Promise<__HttpRequest>;
598
658
  export declare const se_DescribeFunctionCommand: (
599
659
  input: DescribeFunctionCommandInput,
600
660
  context: __SerdeContext
@@ -603,6 +663,10 @@ export declare const se_DescribeKeyValueStoreCommand: (
603
663
  input: DescribeKeyValueStoreCommandInput,
604
664
  context: __SerdeContext
605
665
  ) => Promise<__HttpRequest>;
666
+ export declare const se_GetAnycastIpListCommand: (
667
+ input: GetAnycastIpListCommandInput,
668
+ context: __SerdeContext
669
+ ) => Promise<__HttpRequest>;
606
670
  export declare const se_GetCachePolicyCommand: (
607
671
  input: GetCachePolicyCommandInput,
608
672
  context: __SerdeContext
@@ -715,6 +779,14 @@ export declare const se_GetStreamingDistributionConfigCommand: (
715
779
  input: GetStreamingDistributionConfigCommandInput,
716
780
  context: __SerdeContext
717
781
  ) => Promise<__HttpRequest>;
782
+ export declare const se_GetVpcOriginCommand: (
783
+ input: GetVpcOriginCommandInput,
784
+ context: __SerdeContext
785
+ ) => Promise<__HttpRequest>;
786
+ export declare const se_ListAnycastIpListsCommand: (
787
+ input: ListAnycastIpListsCommandInput,
788
+ context: __SerdeContext
789
+ ) => Promise<__HttpRequest>;
718
790
  export declare const se_ListCachePoliciesCommand: (
719
791
  input: ListCachePoliciesCommandInput,
720
792
  context: __SerdeContext
@@ -735,6 +807,10 @@ export declare const se_ListDistributionsCommand: (
735
807
  input: ListDistributionsCommandInput,
736
808
  context: __SerdeContext
737
809
  ) => Promise<__HttpRequest>;
810
+ export declare const se_ListDistributionsByAnycastIpListIdCommand: (
811
+ input: ListDistributionsByAnycastIpListIdCommandInput,
812
+ context: __SerdeContext
813
+ ) => Promise<__HttpRequest>;
738
814
  export declare const se_ListDistributionsByCachePolicyIdCommand: (
739
815
  input: ListDistributionsByCachePolicyIdCommandInput,
740
816
  context: __SerdeContext
@@ -755,6 +831,10 @@ export declare const se_ListDistributionsByResponseHeadersPolicyIdCommand: (
755
831
  input: ListDistributionsByResponseHeadersPolicyIdCommandInput,
756
832
  context: __SerdeContext
757
833
  ) => Promise<__HttpRequest>;
834
+ export declare const se_ListDistributionsByVpcOriginIdCommand: (
835
+ input: ListDistributionsByVpcOriginIdCommandInput,
836
+ context: __SerdeContext
837
+ ) => Promise<__HttpRequest>;
758
838
  export declare const se_ListDistributionsByWebACLIdCommand: (
759
839
  input: ListDistributionsByWebACLIdCommandInput,
760
840
  context: __SerdeContext
@@ -811,6 +891,10 @@ export declare const se_ListTagsForResourceCommand: (
811
891
  input: ListTagsForResourceCommandInput,
812
892
  context: __SerdeContext
813
893
  ) => Promise<__HttpRequest>;
894
+ export declare const se_ListVpcOriginsCommand: (
895
+ input: ListVpcOriginsCommandInput,
896
+ context: __SerdeContext
897
+ ) => Promise<__HttpRequest>;
814
898
  export declare const se_PublishFunctionCommand: (
815
899
  input: PublishFunctionCommandInput,
816
900
  context: __SerdeContext
@@ -891,6 +975,10 @@ export declare const se_UpdateStreamingDistributionCommand: (
891
975
  input: UpdateStreamingDistributionCommandInput,
892
976
  context: __SerdeContext
893
977
  ) => Promise<__HttpRequest>;
978
+ export declare const se_UpdateVpcOriginCommand: (
979
+ input: UpdateVpcOriginCommandInput,
980
+ context: __SerdeContext
981
+ ) => Promise<__HttpRequest>;
894
982
  export declare const de_AssociateAliasCommand: (
895
983
  output: __HttpResponse,
896
984
  context: __SerdeContext
@@ -899,6 +987,10 @@ export declare const de_CopyDistributionCommand: (
899
987
  output: __HttpResponse,
900
988
  context: __SerdeContext
901
989
  ) => Promise<CopyDistributionCommandOutput>;
990
+ export declare const de_CreateAnycastIpListCommand: (
991
+ output: __HttpResponse,
992
+ context: __SerdeContext
993
+ ) => Promise<CreateAnycastIpListCommandOutput>;
902
994
  export declare const de_CreateCachePolicyCommand: (
903
995
  output: __HttpResponse,
904
996
  context: __SerdeContext
@@ -975,6 +1067,14 @@ export declare const de_CreateStreamingDistributionWithTagsCommand: (
975
1067
  output: __HttpResponse,
976
1068
  context: __SerdeContext
977
1069
  ) => Promise<CreateStreamingDistributionWithTagsCommandOutput>;
1070
+ export declare const de_CreateVpcOriginCommand: (
1071
+ output: __HttpResponse,
1072
+ context: __SerdeContext
1073
+ ) => Promise<CreateVpcOriginCommandOutput>;
1074
+ export declare const de_DeleteAnycastIpListCommand: (
1075
+ output: __HttpResponse,
1076
+ context: __SerdeContext
1077
+ ) => Promise<DeleteAnycastIpListCommandOutput>;
978
1078
  export declare const de_DeleteCachePolicyCommand: (
979
1079
  output: __HttpResponse,
980
1080
  context: __SerdeContext
@@ -1039,6 +1139,10 @@ export declare const de_DeleteStreamingDistributionCommand: (
1039
1139
  output: __HttpResponse,
1040
1140
  context: __SerdeContext
1041
1141
  ) => Promise<DeleteStreamingDistributionCommandOutput>;
1142
+ export declare const de_DeleteVpcOriginCommand: (
1143
+ output: __HttpResponse,
1144
+ context: __SerdeContext
1145
+ ) => Promise<DeleteVpcOriginCommandOutput>;
1042
1146
  export declare const de_DescribeFunctionCommand: (
1043
1147
  output: __HttpResponse,
1044
1148
  context: __SerdeContext
@@ -1047,6 +1151,10 @@ export declare const de_DescribeKeyValueStoreCommand: (
1047
1151
  output: __HttpResponse,
1048
1152
  context: __SerdeContext
1049
1153
  ) => Promise<DescribeKeyValueStoreCommandOutput>;
1154
+ export declare const de_GetAnycastIpListCommand: (
1155
+ output: __HttpResponse,
1156
+ context: __SerdeContext
1157
+ ) => Promise<GetAnycastIpListCommandOutput>;
1050
1158
  export declare const de_GetCachePolicyCommand: (
1051
1159
  output: __HttpResponse,
1052
1160
  context: __SerdeContext
@@ -1159,6 +1267,14 @@ export declare const de_GetStreamingDistributionConfigCommand: (
1159
1267
  output: __HttpResponse,
1160
1268
  context: __SerdeContext
1161
1269
  ) => Promise<GetStreamingDistributionConfigCommandOutput>;
1270
+ export declare const de_GetVpcOriginCommand: (
1271
+ output: __HttpResponse,
1272
+ context: __SerdeContext
1273
+ ) => Promise<GetVpcOriginCommandOutput>;
1274
+ export declare const de_ListAnycastIpListsCommand: (
1275
+ output: __HttpResponse,
1276
+ context: __SerdeContext
1277
+ ) => Promise<ListAnycastIpListsCommandOutput>;
1162
1278
  export declare const de_ListCachePoliciesCommand: (
1163
1279
  output: __HttpResponse,
1164
1280
  context: __SerdeContext
@@ -1179,6 +1295,10 @@ export declare const de_ListDistributionsCommand: (
1179
1295
  output: __HttpResponse,
1180
1296
  context: __SerdeContext
1181
1297
  ) => Promise<ListDistributionsCommandOutput>;
1298
+ export declare const de_ListDistributionsByAnycastIpListIdCommand: (
1299
+ output: __HttpResponse,
1300
+ context: __SerdeContext
1301
+ ) => Promise<ListDistributionsByAnycastIpListIdCommandOutput>;
1182
1302
  export declare const de_ListDistributionsByCachePolicyIdCommand: (
1183
1303
  output: __HttpResponse,
1184
1304
  context: __SerdeContext
@@ -1199,6 +1319,10 @@ export declare const de_ListDistributionsByResponseHeadersPolicyIdCommand: (
1199
1319
  output: __HttpResponse,
1200
1320
  context: __SerdeContext
1201
1321
  ) => Promise<ListDistributionsByResponseHeadersPolicyIdCommandOutput>;
1322
+ export declare const de_ListDistributionsByVpcOriginIdCommand: (
1323
+ output: __HttpResponse,
1324
+ context: __SerdeContext
1325
+ ) => Promise<ListDistributionsByVpcOriginIdCommandOutput>;
1202
1326
  export declare const de_ListDistributionsByWebACLIdCommand: (
1203
1327
  output: __HttpResponse,
1204
1328
  context: __SerdeContext
@@ -1255,6 +1379,10 @@ export declare const de_ListTagsForResourceCommand: (
1255
1379
  output: __HttpResponse,
1256
1380
  context: __SerdeContext
1257
1381
  ) => Promise<ListTagsForResourceCommandOutput>;
1382
+ export declare const de_ListVpcOriginsCommand: (
1383
+ output: __HttpResponse,
1384
+ context: __SerdeContext
1385
+ ) => Promise<ListVpcOriginsCommandOutput>;
1258
1386
  export declare const de_PublishFunctionCommand: (
1259
1387
  output: __HttpResponse,
1260
1388
  context: __SerdeContext
@@ -1335,3 +1463,7 @@ export declare const de_UpdateStreamingDistributionCommand: (
1335
1463
  output: __HttpResponse,
1336
1464
  context: __SerdeContext
1337
1465
  ) => Promise<UpdateStreamingDistributionCommandOutput>;
1466
+ export declare const de_UpdateVpcOriginCommand: (
1467
+ output: __HttpResponse,
1468
+ context: __SerdeContext
1469
+ ) => Promise<UpdateVpcOriginCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudfront",
3
3
  "description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
4
- "version": "3.693.0",
4
+ "version": "3.697.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudfront",
@@ -20,47 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.693.0",
24
- "@aws-sdk/client-sts": "3.693.0",
25
- "@aws-sdk/core": "3.693.0",
26
- "@aws-sdk/credential-provider-node": "3.693.0",
27
- "@aws-sdk/middleware-host-header": "3.693.0",
28
- "@aws-sdk/middleware-logger": "3.693.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.693.0",
30
- "@aws-sdk/middleware-user-agent": "3.693.0",
31
- "@aws-sdk/region-config-resolver": "3.693.0",
32
- "@aws-sdk/types": "3.692.0",
33
- "@aws-sdk/util-endpoints": "3.693.0",
34
- "@aws-sdk/util-user-agent-browser": "3.693.0",
35
- "@aws-sdk/util-user-agent-node": "3.693.0",
36
- "@aws-sdk/xml-builder": "3.693.0",
37
- "@smithy/config-resolver": "^3.0.11",
38
- "@smithy/core": "^2.5.2",
39
- "@smithy/fetch-http-handler": "^4.1.0",
40
- "@smithy/hash-node": "^3.0.9",
41
- "@smithy/invalid-dependency": "^3.0.9",
42
- "@smithy/middleware-content-length": "^3.0.11",
43
- "@smithy/middleware-endpoint": "^3.2.2",
44
- "@smithy/middleware-retry": "^3.0.26",
45
- "@smithy/middleware-serde": "^3.0.9",
46
- "@smithy/middleware-stack": "^3.0.9",
47
- "@smithy/node-config-provider": "^3.1.10",
48
- "@smithy/node-http-handler": "^3.3.0",
49
- "@smithy/protocol-http": "^4.1.6",
50
- "@smithy/smithy-client": "^3.4.3",
51
- "@smithy/types": "^3.7.0",
52
- "@smithy/url-parser": "^3.0.9",
23
+ "@aws-sdk/client-sso-oidc": "3.696.0",
24
+ "@aws-sdk/client-sts": "3.696.0",
25
+ "@aws-sdk/core": "3.696.0",
26
+ "@aws-sdk/credential-provider-node": "3.696.0",
27
+ "@aws-sdk/middleware-host-header": "3.696.0",
28
+ "@aws-sdk/middleware-logger": "3.696.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.696.0",
30
+ "@aws-sdk/middleware-user-agent": "3.696.0",
31
+ "@aws-sdk/region-config-resolver": "3.696.0",
32
+ "@aws-sdk/types": "3.696.0",
33
+ "@aws-sdk/util-endpoints": "3.696.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.696.0",
35
+ "@aws-sdk/util-user-agent-node": "3.696.0",
36
+ "@aws-sdk/xml-builder": "3.696.0",
37
+ "@smithy/config-resolver": "^3.0.12",
38
+ "@smithy/core": "^2.5.3",
39
+ "@smithy/fetch-http-handler": "^4.1.1",
40
+ "@smithy/hash-node": "^3.0.10",
41
+ "@smithy/invalid-dependency": "^3.0.10",
42
+ "@smithy/middleware-content-length": "^3.0.12",
43
+ "@smithy/middleware-endpoint": "^3.2.3",
44
+ "@smithy/middleware-retry": "^3.0.27",
45
+ "@smithy/middleware-serde": "^3.0.10",
46
+ "@smithy/middleware-stack": "^3.0.10",
47
+ "@smithy/node-config-provider": "^3.1.11",
48
+ "@smithy/node-http-handler": "^3.3.1",
49
+ "@smithy/protocol-http": "^4.1.7",
50
+ "@smithy/smithy-client": "^3.4.4",
51
+ "@smithy/types": "^3.7.1",
52
+ "@smithy/url-parser": "^3.0.10",
53
53
  "@smithy/util-base64": "^3.0.0",
54
54
  "@smithy/util-body-length-browser": "^3.0.0",
55
55
  "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.26",
57
- "@smithy/util-defaults-mode-node": "^3.0.26",
58
- "@smithy/util-endpoints": "^2.1.5",
59
- "@smithy/util-middleware": "^3.0.9",
60
- "@smithy/util-retry": "^3.0.9",
61
- "@smithy/util-stream": "^3.3.0",
56
+ "@smithy/util-defaults-mode-browser": "^3.0.27",
57
+ "@smithy/util-defaults-mode-node": "^3.0.27",
58
+ "@smithy/util-endpoints": "^2.1.6",
59
+ "@smithy/util-middleware": "^3.0.10",
60
+ "@smithy/util-retry": "^3.0.10",
61
+ "@smithy/util-stream": "^3.3.1",
62
62
  "@smithy/util-utf8": "^3.0.0",
63
- "@smithy/util-waiter": "^3.1.8",
63
+ "@smithy/util-waiter": "^3.1.9",
64
64
  "tslib": "^2.6.2"
65
65
  },
66
66
  "devDependencies": {