@aws-sdk/client-cloudfront 3.937.0 → 3.939.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 (112) hide show
  1. package/README.md +120 -0
  2. package/dist-cjs/index.js +977 -63
  3. package/dist-es/CloudFront.js +30 -0
  4. package/dist-es/commands/CreateConnectionFunctionCommand.js +16 -0
  5. package/dist-es/commands/CreateTrustStoreCommand.js +16 -0
  6. package/dist-es/commands/DeleteConnectionFunctionCommand.js +16 -0
  7. package/dist-es/commands/DeleteTrustStoreCommand.js +16 -0
  8. package/dist-es/commands/DescribeConnectionFunctionCommand.js +16 -0
  9. package/dist-es/commands/GetConnectionFunctionCommand.js +16 -0
  10. package/dist-es/commands/GetTrustStoreCommand.js +16 -0
  11. package/dist-es/commands/ListConnectionFunctionsCommand.js +16 -0
  12. package/dist-es/commands/ListDistributionsByConnectionFunctionCommand.js +16 -0
  13. package/dist-es/commands/ListDistributionsByTrustStoreCommand.js +16 -0
  14. package/dist-es/commands/ListTrustStoresCommand.js +16 -0
  15. package/dist-es/commands/PublishConnectionFunctionCommand.js +16 -0
  16. package/dist-es/commands/TestConnectionFunctionCommand.js +16 -0
  17. package/dist-es/commands/UpdateConnectionFunctionCommand.js +16 -0
  18. package/dist-es/commands/UpdateTrustStoreCommand.js +16 -0
  19. package/dist-es/commands/index.js +18 -3
  20. package/dist-es/models/enums.js +17 -8
  21. package/dist-es/models/errors.js +14 -14
  22. package/dist-es/pagination/ListConnectionFunctionsPaginator.js +4 -0
  23. package/dist-es/pagination/ListDistributionsByConnectionFunctionPaginator.js +4 -0
  24. package/dist-es/pagination/ListDistributionsByTrustStorePaginator.js +4 -0
  25. package/dist-es/pagination/ListTrustStoresPaginator.js +4 -0
  26. package/dist-es/pagination/index.js +4 -0
  27. package/dist-es/schemas/schemas_0.js +708 -27
  28. package/dist-types/CloudFront.d.ts +107 -0
  29. package/dist-types/CloudFrontClient.d.ts +17 -2
  30. package/dist-types/commands/CopyDistributionCommand.d.ts +11 -0
  31. package/dist-types/commands/CreateConnectionFunctionCommand.d.ts +138 -0
  32. package/dist-types/commands/CreateDistributionCommand.d.ts +22 -0
  33. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +22 -0
  34. package/dist-types/commands/CreateTrustStoreCommand.d.ts +117 -0
  35. package/dist-types/commands/DeleteConnectionFunctionCommand.d.ts +94 -0
  36. package/dist-types/commands/DeleteTrustStoreCommand.d.ts +91 -0
  37. package/dist-types/commands/DescribeConnectionFunctionCommand.d.ts +108 -0
  38. package/dist-types/commands/GetConnectionFunctionCommand.d.ts +93 -0
  39. package/dist-types/commands/GetDistributionCommand.d.ts +11 -0
  40. package/dist-types/commands/GetDistributionConfigCommand.d.ts +11 -0
  41. package/dist-types/commands/GetManagedCertificateDetailsCommand.d.ts +2 -1
  42. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
  43. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +1 -1
  44. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
  45. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
  46. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
  47. package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -1
  48. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +1 -1
  49. package/dist-types/commands/GetTrustStoreCommand.d.ts +92 -0
  50. package/dist-types/commands/ListConnectionFunctionsCommand.d.ts +108 -0
  51. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +11 -0
  52. package/dist-types/commands/ListDistributionsByConnectionFunctionCommand.d.ts +412 -0
  53. package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +11 -0
  54. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +11 -0
  55. package/dist-types/commands/ListDistributionsByTrustStoreCommand.d.ts +412 -0
  56. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +11 -0
  57. package/dist-types/commands/ListDistributionsCommand.d.ts +11 -0
  58. package/dist-types/commands/ListTrustStoresCommand.d.ts +96 -0
  59. package/dist-types/commands/PublishConnectionFunctionCommand.d.ts +113 -0
  60. package/dist-types/commands/TestConnectionFunctionCommand.d.ts +123 -0
  61. package/dist-types/commands/UpdateConnectionFunctionCommand.d.ts +130 -0
  62. package/dist-types/commands/UpdateDistributionCommand.d.ts +22 -0
  63. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +11 -0
  64. package/dist-types/commands/UpdateTrustStoreCommand.d.ts +107 -0
  65. package/dist-types/commands/index.d.ts +18 -3
  66. package/dist-types/models/enums.d.ts +49 -24
  67. package/dist-types/models/errors.d.ts +13 -13
  68. package/dist-types/models/models_0.d.ts +440 -288
  69. package/dist-types/models/models_1.d.ts +601 -2
  70. package/dist-types/pagination/ListConnectionFunctionsPaginator.d.ts +7 -0
  71. package/dist-types/pagination/ListDistributionsByConnectionFunctionPaginator.d.ts +7 -0
  72. package/dist-types/pagination/ListDistributionsByTrustStorePaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListTrustStoresPaginator.d.ts +7 -0
  74. package/dist-types/pagination/index.d.ts +4 -0
  75. package/dist-types/schemas/schemas_0.d.ts +54 -0
  76. package/dist-types/ts3.4/CloudFront.d.ts +263 -0
  77. package/dist-types/ts3.4/CloudFrontClient.d.ts +90 -0
  78. package/dist-types/ts3.4/commands/CreateConnectionFunctionCommand.d.ts +51 -0
  79. package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +50 -0
  80. package/dist-types/ts3.4/commands/DeleteConnectionFunctionCommand.d.ts +47 -0
  81. package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +45 -0
  82. package/dist-types/ts3.4/commands/DescribeConnectionFunctionCommand.d.ts +51 -0
  83. package/dist-types/ts3.4/commands/GetConnectionFunctionCommand.d.ts +58 -0
  84. package/dist-types/ts3.4/commands/GetManagedCertificateDetailsCommand.d.ts +2 -4
  85. package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/GetOriginAccessControlCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/GetTrustStoreCommand.d.ts +47 -0
  93. package/dist-types/ts3.4/commands/ListConnectionFunctionsCommand.d.ts +51 -0
  94. package/dist-types/ts3.4/commands/ListDistributionsByConnectionFunctionCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/ListDistributionsByTrustStoreCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/ListTrustStoresCommand.d.ts +50 -0
  97. package/dist-types/ts3.4/commands/PublishConnectionFunctionCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/TestConnectionFunctionCommand.d.ts +51 -0
  99. package/dist-types/ts3.4/commands/UpdateConnectionFunctionCommand.d.ts +51 -0
  100. package/dist-types/ts3.4/commands/UpdateTrustStoreCommand.d.ts +50 -0
  101. package/dist-types/ts3.4/commands/index.d.ts +18 -3
  102. package/dist-types/ts3.4/models/enums.d.ts +24 -11
  103. package/dist-types/ts3.4/models/errors.d.ts +8 -8
  104. package/dist-types/ts3.4/models/models_0.d.ts +117 -75
  105. package/dist-types/ts3.4/models/models_1.d.ts +165 -0
  106. package/dist-types/ts3.4/pagination/ListConnectionFunctionsPaginator.d.ts +11 -0
  107. package/dist-types/ts3.4/pagination/ListDistributionsByConnectionFunctionPaginator.d.ts +11 -0
  108. package/dist-types/ts3.4/pagination/ListDistributionsByTrustStorePaginator.d.ts +11 -0
  109. package/dist-types/ts3.4/pagination/ListTrustStoresPaginator.d.ts +11 -0
  110. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  111. package/dist-types/ts3.4/schemas/schemas_0.d.ts +54 -0
  112. package/package.json +2 -2
@@ -680,6 +680,14 @@ export declare class TooManyCloudFrontOriginAccessIdentities extends __BaseExcep
680
680
  >
681
681
  );
682
682
  }
683
+ export declare class EntitySizeLimitExceeded extends __BaseException {
684
+ readonly name: "EntitySizeLimitExceeded";
685
+ readonly $fault: "client";
686
+ Message?: string | undefined;
687
+ constructor(
688
+ opts: __ExceptionOptionType<EntitySizeLimitExceeded, __BaseException>
689
+ );
690
+ }
683
691
  export declare class ContinuousDeploymentPolicyAlreadyExists extends __BaseException {
684
692
  readonly name: "ContinuousDeploymentPolicyAlreadyExists";
685
693
  readonly $fault: "client";
@@ -936,14 +944,6 @@ export declare class TooManyPublicKeysInKeyGroup extends __BaseException {
936
944
  opts: __ExceptionOptionType<TooManyPublicKeysInKeyGroup, __BaseException>
937
945
  );
938
946
  }
939
- export declare class EntitySizeLimitExceeded extends __BaseException {
940
- readonly name: "EntitySizeLimitExceeded";
941
- readonly $fault: "client";
942
- Message?: string | undefined;
943
- constructor(
944
- opts: __ExceptionOptionType<EntitySizeLimitExceeded, __BaseException>
945
- );
946
- }
947
947
  export declare class MonitoringSubscriptionAlreadyExists extends __BaseException {
948
948
  readonly name: "MonitoringSubscriptionAlreadyExists";
949
949
  readonly $fault: "client";
@@ -21,7 +21,6 @@ import {
21
21
  IpAddressType,
22
22
  IpamCidrStatus,
23
23
  ItemSelection,
24
- ManagedCertificateStatus,
25
24
  Method,
26
25
  MinimumProtocolVersion,
27
26
  OriginAccessControlOriginTypes,
@@ -38,7 +37,9 @@ import {
38
37
  ResponseHeadersPolicyAccessControlAllowMethodsValues,
39
38
  SslProtocol,
40
39
  SSLSupportMethod,
40
+ TrustStoreStatus,
41
41
  ValidationTokenHost,
42
+ ViewerMtlsMode,
42
43
  ViewerProtocolPolicy,
43
44
  } from "./enums";
44
45
  export interface KeyPairIds {
@@ -144,6 +145,31 @@ export interface AssociateDistributionWebACLResult {
144
145
  WebACLArn?: string | undefined;
145
146
  ETag?: string | undefined;
146
147
  }
148
+ export interface CaCertificatesBundleS3Location {
149
+ Bucket: string | undefined;
150
+ Key: string | undefined;
151
+ Region: string | undefined;
152
+ Version?: string | undefined;
153
+ }
154
+ export type CaCertificatesBundleSource =
155
+ | CaCertificatesBundleSource.CaCertificatesBundleS3LocationMember
156
+ | CaCertificatesBundleSource.$UnknownMember;
157
+ export declare namespace CaCertificatesBundleSource {
158
+ interface CaCertificatesBundleS3LocationMember {
159
+ CaCertificatesBundleS3Location: CaCertificatesBundleS3Location;
160
+ $unknown?: never;
161
+ }
162
+ interface $UnknownMember {
163
+ CaCertificatesBundleS3Location?: never;
164
+ $unknown: [string, any];
165
+ }
166
+ interface Visitor<T> {
167
+ CaCertificatesBundleS3Location: (
168
+ value: CaCertificatesBundleS3Location
169
+ ) => T;
170
+ _: (name: string, value: any) => T;
171
+ }
172
+ }
147
173
  export interface CookieNames {
148
174
  Quantity: number | undefined;
149
175
  Items?: string[] | undefined;
@@ -280,6 +306,9 @@ export interface CopyDistributionRequest {
280
306
  CallerReference: string | undefined;
281
307
  Enabled?: boolean | undefined;
282
308
  }
309
+ export interface ConnectionFunctionAssociation {
310
+ Id: string | undefined;
311
+ }
283
312
  export interface CustomErrorResponse {
284
313
  ErrorCode: number | undefined;
285
314
  ResponsePagePath?: string | undefined;
@@ -426,6 +455,15 @@ export interface ViewerCertificate {
426
455
  Certificate?: string | undefined;
427
456
  CertificateSource?: CertificateSource | undefined;
428
457
  }
458
+ export interface TrustStoreConfig {
459
+ TrustStoreId: string | undefined;
460
+ AdvertiseTrustStoreCaNames?: boolean | undefined;
461
+ IgnoreCertificateExpiry?: boolean | undefined;
462
+ }
463
+ export interface ViewerMtlsConfig {
464
+ Mode?: ViewerMtlsMode | undefined;
465
+ TrustStoreConfig?: TrustStoreConfig | undefined;
466
+ }
429
467
  export interface DistributionConfig {
430
468
  CallerReference: string | undefined;
431
469
  Aliases?: Aliases | undefined;
@@ -449,6 +487,8 @@ export interface DistributionConfig {
449
487
  AnycastIpListId?: string | undefined;
450
488
  TenantConfig?: TenantConfig | undefined;
451
489
  ConnectionMode?: ConnectionMode | undefined;
490
+ ViewerMtlsConfig?: ViewerMtlsConfig | undefined;
491
+ ConnectionFunctionAssociation?: ConnectionFunctionAssociation | undefined;
452
492
  }
453
493
  export interface Distribution {
454
494
  Id: string | undefined;
@@ -514,6 +554,39 @@ export interface CreateCloudFrontOriginAccessIdentityResult {
514
554
  Location?: string | undefined;
515
555
  ETag?: string | undefined;
516
556
  }
557
+ export interface KeyValueStoreAssociation {
558
+ KeyValueStoreARN: string | undefined;
559
+ }
560
+ export interface KeyValueStoreAssociations {
561
+ Quantity: number | undefined;
562
+ Items?: KeyValueStoreAssociation[] | undefined;
563
+ }
564
+ export interface FunctionConfig {
565
+ Comment: string | undefined;
566
+ Runtime: FunctionRuntime | undefined;
567
+ KeyValueStoreAssociations?: KeyValueStoreAssociations | undefined;
568
+ }
569
+ export interface CreateConnectionFunctionRequest {
570
+ Name: string | undefined;
571
+ ConnectionFunctionConfig: FunctionConfig | undefined;
572
+ ConnectionFunctionCode: Uint8Array | undefined;
573
+ Tags?: Tags | undefined;
574
+ }
575
+ export interface ConnectionFunctionSummary {
576
+ Name: string | undefined;
577
+ Id: string | undefined;
578
+ ConnectionFunctionConfig: FunctionConfig | undefined;
579
+ ConnectionFunctionArn: string | undefined;
580
+ Status: string | undefined;
581
+ Stage: FunctionStage | undefined;
582
+ CreatedTime: Date | undefined;
583
+ LastModifiedTime: Date | undefined;
584
+ }
585
+ export interface CreateConnectionFunctionResult {
586
+ ConnectionFunctionSummary?: ConnectionFunctionSummary | undefined;
587
+ Location?: string | undefined;
588
+ ETag?: string | undefined;
589
+ }
517
590
  export interface CreateConnectionGroupRequest {
518
591
  Name: string | undefined;
519
592
  Ipv6Enabled?: boolean | undefined;
@@ -743,18 +816,6 @@ export interface CreateFieldLevelEncryptionProfileResult {
743
816
  Location?: string | undefined;
744
817
  ETag?: string | undefined;
745
818
  }
746
- export interface KeyValueStoreAssociation {
747
- KeyValueStoreARN: string | undefined;
748
- }
749
- export interface KeyValueStoreAssociations {
750
- Quantity: number | undefined;
751
- Items?: KeyValueStoreAssociation[] | undefined;
752
- }
753
- export interface FunctionConfig {
754
- Comment: string | undefined;
755
- Runtime: FunctionRuntime | undefined;
756
- KeyValueStoreAssociations?: KeyValueStoreAssociations | undefined;
757
- }
758
819
  export interface CreateFunctionRequest {
759
820
  Name: string | undefined;
760
821
  FunctionConfig: FunctionConfig | undefined;
@@ -1126,6 +1187,24 @@ export interface CreateStreamingDistributionWithTagsResult {
1126
1187
  Location?: string | undefined;
1127
1188
  ETag?: string | undefined;
1128
1189
  }
1190
+ export interface CreateTrustStoreRequest {
1191
+ Name: string | undefined;
1192
+ CaCertificatesBundleSource: CaCertificatesBundleSource | undefined;
1193
+ Tags?: Tags | undefined;
1194
+ }
1195
+ export interface TrustStore {
1196
+ Id?: string | undefined;
1197
+ Arn?: string | undefined;
1198
+ Name?: string | undefined;
1199
+ Status?: TrustStoreStatus | undefined;
1200
+ NumberOfCaCertificates?: number | undefined;
1201
+ LastModifiedTime?: Date | undefined;
1202
+ Reason?: string | undefined;
1203
+ }
1204
+ export interface CreateTrustStoreResult {
1205
+ TrustStore?: TrustStore | undefined;
1206
+ ETag?: string | undefined;
1207
+ }
1129
1208
  export interface VpcOriginEndpointConfig {
1130
1209
  Name: string | undefined;
1131
1210
  Arn: string | undefined;
@@ -1164,6 +1243,10 @@ export interface DeleteCloudFrontOriginAccessIdentityRequest {
1164
1243
  Id: string | undefined;
1165
1244
  IfMatch?: string | undefined;
1166
1245
  }
1246
+ export interface DeleteConnectionFunctionRequest {
1247
+ Id: string | undefined;
1248
+ IfMatch: string | undefined;
1249
+ }
1167
1250
  export interface DeleteConnectionGroupRequest {
1168
1251
  Id: string | undefined;
1169
1252
  IfMatch: string | undefined;
@@ -1231,6 +1314,10 @@ export interface DeleteStreamingDistributionRequest {
1231
1314
  Id: string | undefined;
1232
1315
  IfMatch?: string | undefined;
1233
1316
  }
1317
+ export interface DeleteTrustStoreRequest {
1318
+ Id: string | undefined;
1319
+ IfMatch: string | undefined;
1320
+ }
1234
1321
  export interface DeleteVpcOriginRequest {
1235
1322
  Id: string | undefined;
1236
1323
  IfMatch: string | undefined;
@@ -1239,6 +1326,14 @@ export interface DeleteVpcOriginResult {
1239
1326
  VpcOrigin?: VpcOrigin | undefined;
1240
1327
  ETag?: string | undefined;
1241
1328
  }
1329
+ export interface DescribeConnectionFunctionRequest {
1330
+ Identifier: string | undefined;
1331
+ Stage?: FunctionStage | undefined;
1332
+ }
1333
+ export interface DescribeConnectionFunctionResult {
1334
+ ConnectionFunctionSummary?: ConnectionFunctionSummary | undefined;
1335
+ ETag?: string | undefined;
1336
+ }
1242
1337
  export interface DescribeFunctionRequest {
1243
1338
  Name: string | undefined;
1244
1339
  Stage?: FunctionStage | undefined;
@@ -1307,6 +1402,15 @@ export interface GetCloudFrontOriginAccessIdentityConfigResult {
1307
1402
  | undefined;
1308
1403
  ETag?: string | undefined;
1309
1404
  }
1405
+ export interface GetConnectionFunctionRequest {
1406
+ Identifier: string | undefined;
1407
+ Stage?: FunctionStage | undefined;
1408
+ }
1409
+ export interface GetConnectionFunctionResult {
1410
+ ConnectionFunctionCode?: Uint8Array | undefined;
1411
+ ETag?: string | undefined;
1412
+ ContentType?: string | undefined;
1413
+ }
1310
1414
  export interface GetConnectionGroupRequest {
1311
1415
  Identifier: string | undefined;
1312
1416
  }
@@ -1435,65 +1539,3 @@ export interface GetKeyGroupConfigResult {
1435
1539
  export interface GetManagedCertificateDetailsRequest {
1436
1540
  Identifier: string | undefined;
1437
1541
  }
1438
- export interface ValidationTokenDetail {
1439
- Domain: string | undefined;
1440
- RedirectTo?: string | undefined;
1441
- RedirectFrom?: string | undefined;
1442
- }
1443
- export interface ManagedCertificateDetails {
1444
- CertificateArn?: string | undefined;
1445
- CertificateStatus?: ManagedCertificateStatus | undefined;
1446
- ValidationTokenHost?: ValidationTokenHost | undefined;
1447
- ValidationTokenDetails?: ValidationTokenDetail[] | undefined;
1448
- }
1449
- export interface GetManagedCertificateDetailsResult {
1450
- ManagedCertificateDetails?: ManagedCertificateDetails | undefined;
1451
- }
1452
- export interface GetMonitoringSubscriptionRequest {
1453
- DistributionId: string | undefined;
1454
- }
1455
- export interface GetMonitoringSubscriptionResult {
1456
- MonitoringSubscription?: MonitoringSubscription | undefined;
1457
- }
1458
- export interface GetOriginAccessControlRequest {
1459
- Id: string | undefined;
1460
- }
1461
- export interface GetOriginAccessControlResult {
1462
- OriginAccessControl?: OriginAccessControl | undefined;
1463
- ETag?: string | undefined;
1464
- }
1465
- export interface GetOriginAccessControlConfigRequest {
1466
- Id: string | undefined;
1467
- }
1468
- export interface GetOriginAccessControlConfigResult {
1469
- OriginAccessControlConfig?: OriginAccessControlConfig | undefined;
1470
- ETag?: string | undefined;
1471
- }
1472
- export interface GetOriginRequestPolicyRequest {
1473
- Id: string | undefined;
1474
- }
1475
- export interface GetOriginRequestPolicyResult {
1476
- OriginRequestPolicy?: OriginRequestPolicy | undefined;
1477
- ETag?: string | undefined;
1478
- }
1479
- export interface GetOriginRequestPolicyConfigRequest {
1480
- Id: string | undefined;
1481
- }
1482
- export interface GetOriginRequestPolicyConfigResult {
1483
- OriginRequestPolicyConfig?: OriginRequestPolicyConfig | undefined;
1484
- ETag?: string | undefined;
1485
- }
1486
- export interface GetPublicKeyRequest {
1487
- Id: string | undefined;
1488
- }
1489
- export interface GetPublicKeyResult {
1490
- PublicKey?: PublicKey | undefined;
1491
- ETag?: string | undefined;
1492
- }
1493
- export interface GetPublicKeyConfigRequest {
1494
- Id: string | undefined;
1495
- }
1496
- export interface GetPublicKeyConfigResult {
1497
- PublicKeyConfig?: PublicKeyConfig | undefined;
1498
- ETag?: string | undefined;
1499
- }
@@ -6,24 +6,30 @@ import {
6
6
  FunctionStage,
7
7
  HttpVersion,
8
8
  IpAddressType,
9
+ ManagedCertificateStatus,
9
10
  OriginAccessControlOriginTypes,
10
11
  OriginAccessControlSigningBehaviors,
11
12
  OriginAccessControlSigningProtocols,
12
13
  OriginRequestPolicyType,
13
14
  PriceClass,
14
15
  ResponseHeadersPolicyType,
16
+ TrustStoreStatus,
17
+ ValidationTokenHost,
15
18
  } from "./enums";
16
19
  import {
17
20
  Aliases,
18
21
  AliasICPRecordal,
19
22
  AnycastIpList,
20
23
  AnycastIpListCollection,
24
+ CaCertificatesBundleSource,
21
25
  CacheBehaviors,
22
26
  CachePolicy,
23
27
  CachePolicyConfig,
24
28
  CachePolicyList,
25
29
  CloudFrontOriginAccessIdentity,
26
30
  CloudFrontOriginAccessIdentityConfig,
31
+ ConnectionFunctionAssociation,
32
+ ConnectionFunctionSummary,
27
33
  ConnectionGroup,
28
34
  ContentTypeProfileConfig,
29
35
  ContinuousDeploymentPolicy,
@@ -48,6 +54,7 @@ import {
48
54
  KeyGroupConfig,
49
55
  KeyValueStore,
50
56
  ManagedCertificateRequest,
57
+ MonitoringSubscription,
51
58
  OriginAccessControl,
52
59
  OriginAccessControlConfig,
53
60
  OriginGroups,
@@ -67,10 +74,74 @@ import {
67
74
  StreamingDistributionConfig,
68
75
  Tags,
69
76
  TrustedSigners,
77
+ TrustStore,
70
78
  ViewerCertificate,
79
+ ViewerMtlsConfig,
71
80
  VpcOrigin,
72
81
  VpcOriginEndpointConfig,
73
82
  } from "./models_0";
83
+ export interface ValidationTokenDetail {
84
+ Domain: string | undefined;
85
+ RedirectTo?: string | undefined;
86
+ RedirectFrom?: string | undefined;
87
+ }
88
+ export interface ManagedCertificateDetails {
89
+ CertificateArn?: string | undefined;
90
+ CertificateStatus?: ManagedCertificateStatus | undefined;
91
+ ValidationTokenHost?: ValidationTokenHost | undefined;
92
+ ValidationTokenDetails?: ValidationTokenDetail[] | undefined;
93
+ }
94
+ export interface GetManagedCertificateDetailsResult {
95
+ ManagedCertificateDetails?: ManagedCertificateDetails | undefined;
96
+ }
97
+ export interface GetMonitoringSubscriptionRequest {
98
+ DistributionId: string | undefined;
99
+ }
100
+ export interface GetMonitoringSubscriptionResult {
101
+ MonitoringSubscription?: MonitoringSubscription | undefined;
102
+ }
103
+ export interface GetOriginAccessControlRequest {
104
+ Id: string | undefined;
105
+ }
106
+ export interface GetOriginAccessControlResult {
107
+ OriginAccessControl?: OriginAccessControl | undefined;
108
+ ETag?: string | undefined;
109
+ }
110
+ export interface GetOriginAccessControlConfigRequest {
111
+ Id: string | undefined;
112
+ }
113
+ export interface GetOriginAccessControlConfigResult {
114
+ OriginAccessControlConfig?: OriginAccessControlConfig | undefined;
115
+ ETag?: string | undefined;
116
+ }
117
+ export interface GetOriginRequestPolicyRequest {
118
+ Id: string | undefined;
119
+ }
120
+ export interface GetOriginRequestPolicyResult {
121
+ OriginRequestPolicy?: OriginRequestPolicy | undefined;
122
+ ETag?: string | undefined;
123
+ }
124
+ export interface GetOriginRequestPolicyConfigRequest {
125
+ Id: string | undefined;
126
+ }
127
+ export interface GetOriginRequestPolicyConfigResult {
128
+ OriginRequestPolicyConfig?: OriginRequestPolicyConfig | undefined;
129
+ ETag?: string | undefined;
130
+ }
131
+ export interface GetPublicKeyRequest {
132
+ Id: string | undefined;
133
+ }
134
+ export interface GetPublicKeyResult {
135
+ PublicKey?: PublicKey | undefined;
136
+ ETag?: string | undefined;
137
+ }
138
+ export interface GetPublicKeyConfigRequest {
139
+ Id: string | undefined;
140
+ }
141
+ export interface GetPublicKeyConfigResult {
142
+ PublicKeyConfig?: PublicKeyConfig | undefined;
143
+ ETag?: string | undefined;
144
+ }
74
145
  export interface GetRealtimeLogConfigRequest {
75
146
  Name?: string | undefined;
76
147
  ARN?: string | undefined;
@@ -113,6 +184,13 @@ export interface GetStreamingDistributionConfigResult {
113
184
  StreamingDistributionConfig?: StreamingDistributionConfig | undefined;
114
185
  ETag?: string | undefined;
115
186
  }
187
+ export interface GetTrustStoreRequest {
188
+ Identifier: string | undefined;
189
+ }
190
+ export interface GetTrustStoreResult {
191
+ TrustStore?: TrustStore | undefined;
192
+ ETag?: string | undefined;
193
+ }
116
194
  export interface GetVpcOriginRequest {
117
195
  Id: string | undefined;
118
196
  }
@@ -177,6 +255,15 @@ export interface ConflictingAliasesList {
177
255
  export interface ListConflictingAliasesResult {
178
256
  ConflictingAliasesList?: ConflictingAliasesList | undefined;
179
257
  }
258
+ export interface ListConnectionFunctionsRequest {
259
+ Marker?: string | undefined;
260
+ MaxItems?: number | undefined;
261
+ Stage?: FunctionStage | undefined;
262
+ }
263
+ export interface ListConnectionFunctionsResult {
264
+ NextMarker?: string | undefined;
265
+ ConnectionFunctions?: ConnectionFunctionSummary[] | undefined;
266
+ }
180
267
  export interface ConnectionGroupAssociationFilter {
181
268
  AnycastIpListId?: string | undefined;
182
269
  }
@@ -247,6 +334,8 @@ export interface DistributionSummary {
247
334
  Staging: boolean | undefined;
248
335
  ConnectionMode?: ConnectionMode | undefined;
249
336
  AnycastIpListId?: string | undefined;
337
+ ViewerMtlsConfig?: ViewerMtlsConfig | undefined;
338
+ ConnectionFunctionAssociation?: ConnectionFunctionAssociation | undefined;
250
339
  }
251
340
  export interface DistributionList {
252
341
  Marker: string | undefined;
@@ -283,6 +372,14 @@ export interface DistributionIdList {
283
372
  export interface ListDistributionsByCachePolicyIdResult {
284
373
  DistributionIdList?: DistributionIdList | undefined;
285
374
  }
375
+ export interface ListDistributionsByConnectionFunctionRequest {
376
+ Marker?: string | undefined;
377
+ MaxItems?: number | undefined;
378
+ ConnectionFunctionIdentifier: string | undefined;
379
+ }
380
+ export interface ListDistributionsByConnectionFunctionResult {
381
+ DistributionList?: DistributionList | undefined;
382
+ }
286
383
  export interface ListDistributionsByConnectionModeRequest {
287
384
  Marker?: string | undefined;
288
385
  MaxItems?: number | undefined;
@@ -344,6 +441,14 @@ export interface ListDistributionsByResponseHeadersPolicyIdRequest {
344
441
  export interface ListDistributionsByResponseHeadersPolicyIdResult {
345
442
  DistributionIdList?: DistributionIdList | undefined;
346
443
  }
444
+ export interface ListDistributionsByTrustStoreRequest {
445
+ TrustStoreIdentifier: string | undefined;
446
+ Marker?: string | undefined;
447
+ MaxItems?: number | undefined;
448
+ }
449
+ export interface ListDistributionsByTrustStoreResult {
450
+ DistributionList?: DistributionList | undefined;
451
+ }
347
452
  export interface ListDistributionsByVpcOriginIdRequest {
348
453
  Marker?: string | undefined;
349
454
  MaxItems?: number | undefined;
@@ -657,6 +762,24 @@ export interface ListTagsForResourceRequest {
657
762
  export interface ListTagsForResourceResult {
658
763
  Tags: Tags | undefined;
659
764
  }
765
+ export interface ListTrustStoresRequest {
766
+ Marker?: string | undefined;
767
+ MaxItems?: number | undefined;
768
+ }
769
+ export interface TrustStoreSummary {
770
+ Id: string | undefined;
771
+ Arn: string | undefined;
772
+ Name: string | undefined;
773
+ Status: TrustStoreStatus | undefined;
774
+ NumberOfCaCertificates: number | undefined;
775
+ LastModifiedTime: Date | undefined;
776
+ Reason?: string | undefined;
777
+ ETag: string | undefined;
778
+ }
779
+ export interface ListTrustStoresResult {
780
+ NextMarker?: string | undefined;
781
+ TrustStoreList?: TrustStoreSummary[] | undefined;
782
+ }
660
783
  export interface ListVpcOriginsRequest {
661
784
  Marker?: string | undefined;
662
785
  MaxItems?: number | undefined;
@@ -682,6 +805,13 @@ export interface VpcOriginList {
682
805
  export interface ListVpcOriginsResult {
683
806
  VpcOriginList?: VpcOriginList | undefined;
684
807
  }
808
+ export interface PublishConnectionFunctionRequest {
809
+ Id: string | undefined;
810
+ IfMatch: string | undefined;
811
+ }
812
+ export interface PublishConnectionFunctionResult {
813
+ ConnectionFunctionSummary?: ConnectionFunctionSummary | undefined;
814
+ }
685
815
  export interface PublishFunctionRequest {
686
816
  Name: string | undefined;
687
817
  IfMatch: string | undefined;
@@ -700,6 +830,22 @@ export interface TagResourceRequest {
700
830
  Resource: string | undefined;
701
831
  Tags: Tags | undefined;
702
832
  }
833
+ export interface TestConnectionFunctionRequest {
834
+ Id: string | undefined;
835
+ IfMatch: string | undefined;
836
+ Stage?: FunctionStage | undefined;
837
+ ConnectionObject: Uint8Array | undefined;
838
+ }
839
+ export interface ConnectionFunctionTestResult {
840
+ ConnectionFunctionSummary?: ConnectionFunctionSummary | undefined;
841
+ ComputeUtilization?: string | undefined;
842
+ ConnectionFunctionExecutionLogs?: string[] | undefined;
843
+ ConnectionFunctionErrorMessage?: string | undefined;
844
+ ConnectionFunctionOutput?: string | undefined;
845
+ }
846
+ export interface TestConnectionFunctionResult {
847
+ ConnectionFunctionTestResult?: ConnectionFunctionTestResult | undefined;
848
+ }
703
849
  export interface TestFunctionRequest {
704
850
  Name: string | undefined;
705
851
  IfMatch: string | undefined;
@@ -752,6 +898,16 @@ export interface UpdateCloudFrontOriginAccessIdentityResult {
752
898
  CloudFrontOriginAccessIdentity?: CloudFrontOriginAccessIdentity | undefined;
753
899
  ETag?: string | undefined;
754
900
  }
901
+ export interface UpdateConnectionFunctionRequest {
902
+ Id: string | undefined;
903
+ IfMatch: string | undefined;
904
+ ConnectionFunctionConfig: FunctionConfig | undefined;
905
+ ConnectionFunctionCode: Uint8Array | undefined;
906
+ }
907
+ export interface UpdateConnectionFunctionResult {
908
+ ConnectionFunctionSummary?: ConnectionFunctionSummary | undefined;
909
+ ETag?: string | undefined;
910
+ }
755
911
  export interface UpdateConnectionGroupRequest {
756
912
  Id: string | undefined;
757
913
  Ipv6Enabled?: boolean | undefined;
@@ -920,6 +1076,15 @@ export interface UpdateStreamingDistributionResult {
920
1076
  StreamingDistribution?: StreamingDistribution | undefined;
921
1077
  ETag?: string | undefined;
922
1078
  }
1079
+ export interface UpdateTrustStoreRequest {
1080
+ Id: string | undefined;
1081
+ CaCertificatesBundleSource: CaCertificatesBundleSource | undefined;
1082
+ IfMatch: string | undefined;
1083
+ }
1084
+ export interface UpdateTrustStoreResult {
1085
+ TrustStore?: TrustStore | undefined;
1086
+ ETag?: string | undefined;
1087
+ }
923
1088
  export interface UpdateVpcOriginRequest {
924
1089
  VpcOriginEndpointConfig: VpcOriginEndpointConfig | undefined;
925
1090
  Id: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListConnectionFunctionsCommandInput,
4
+ ListConnectionFunctionsCommandOutput,
5
+ } from "../commands/ListConnectionFunctionsCommand";
6
+ import { CloudFrontPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListConnectionFunctions: (
8
+ config: CloudFrontPaginationConfiguration,
9
+ input: ListConnectionFunctionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListConnectionFunctionsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListDistributionsByConnectionFunctionCommandInput,
4
+ ListDistributionsByConnectionFunctionCommandOutput,
5
+ } from "../commands/ListDistributionsByConnectionFunctionCommand";
6
+ import { CloudFrontPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListDistributionsByConnectionFunction: (
8
+ config: CloudFrontPaginationConfiguration,
9
+ input: ListDistributionsByConnectionFunctionCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListDistributionsByConnectionFunctionCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListDistributionsByTrustStoreCommandInput,
4
+ ListDistributionsByTrustStoreCommandOutput,
5
+ } from "../commands/ListDistributionsByTrustStoreCommand";
6
+ import { CloudFrontPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListDistributionsByTrustStore: (
8
+ config: CloudFrontPaginationConfiguration,
9
+ input: ListDistributionsByTrustStoreCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListDistributionsByTrustStoreCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListTrustStoresCommandInput,
4
+ ListTrustStoresCommandOutput,
5
+ } from "../commands/ListTrustStoresCommand";
6
+ import { CloudFrontPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListTrustStores: (
8
+ config: CloudFrontPaginationConfiguration,
9
+ input: ListTrustStoresCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListTrustStoresCommandOutput>;
@@ -1,9 +1,12 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListCloudFrontOriginAccessIdentitiesPaginator";
3
+ export * from "./ListConnectionFunctionsPaginator";
3
4
  export * from "./ListConnectionGroupsPaginator";
4
5
  export * from "./ListDistributionTenantsByCustomizationPaginator";
5
6
  export * from "./ListDistributionTenantsPaginator";
7
+ export * from "./ListDistributionsByConnectionFunctionPaginator";
6
8
  export * from "./ListDistributionsByConnectionModePaginator";
9
+ export * from "./ListDistributionsByTrustStorePaginator";
7
10
  export * from "./ListDistributionsPaginator";
8
11
  export * from "./ListDomainConflictsPaginator";
9
12
  export * from "./ListInvalidationsForDistributionTenantPaginator";
@@ -12,3 +15,4 @@ export * from "./ListKeyValueStoresPaginator";
12
15
  export * from "./ListOriginAccessControlsPaginator";
13
16
  export * from "./ListPublicKeysPaginator";
14
17
  export * from "./ListStreamingDistributionsPaginator";
18
+ export * from "./ListTrustStoresPaginator";