@aws-sdk/client-cloudfront 3.1172.0 → 3.1174.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 (40) hide show
  1. package/dist-cjs/index.js +50 -25
  2. package/dist-es/models/enums.js +12 -0
  3. package/dist-es/schemas/schemas_0.js +33 -24
  4. package/dist-types/commands/CopyDistributionCommand.d.ts +2 -0
  5. package/dist-types/commands/CreateConnectionGroupCommand.d.ts +6 -0
  6. package/dist-types/commands/CreateDistributionCommand.d.ts +4 -0
  7. package/dist-types/commands/CreateDistributionTenantCommand.d.ts +3 -0
  8. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +4 -0
  9. package/dist-types/commands/GetConnectionGroupByRoutingEndpointCommand.d.ts +3 -0
  10. package/dist-types/commands/GetConnectionGroupCommand.d.ts +3 -0
  11. package/dist-types/commands/GetDistributionCommand.d.ts +2 -0
  12. package/dist-types/commands/GetDistributionConfigCommand.d.ts +2 -0
  13. package/dist-types/commands/GetDistributionTenantByDomainCommand.d.ts +1 -0
  14. package/dist-types/commands/GetDistributionTenantCommand.d.ts +1 -0
  15. package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +1 -2
  16. package/dist-types/commands/ListConnectionGroupsCommand.d.ts +3 -0
  17. package/dist-types/commands/ListDistributionTenantsByCustomizationCommand.d.ts +1 -0
  18. package/dist-types/commands/ListDistributionTenantsCommand.d.ts +1 -0
  19. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +2 -0
  20. package/dist-types/commands/ListDistributionsByConnectionFunctionCommand.d.ts +2 -0
  21. package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +2 -0
  22. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +2 -0
  23. package/dist-types/commands/ListDistributionsByTrustStoreCommand.d.ts +2 -0
  24. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +2 -0
  25. package/dist-types/commands/ListDistributionsCommand.d.ts +2 -0
  26. package/dist-types/commands/UpdateConnectionGroupCommand.d.ts +6 -0
  27. package/dist-types/commands/UpdateDistributionCommand.d.ts +7 -0
  28. package/dist-types/commands/UpdateDistributionTenantCommand.d.ts +3 -0
  29. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +2 -0
  30. package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +6 -0
  31. package/dist-types/models/enums.d.ts +36 -0
  32. package/dist-types/models/models_0.d.ts +47 -11
  33. package/dist-types/models/models_1.d.ts +27 -2
  34. package/dist-types/schemas/schemas_0.d.ts +1 -0
  35. package/dist-types/ts3.4/commands/GetKeyGroupConfigCommand.d.ts +1 -2
  36. package/dist-types/ts3.4/models/enums.d.ts +15 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +13 -3
  38. package/dist-types/ts3.4/models/models_1.d.ts +8 -0
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  40. package/package.json +1 -1
@@ -53,6 +53,7 @@ declare const ListDistributionTenantsByCustomizationCommand_base: {
53
53
  * // { // DomainResult
54
54
  * // Domain: "STRING_VALUE", // required
55
55
  * // Status: "active" || "inactive",
56
+ * // ServeOn: "any" || "anycast-ip-list-only",
56
57
  * // },
57
58
  * // ],
58
59
  * // ConnectionGroupId: "STRING_VALUE",
@@ -55,6 +55,7 @@ declare const ListDistributionTenantsCommand_base: {
55
55
  * // { // DomainResult
56
56
  * // Domain: "STRING_VALUE", // required
57
57
  * // Status: "active" || "inactive",
58
+ * // ServeOn: "any" || "anycast-ip-list-only",
58
59
  * // },
59
60
  * // ],
60
61
  * // ConnectionGroupId: "STRING_VALUE",
@@ -97,12 +97,14 @@ declare const ListDistributionsByAnycastIpListIdCommand_base: {
97
97
  * // OriginMtlsConfig: { // OriginMtlsConfig
98
98
  * // ClientCertificateArn: "STRING_VALUE", // required
99
99
  * // },
100
+ * // OriginHttpVersion: "http1.1" || "http2",
100
101
  * // },
101
102
  * // VpcOriginConfig: { // VpcOriginConfig
102
103
  * // VpcOriginId: "STRING_VALUE", // required
103
104
  * // OwnerAccountId: "STRING_VALUE",
104
105
  * // OriginReadTimeout: Number("int"),
105
106
  * // OriginKeepaliveTimeout: Number("int"),
107
+ * // OriginHttpVersion: "http1.1" || "http2",
106
108
  * // },
107
109
  * // ConnectionAttempts: Number("int"),
108
110
  * // ConnectionTimeout: Number("int"),
@@ -97,12 +97,14 @@ declare const ListDistributionsByConnectionFunctionCommand_base: {
97
97
  * // OriginMtlsConfig: { // OriginMtlsConfig
98
98
  * // ClientCertificateArn: "STRING_VALUE", // required
99
99
  * // },
100
+ * // OriginHttpVersion: "http1.1" || "http2",
100
101
  * // },
101
102
  * // VpcOriginConfig: { // VpcOriginConfig
102
103
  * // VpcOriginId: "STRING_VALUE", // required
103
104
  * // OwnerAccountId: "STRING_VALUE",
104
105
  * // OriginReadTimeout: Number("int"),
105
106
  * // OriginKeepaliveTimeout: Number("int"),
107
+ * // OriginHttpVersion: "http1.1" || "http2",
106
108
  * // },
107
109
  * // ConnectionAttempts: Number("int"),
108
110
  * // ConnectionTimeout: Number("int"),
@@ -97,12 +97,14 @@ declare const ListDistributionsByConnectionModeCommand_base: {
97
97
  * // OriginMtlsConfig: { // OriginMtlsConfig
98
98
  * // ClientCertificateArn: "STRING_VALUE", // required
99
99
  * // },
100
+ * // OriginHttpVersion: "http1.1" || "http2",
100
101
  * // },
101
102
  * // VpcOriginConfig: { // VpcOriginConfig
102
103
  * // VpcOriginId: "STRING_VALUE", // required
103
104
  * // OwnerAccountId: "STRING_VALUE",
104
105
  * // OriginReadTimeout: Number("int"),
105
106
  * // OriginKeepaliveTimeout: Number("int"),
107
+ * // OriginHttpVersion: "http1.1" || "http2",
106
108
  * // },
107
109
  * // ConnectionAttempts: Number("int"),
108
110
  * // ConnectionTimeout: Number("int"),
@@ -98,12 +98,14 @@ declare const ListDistributionsByRealtimeLogConfigCommand_base: {
98
98
  * // OriginMtlsConfig: { // OriginMtlsConfig
99
99
  * // ClientCertificateArn: "STRING_VALUE", // required
100
100
  * // },
101
+ * // OriginHttpVersion: "http1.1" || "http2",
101
102
  * // },
102
103
  * // VpcOriginConfig: { // VpcOriginConfig
103
104
  * // VpcOriginId: "STRING_VALUE", // required
104
105
  * // OwnerAccountId: "STRING_VALUE",
105
106
  * // OriginReadTimeout: Number("int"),
106
107
  * // OriginKeepaliveTimeout: Number("int"),
108
+ * // OriginHttpVersion: "http1.1" || "http2",
107
109
  * // },
108
110
  * // ConnectionAttempts: Number("int"),
109
111
  * // ConnectionTimeout: Number("int"),
@@ -97,12 +97,14 @@ declare const ListDistributionsByTrustStoreCommand_base: {
97
97
  * // OriginMtlsConfig: { // OriginMtlsConfig
98
98
  * // ClientCertificateArn: "STRING_VALUE", // required
99
99
  * // },
100
+ * // OriginHttpVersion: "http1.1" || "http2",
100
101
  * // },
101
102
  * // VpcOriginConfig: { // VpcOriginConfig
102
103
  * // VpcOriginId: "STRING_VALUE", // required
103
104
  * // OwnerAccountId: "STRING_VALUE",
104
105
  * // OriginReadTimeout: Number("int"),
105
106
  * // OriginKeepaliveTimeout: Number("int"),
107
+ * // OriginHttpVersion: "http1.1" || "http2",
106
108
  * // },
107
109
  * // ConnectionAttempts: Number("int"),
108
110
  * // ConnectionTimeout: Number("int"),
@@ -97,12 +97,14 @@ declare const ListDistributionsByWebACLIdCommand_base: {
97
97
  * // OriginMtlsConfig: { // OriginMtlsConfig
98
98
  * // ClientCertificateArn: "STRING_VALUE", // required
99
99
  * // },
100
+ * // OriginHttpVersion: "http1.1" || "http2",
100
101
  * // },
101
102
  * // VpcOriginConfig: { // VpcOriginConfig
102
103
  * // VpcOriginId: "STRING_VALUE", // required
103
104
  * // OwnerAccountId: "STRING_VALUE",
104
105
  * // OriginReadTimeout: Number("int"),
105
106
  * // OriginKeepaliveTimeout: Number("int"),
107
+ * // OriginHttpVersion: "http1.1" || "http2",
106
108
  * // },
107
109
  * // ConnectionAttempts: Number("int"),
108
110
  * // ConnectionTimeout: Number("int"),
@@ -96,12 +96,14 @@ declare const ListDistributionsCommand_base: {
96
96
  * // OriginMtlsConfig: { // OriginMtlsConfig
97
97
  * // ClientCertificateArn: "STRING_VALUE", // required
98
98
  * // },
99
+ * // OriginHttpVersion: "http1.1" || "http2",
99
100
  * // },
100
101
  * // VpcOriginConfig: { // VpcOriginConfig
101
102
  * // VpcOriginId: "STRING_VALUE", // required
102
103
  * // OwnerAccountId: "STRING_VALUE",
103
104
  * // OriginReadTimeout: Number("int"),
104
105
  * // OriginKeepaliveTimeout: Number("int"),
106
+ * // OriginHttpVersion: "http1.1" || "http2",
105
107
  * // },
106
108
  * // ConnectionAttempts: Number("int"),
107
109
  * // ConnectionTimeout: Number("int"),
@@ -39,6 +39,9 @@ declare const UpdateConnectionGroupCommand_base: {
39
39
  * IfMatch: "STRING_VALUE", // required
40
40
  * AnycastIpListId: "STRING_VALUE",
41
41
  * Enabled: true || false,
42
+ * ViewerFallback: { // ViewerFallback
43
+ * DistributionId: "STRING_VALUE",
44
+ * },
42
45
  * };
43
46
  * const command = new UpdateConnectionGroupCommand(input);
44
47
  * const response = await client.send(command);
@@ -63,6 +66,9 @@ declare const UpdateConnectionGroupCommand_base: {
63
66
  * // Status: "STRING_VALUE",
64
67
  * // Enabled: true || false,
65
68
  * // IsDefault: true || false,
69
+ * // ViewerFallback: { // ViewerFallback
70
+ * // DistributionId: "STRING_VALUE",
71
+ * // },
66
72
  * // },
67
73
  * // ETag: "STRING_VALUE",
68
74
  * // };
@@ -79,12 +79,14 @@ declare const UpdateDistributionCommand_base: {
79
79
  * OriginMtlsConfig: { // OriginMtlsConfig
80
80
  * ClientCertificateArn: "STRING_VALUE", // required
81
81
  * },
82
+ * OriginHttpVersion: "http1.1" || "http2",
82
83
  * },
83
84
  * VpcOriginConfig: { // VpcOriginConfig
84
85
  * VpcOriginId: "STRING_VALUE", // required
85
86
  * OwnerAccountId: "STRING_VALUE",
86
87
  * OriginReadTimeout: Number("int"),
87
88
  * OriginKeepaliveTimeout: Number("int"),
89
+ * OriginHttpVersion: "http1.1" || "http2",
88
90
  * },
89
91
  * ConnectionAttempts: Number("int"),
90
92
  * ConnectionTimeout: Number("int"),
@@ -458,12 +460,14 @@ declare const UpdateDistributionCommand_base: {
458
460
  * // OriginMtlsConfig: { // OriginMtlsConfig
459
461
  * // ClientCertificateArn: "STRING_VALUE", // required
460
462
  * // },
463
+ * // OriginHttpVersion: "http1.1" || "http2",
461
464
  * // },
462
465
  * // VpcOriginConfig: { // VpcOriginConfig
463
466
  * // VpcOriginId: "STRING_VALUE", // required
464
467
  * // OwnerAccountId: "STRING_VALUE",
465
468
  * // OriginReadTimeout: Number("int"),
466
469
  * // OriginKeepaliveTimeout: Number("int"),
470
+ * // OriginHttpVersion: "http1.1" || "http2",
467
471
  * // },
468
472
  * // ConnectionAttempts: Number("int"),
469
473
  * // ConnectionTimeout: Number("int"),
@@ -776,6 +780,9 @@ declare const UpdateDistributionCommand_base: {
776
780
  * @throws {@link ContinuousDeploymentPolicyInUse} (client fault)
777
781
  * <p>You cannot delete a continuous deployment policy that is associated with a primary distribution.</p>
778
782
  *
783
+ * @throws {@link EntityLimitExceeded} (client fault)
784
+ * <p>The entity limit has been exceeded.</p>
785
+ *
779
786
  * @throws {@link EntityNotFound} (client fault)
780
787
  * <p>The entity was not found.</p>
781
788
  *
@@ -39,6 +39,7 @@ declare const UpdateDistributionTenantCommand_base: {
39
39
  * Domains: [ // DomainList
40
40
  * { // DomainItem
41
41
  * Domain: "STRING_VALUE", // required
42
+ * ServeOn: "any" || "anycast-ip-list-only",
42
43
  * },
43
44
  * ],
44
45
  * Customizations: { // Customizations
@@ -70,6 +71,7 @@ declare const UpdateDistributionTenantCommand_base: {
70
71
  * CertificateTransparencyLoggingPreference: "enabled" || "disabled",
71
72
  * },
72
73
  * Enabled: true || false,
74
+ * OnDomainTakeover: "allow" || "reject",
73
75
  * };
74
76
  * const command = new UpdateDistributionTenantCommand(input);
75
77
  * const response = await client.send(command);
@@ -83,6 +85,7 @@ declare const UpdateDistributionTenantCommand_base: {
83
85
  * // { // DomainResult
84
86
  * // Domain: "STRING_VALUE", // required
85
87
  * // Status: "active" || "inactive",
88
+ * // ServeOn: "any" || "anycast-ip-list-only",
86
89
  * // },
87
90
  * // ],
88
91
  * // Tags: { // Tags
@@ -123,12 +123,14 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
123
123
  * // OriginMtlsConfig: { // OriginMtlsConfig
124
124
  * // ClientCertificateArn: "STRING_VALUE", // required
125
125
  * // },
126
+ * // OriginHttpVersion: "http1.1" || "http2",
126
127
  * // },
127
128
  * // VpcOriginConfig: { // VpcOriginConfig
128
129
  * // VpcOriginId: "STRING_VALUE", // required
129
130
  * // OwnerAccountId: "STRING_VALUE",
130
131
  * // OriginReadTimeout: Number("int"),
131
132
  * // OriginKeepaliveTimeout: Number("int"),
133
+ * // OriginHttpVersion: "http1.1" || "http2",
132
134
  * // },
133
135
  * // ConnectionAttempts: Number("int"),
134
136
  * // ConnectionTimeout: Number("int"),
@@ -60,6 +60,9 @@ declare const UpdateDomainAssociationCommand_base: {
60
60
  * @throws {@link AccessDenied} (client fault)
61
61
  * <p>Access denied.</p>
62
62
  *
63
+ * @throws {@link EntityLimitExceeded} (client fault)
64
+ * <p>The entity limit has been exceeded.</p>
65
+ *
63
66
  * @throws {@link EntityNotFound} (client fault)
64
67
  * <p>The entity was not found.</p>
65
68
  *
@@ -69,6 +72,9 @@ declare const UpdateDomainAssociationCommand_base: {
69
72
  * @throws {@link InvalidArgument} (client fault)
70
73
  * <p>An argument is invalid.</p>
71
74
  *
75
+ * @throws {@link InvalidAssociation} (client fault)
76
+ * <p>The specified CloudFront resource can't be associated.</p>
77
+ *
72
78
  * @throws {@link InvalidIfMatchVersion} (client fault)
73
79
  * <p>The <code>If-Match</code> version is missing or not valid.</p>
74
80
  *
@@ -236,6 +236,18 @@ export declare const OriginGroupSelectionCriteria: {
236
236
  * @public
237
237
  */
238
238
  export type OriginGroupSelectionCriteria = (typeof OriginGroupSelectionCriteria)[keyof typeof OriginGroupSelectionCriteria];
239
+ /**
240
+ * @public
241
+ * @enum
242
+ */
243
+ export declare const OriginHttpVersion: {
244
+ readonly Http1_1: "http1.1";
245
+ readonly Http2: "http2";
246
+ };
247
+ /**
248
+ * @public
249
+ */
250
+ export type OriginHttpVersion = (typeof OriginHttpVersion)[keyof typeof OriginHttpVersion];
239
251
  /**
240
252
  * @public
241
253
  * @enum
@@ -383,6 +395,18 @@ export declare const CustomizationActionType: {
383
395
  * @public
384
396
  */
385
397
  export type CustomizationActionType = (typeof CustomizationActionType)[keyof typeof CustomizationActionType];
398
+ /**
399
+ * @public
400
+ * @enum
401
+ */
402
+ export declare const ServeOn: {
403
+ readonly Any: "any";
404
+ readonly AnycastIpListOnly: "anycast-ip-list-only";
405
+ };
406
+ /**
407
+ * @public
408
+ */
409
+ export type ServeOn = (typeof ServeOn)[keyof typeof ServeOn];
386
410
  /**
387
411
  * @public
388
412
  * @enum
@@ -395,6 +419,18 @@ export declare const ValidationTokenHost: {
395
419
  * @public
396
420
  */
397
421
  export type ValidationTokenHost = (typeof ValidationTokenHost)[keyof typeof ValidationTokenHost];
422
+ /**
423
+ * @public
424
+ * @enum
425
+ */
426
+ export declare const OnDomainTakeover: {
427
+ readonly Allow: "allow";
428
+ readonly Reject: "reject";
429
+ };
430
+ /**
431
+ * @public
432
+ */
433
+ export type OnDomainTakeover = (typeof OnDomainTakeover)[keyof typeof OnDomainTakeover];
398
434
  /**
399
435
  * @public
400
436
  * @enum
@@ -1,4 +1,4 @@
1
- import type { CachePolicyCookieBehavior, CachePolicyHeaderBehavior, CachePolicyQueryStringBehavior, CachePolicyType, CertificateSource, CertificateTransparencyLoggingPreference, ConnectionMode, ContinuousDeploymentPolicyType, CustomizationActionType, DomainStatus, EventType, Format, FrameOptionsList, FunctionRuntime, FunctionStage, GeoRestrictionType, HttpVersion, ICPRecordalStatus, ImportSourceType, IpAddressType, IpamCidrStatus, ItemSelection, Method, MinimumProtocolVersion, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginGroupSelectionCriteria, OriginProtocolPolicy, OriginRequestPolicyCookieBehavior, OriginRequestPolicyHeaderBehavior, OriginRequestPolicyQueryStringBehavior, PriceClass, RealtimeMetricsSubscriptionStatus, ReferrerPolicyList, ResponseHeadersPolicyAccessControlAllowMethodsValues, SslProtocol, SSLSupportMethod, TrustStoreStatus, ValidationTokenHost, ViewerMtlsMode, ViewerProtocolPolicy, VpcIpAddressType } from "./enums";
1
+ import type { CachePolicyCookieBehavior, CachePolicyHeaderBehavior, CachePolicyQueryStringBehavior, CachePolicyType, CertificateSource, CertificateTransparencyLoggingPreference, ConnectionMode, ContinuousDeploymentPolicyType, CustomizationActionType, DomainStatus, EventType, Format, FrameOptionsList, FunctionRuntime, FunctionStage, GeoRestrictionType, HttpVersion, ICPRecordalStatus, ImportSourceType, IpAddressType, IpamCidrStatus, ItemSelection, Method, MinimumProtocolVersion, OnDomainTakeover, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginGroupSelectionCriteria, OriginHttpVersion, OriginProtocolPolicy, OriginRequestPolicyCookieBehavior, OriginRequestPolicyHeaderBehavior, OriginRequestPolicyQueryStringBehavior, PriceClass, RealtimeMetricsSubscriptionStatus, ReferrerPolicyList, ResponseHeadersPolicyAccessControlAllowMethodsValues, ServeOn, SslProtocol, SSLSupportMethod, TrustStoreStatus, ValidationTokenHost, ViewerMtlsMode, ViewerProtocolPolicy, VpcIpAddressType } from "./enums";
2
2
  /**
3
3
  * <p>A list of CloudFront key pair identifiers.</p>
4
4
  * @public
@@ -1468,6 +1468,11 @@ export interface CustomOriginConfig {
1468
1468
  * @public
1469
1469
  */
1470
1470
  OriginMtlsConfig?: OriginMtlsConfig | undefined;
1471
+ /**
1472
+ * <p>The HTTP version that CloudFront uses for requests to your custom origin. Valid values are <code>http1.1</code> and <code>http2</code>. If you don't specify a value, CloudFront uses HTTP/1.1.</p> <p>When you specify <code>http2</code>, CloudFront offers HTTP/2 to the origin by using ALPN. If the origin doesn't negotiate HTTP/2, CloudFront uses HTTP/1.1. CloudFront uses HTTP/2 only over Transport Layer Security (TLS) 1.2 or later. Otherwise, it uses HTTP/1.1.</p> <p>If you use a version of an AWS SDK or the AWS CLI that doesn't support this field, an update that sends back a configuration you got from CloudFront removes the value, and CloudFront then uses HTTP/1.1.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginHttpVersion">Origin HTTP version</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
1473
+ * @public
1474
+ */
1475
+ OriginHttpVersion?: OriginHttpVersion | undefined;
1471
1476
  }
1472
1477
  /**
1473
1478
  * <p>CloudFront Origin Shield.</p> <p>Using Origin Shield can help reduce the load on your origin. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html">Using Origin Shield</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
@@ -1526,6 +1531,11 @@ export interface VpcOriginConfig {
1526
1531
  * @public
1527
1532
  */
1528
1533
  OriginKeepaliveTimeout?: number | undefined;
1534
+ /**
1535
+ * <p>The HTTP version that CloudFront uses for requests to the VPC origin for this distribution. Valid values are <code>http1.1</code> and <code>http2</code>. If you don't specify a value, CloudFront uses HTTP/1.1.</p> <p>When you specify <code>http2</code>, CloudFront offers HTTP/2 to the origin by using ALPN. If the origin doesn't negotiate HTTP/2, CloudFront uses HTTP/1.1. CloudFront uses HTTP/2 only over Transport Layer Security (TLS) 1.2 or later. Otherwise, it uses HTTP/1.1.</p> <p>If you use a version of an AWS SDK or the AWS CLI that doesn't support this field, an update that sends back a configuration you got from CloudFront removes the value, and CloudFront then uses HTTP/1.1.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginHttpVersion">Origin HTTP version</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
1536
+ * @public
1537
+ */
1538
+ OriginHttpVersion?: OriginHttpVersion | undefined;
1529
1539
  }
1530
1540
  /**
1531
1541
  * <p>An origin.</p> <p>An origin is the location where content is stored, and from which CloudFront gets content to serve to viewers. To specify an origin:</p> <ul> <li> <p>Use <code>S3OriginConfig</code> to specify an Amazon S3 bucket that is not configured with static website hosting.</p> </li> <li> <p>Use <code>VpcOriginConfig</code> to specify a VPC origin.</p> </li> <li> <p>Use <code>CustomOriginConfig</code> to specify all other kinds of origins, including:</p> <ul> <li> <p>An Amazon S3 bucket that is configured with static website hosting</p> </li> <li> <p>An Elastic Load Balancing load balancer</p> </li> <li> <p>An Elemental MediaPackage endpoint</p> </li> <li> <p>An Elemental MediaStore container</p> </li> <li> <p>Any other HTTP server, running on an Amazon EC2 instance or any other kind of host</p> </li> </ul> </li> </ul> <p>For the current maximum number of origins that you can specify per distribution, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html#limits-web-distributions">General Quotas on Web Distributions</a> in the <i>Amazon CloudFront Developer Guide</i> (quotas were formerly referred to as limits).</p>
@@ -2299,6 +2309,17 @@ export interface CreateConnectionFunctionResult {
2299
2309
  */
2300
2310
  ETag?: string | undefined;
2301
2311
  }
2312
+ /**
2313
+ * <p>The distribution whose certificate CloudFront uses for viewer requests that arrive on the connection group's Anycast static IPs without Server Name Indication (SNI). You can specify one distribution per Anycast static IP list.</p>
2314
+ * @public
2315
+ */
2316
+ export interface ViewerFallback {
2317
+ /**
2318
+ * <p>The ID of the distribution whose certificate CloudFront uses to establish TLS connections for viewer requests that don't include SNI.</p>
2319
+ * @public
2320
+ */
2321
+ DistributionId?: string | undefined;
2322
+ }
2302
2323
  /**
2303
2324
  * @public
2304
2325
  */
@@ -2328,6 +2349,11 @@ export interface CreateConnectionGroupRequest {
2328
2349
  * @public
2329
2350
  */
2330
2351
  Enabled?: boolean | undefined;
2352
+ /**
2353
+ * <p>The distribution whose certificate CloudFront uses for viewer requests that arrive on the connection group's Anycast static IPs without Server Name Indication (SNI).</p>
2354
+ * @public
2355
+ */
2356
+ ViewerFallback?: ViewerFallback | undefined;
2331
2357
  }
2332
2358
  /**
2333
2359
  * <p>The connection group for your distribution tenants. When you first create a distribution tenant and you don't specify a connection group, CloudFront will automatically create a default connection group for you. When you create a new distribution tenant and don't specify a connection group, the default one will be associated with your distribution tenant.</p>
@@ -2394,6 +2420,11 @@ export interface ConnectionGroup {
2394
2420
  * @public
2395
2421
  */
2396
2422
  IsDefault?: boolean | undefined;
2423
+ /**
2424
+ * <p>The distribution whose certificate CloudFront uses for viewer requests that arrive on the connection group's Anycast static IPs without Server Name Indication (SNI).</p>
2425
+ * @public
2426
+ */
2427
+ ViewerFallback?: ViewerFallback | undefined;
2397
2428
  }
2398
2429
  /**
2399
2430
  * @public
@@ -2662,6 +2693,11 @@ export interface DomainItem {
2662
2693
  * @public
2663
2694
  */
2664
2695
  Domain: string | undefined;
2696
+ /**
2697
+ * <p>Specifies which requests for this domain CloudFront routes to the distribution tenant. Valid values are:</p> <ul> <li> <p> <code>any</code> – CloudFront routes requests for this domain to the distribution tenant regardless of the IP address that they arrive on. This is the default if you don't specify a value.</p> </li> <li> <p> <code>anycast-ip-list-only</code> – CloudFront routes requests for this domain to the distribution tenant only when they arrive on the Anycast static IPs of the distribution tenant's connection group. CloudFront treats requests that arrive on other IP addresses as requests for an unknown domain.</p> </li> </ul>
2698
+ * @public
2699
+ */
2700
+ ServeOn?: ServeOn | undefined;
2665
2701
  }
2666
2702
  /**
2667
2703
  * <p>An object that represents the request for the Amazon CloudFront managed ACM certificate.</p>
@@ -2749,6 +2785,11 @@ export interface CreateDistributionTenantRequest {
2749
2785
  * @public
2750
2786
  */
2751
2787
  Enabled?: boolean | undefined;
2788
+ /**
2789
+ * <p>Specifies whether CloudFront moves a domain in this request to this distribution tenant when the domain is already associated with another standard distribution or distribution tenant. Valid values are:</p> <ul> <li> <p> <code>allow</code> – CloudFront moves the domain to this distribution tenant when the domain's DNS points to this distribution tenant.</p> </li> <li> <p> <code>reject</code> – CloudFront doesn't move the domain, and the request fails if the domain is associated with another resource. This is the default if you don't specify a value.</p> </li> </ul>
2790
+ * @public
2791
+ */
2792
+ OnDomainTakeover?: OnDomainTakeover | undefined;
2752
2793
  }
2753
2794
  /**
2754
2795
  * <p>The details about the domain result.</p>
@@ -2765,6 +2806,11 @@ export interface DomainResult {
2765
2806
  * @public
2766
2807
  */
2767
2808
  Status?: DomainStatus | undefined;
2809
+ /**
2810
+ * <p>Specifies which requests for this domain CloudFront routes to the distribution tenant. Valid values are:</p> <ul> <li> <p> <code>any</code> – CloudFront routes requests for this domain to the distribution tenant regardless of the IP address that they arrive on. This is the default if you don't specify a value.</p> </li> <li> <p> <code>anycast-ip-list-only</code> – CloudFront routes requests for this domain to the distribution tenant only when they arrive on the Anycast static IPs of the distribution tenant's connection group. CloudFront treats requests that arrive on other IP addresses as requests for an unknown domain.</p> </li> </ul>
2811
+ * @public
2812
+ */
2813
+ ServeOn?: ServeOn | undefined;
2768
2814
  }
2769
2815
  /**
2770
2816
  * <p>The distribution tenant.</p>
@@ -5937,13 +5983,3 @@ export interface GetKeyGroupResult {
5937
5983
  */
5938
5984
  ETag?: string | undefined;
5939
5985
  }
5940
- /**
5941
- * @public
5942
- */
5943
- export interface GetKeyGroupConfigRequest {
5944
- /**
5945
- * <p>The identifier of the key group whose configuration you are getting. To get the identifier, use <code>ListKeyGroups</code>.</p>
5946
- * @public
5947
- */
5948
- Id: string | undefined;
5949
- }
@@ -1,5 +1,15 @@
1
- import type { CachePolicyType, ConnectionMode, DistributionResourceType, DnsConfigurationStatus, FunctionStage, HttpVersion, IpAddressType, ManagedCertificateStatus, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginRequestPolicyType, PriceClass, ResponseHeadersPolicyType, TrustStoreStatus, ValidationTokenHost, VpcIpAddressType } from "./enums";
2
- import type { Aliases, AliasICPRecordal, AnycastIpList, AnycastIpListCollection, CaCertificatesBundleSource, CacheBehaviors, CachePolicy, CachePolicyConfig, CachePolicyList, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ConnectionFunctionAssociation, ConnectionFunctionSummary, ConnectionGroup, ContentTypeProfileConfig, ContinuousDeploymentPolicy, ContinuousDeploymentPolicyConfig, CustomErrorResponses, Customizations, DefaultCacheBehavior, Distribution, DistributionConfig, DistributionTenant, DomainItem, DomainResult, EncryptionEntities, EndPoint, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionSummary, IpamCidrConfig, KeyGroup, KeyGroupConfig, KeyValueStore, ManagedCertificateRequest, MonitoringSubscription, OriginAccessControl, OriginAccessControlConfig, OriginGroups, OriginRequestPolicy, OriginRequestPolicyConfig, Origins, Parameter, PublicKey, PublicKeyConfig, QueryArgProfileConfig, RealtimeLogConfig, ResponseHeadersPolicy, ResponseHeadersPolicyConfig, Restrictions, S3Origin, StreamingDistribution, StreamingDistributionConfig, Tags, TrustedSigners, TrustStore, ViewerCertificate, ViewerMtlsConfig, VpcOrigin, VpcOriginEndpointConfig } from "./models_0";
1
+ import type { CachePolicyType, ConnectionMode, DistributionResourceType, DnsConfigurationStatus, FunctionStage, HttpVersion, IpAddressType, ManagedCertificateStatus, OnDomainTakeover, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginRequestPolicyType, PriceClass, ResponseHeadersPolicyType, TrustStoreStatus, ValidationTokenHost, VpcIpAddressType } from "./enums";
2
+ import type { Aliases, AliasICPRecordal, AnycastIpList, AnycastIpListCollection, CaCertificatesBundleSource, CacheBehaviors, CachePolicy, CachePolicyConfig, CachePolicyList, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ConnectionFunctionAssociation, ConnectionFunctionSummary, ConnectionGroup, ContentTypeProfileConfig, ContinuousDeploymentPolicy, ContinuousDeploymentPolicyConfig, CustomErrorResponses, Customizations, DefaultCacheBehavior, Distribution, DistributionConfig, DistributionTenant, DomainItem, DomainResult, EncryptionEntities, EndPoint, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionSummary, IpamCidrConfig, KeyGroup, KeyGroupConfig, KeyValueStore, ManagedCertificateRequest, MonitoringSubscription, OriginAccessControl, OriginAccessControlConfig, OriginGroups, OriginRequestPolicy, OriginRequestPolicyConfig, Origins, Parameter, PublicKey, PublicKeyConfig, QueryArgProfileConfig, RealtimeLogConfig, ResponseHeadersPolicy, ResponseHeadersPolicyConfig, Restrictions, S3Origin, StreamingDistribution, StreamingDistributionConfig, Tags, TrustedSigners, TrustStore, ViewerCertificate, ViewerFallback, ViewerMtlsConfig, VpcOrigin, VpcOriginEndpointConfig } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface GetKeyGroupConfigRequest {
7
+ /**
8
+ * <p>The identifier of the key group whose configuration you are getting. To get the identifier, use <code>ListKeyGroups</code>.</p>
9
+ * @public
10
+ */
11
+ Id: string | undefined;
12
+ }
3
13
  /**
4
14
  * @public
5
15
  */
@@ -803,6 +813,11 @@ export interface ConnectionGroupSummary {
803
813
  * @public
804
814
  */
805
815
  IsDefault?: boolean | undefined;
816
+ /**
817
+ * <p>The distribution whose certificate CloudFront uses for viewer requests that arrive on the connection group's Anycast static IPs without Server Name Indication (SNI).</p>
818
+ * @public
819
+ */
820
+ ViewerFallback?: ViewerFallback | undefined;
806
821
  }
807
822
  /**
808
823
  * @public
@@ -3375,6 +3390,11 @@ export interface UpdateConnectionGroupRequest {
3375
3390
  * @public
3376
3391
  */
3377
3392
  Enabled?: boolean | undefined;
3393
+ /**
3394
+ * <p>The distribution whose certificate CloudFront uses for viewer requests that arrive on the connection group's Anycast static IPs without Server Name Indication (SNI).</p>
3395
+ * @public
3396
+ */
3397
+ ViewerFallback?: ViewerFallback | undefined;
3378
3398
  }
3379
3399
  /**
3380
3400
  * @public
@@ -3512,6 +3532,11 @@ export interface UpdateDistributionTenantRequest {
3512
3532
  * @public
3513
3533
  */
3514
3534
  Enabled?: boolean | undefined;
3535
+ /**
3536
+ * <p>Specifies whether CloudFront moves a domain in this request to this distribution tenant when the domain is already associated with another standard distribution or distribution tenant. Valid values are:</p> <ul> <li> <p> <code>allow</code> – CloudFront moves the domain to this distribution tenant when the domain's DNS points to this distribution tenant.</p> </li> <li> <p> <code>reject</code> – CloudFront doesn't move the domain, and the request fails if the domain is associated with another resource. This is the default if you don't specify a value.</p> </li> </ul>
3537
+ * @public
3538
+ */
3539
+ OnDomainTakeover?: OnDomainTakeover | undefined;
3515
3540
  }
3516
3541
  /**
3517
3542
  * @public
@@ -669,6 +669,7 @@ export declare var ValidationTokenDetail$: StaticStructureSchema;
669
669
  export declare var VerifyDnsConfigurationRequest$: StaticStructureSchema;
670
670
  export declare var VerifyDnsConfigurationResult$: StaticStructureSchema;
671
671
  export declare var ViewerCertificate$: StaticStructureSchema;
672
+ export declare var ViewerFallback$: StaticStructureSchema;
672
673
  export declare var ViewerMtlsConfig$: StaticStructureSchema;
673
674
  export declare var VpcOrigin$: StaticStructureSchema;
674
675
  export declare var VpcOriginConfig$: StaticStructureSchema;
@@ -1,6 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { GetKeyGroupConfigRequest } from "../models/models_0";
3
- import { GetKeyGroupConfigResult } from "../models/models_1";
2
+ import { GetKeyGroupConfigRequest, GetKeyGroupConfigResult } from "../models/models_1";
4
3
  export { __MetadataBearer };
5
4
  export interface GetKeyGroupConfigCommandInput extends GetKeyGroupConfigRequest {}
6
5
  export interface GetKeyGroupConfigCommandOutput extends GetKeyGroupConfigResult, __MetadataBearer {}
@@ -123,6 +123,11 @@ export declare const OriginGroupSelectionCriteria: {
123
123
  };
124
124
  export type OriginGroupSelectionCriteria =
125
125
  (typeof OriginGroupSelectionCriteria)[keyof typeof OriginGroupSelectionCriteria];
126
+ export declare const OriginHttpVersion: {
127
+ readonly Http1_1: "http1.1";
128
+ readonly Http2: "http2";
129
+ };
130
+ export type OriginHttpVersion = (typeof OriginHttpVersion)[keyof typeof OriginHttpVersion];
126
131
  export declare const OriginProtocolPolicy: {
127
132
  readonly http_only: "http-only";
128
133
  readonly https_only: "https-only";
@@ -196,11 +201,21 @@ export declare const CustomizationActionType: {
196
201
  };
197
202
  export type CustomizationActionType =
198
203
  (typeof CustomizationActionType)[keyof typeof CustomizationActionType];
204
+ export declare const ServeOn: {
205
+ readonly Any: "any";
206
+ readonly AnycastIpListOnly: "anycast-ip-list-only";
207
+ };
208
+ export type ServeOn = (typeof ServeOn)[keyof typeof ServeOn];
199
209
  export declare const ValidationTokenHost: {
200
210
  readonly CloudFront: "cloudfront";
201
211
  readonly SelfHosted: "self-hosted";
202
212
  };
203
213
  export type ValidationTokenHost = (typeof ValidationTokenHost)[keyof typeof ValidationTokenHost];
214
+ export declare const OnDomainTakeover: {
215
+ readonly Allow: "allow";
216
+ readonly Reject: "reject";
217
+ };
218
+ export type OnDomainTakeover = (typeof OnDomainTakeover)[keyof typeof OnDomainTakeover];
204
219
  export declare const DomainStatus: {
205
220
  readonly Active: "active";
206
221
  readonly Inactive: "inactive";
@@ -23,10 +23,12 @@ import {
23
23
  ItemSelection,
24
24
  Method,
25
25
  MinimumProtocolVersion,
26
+ OnDomainTakeover,
26
27
  OriginAccessControlOriginTypes,
27
28
  OriginAccessControlSigningBehaviors,
28
29
  OriginAccessControlSigningProtocols,
29
30
  OriginGroupSelectionCriteria,
31
+ OriginHttpVersion,
30
32
  OriginProtocolPolicy,
31
33
  OriginRequestPolicyCookieBehavior,
32
34
  OriginRequestPolicyHeaderBehavior,
@@ -35,6 +37,7 @@ import {
35
37
  RealtimeMetricsSubscriptionStatus,
36
38
  ReferrerPolicyList,
37
39
  ResponseHeadersPolicyAccessControlAllowMethodsValues,
40
+ ServeOn,
38
41
  SslProtocol,
39
42
  SSLSupportMethod,
40
43
  TrustStoreStatus,
@@ -394,6 +397,7 @@ export interface CustomOriginConfig {
394
397
  OriginKeepaliveTimeout?: number | undefined;
395
398
  IpAddressType?: IpAddressType | undefined;
396
399
  OriginMtlsConfig?: OriginMtlsConfig | undefined;
400
+ OriginHttpVersion?: OriginHttpVersion | undefined;
397
401
  }
398
402
  export interface OriginShield {
399
403
  Enabled: boolean | undefined;
@@ -408,6 +412,7 @@ export interface VpcOriginConfig {
408
412
  OwnerAccountId?: string | undefined;
409
413
  OriginReadTimeout?: number | undefined;
410
414
  OriginKeepaliveTimeout?: number | undefined;
415
+ OriginHttpVersion?: OriginHttpVersion | undefined;
411
416
  }
412
417
  export interface Origin {
413
418
  Id: string | undefined;
@@ -588,12 +593,16 @@ export interface CreateConnectionFunctionResult {
588
593
  Location?: string | undefined;
589
594
  ETag?: string | undefined;
590
595
  }
596
+ export interface ViewerFallback {
597
+ DistributionId?: string | undefined;
598
+ }
591
599
  export interface CreateConnectionGroupRequest {
592
600
  Name: string | undefined;
593
601
  Ipv6Enabled?: boolean | undefined;
594
602
  Tags?: Tags | undefined;
595
603
  AnycastIpListId?: string | undefined;
596
604
  Enabled?: boolean | undefined;
605
+ ViewerFallback?: ViewerFallback | undefined;
597
606
  }
598
607
  export interface ConnectionGroup {
599
608
  Id?: string | undefined;
@@ -608,6 +617,7 @@ export interface ConnectionGroup {
608
617
  Status?: string | undefined;
609
618
  Enabled?: boolean | undefined;
610
619
  IsDefault?: boolean | undefined;
620
+ ViewerFallback?: ViewerFallback | undefined;
611
621
  }
612
622
  export interface CreateConnectionGroupResult {
613
623
  ConnectionGroup?: ConnectionGroup | undefined;
@@ -675,6 +685,7 @@ export interface Customizations {
675
685
  }
676
686
  export interface DomainItem {
677
687
  Domain: string | undefined;
688
+ ServeOn?: ServeOn | undefined;
678
689
  }
679
690
  export interface ManagedCertificateRequest {
680
691
  ValidationTokenHost: ValidationTokenHost | undefined;
@@ -695,10 +706,12 @@ export interface CreateDistributionTenantRequest {
695
706
  ConnectionGroupId?: string | undefined;
696
707
  ManagedCertificateRequest?: ManagedCertificateRequest | undefined;
697
708
  Enabled?: boolean | undefined;
709
+ OnDomainTakeover?: OnDomainTakeover | undefined;
698
710
  }
699
711
  export interface DomainResult {
700
712
  Domain: string | undefined;
701
713
  Status?: DomainStatus | undefined;
714
+ ServeOn?: ServeOn | undefined;
702
715
  }
703
716
  export interface DistributionTenant {
704
717
  Id?: string | undefined;
@@ -1497,6 +1510,3 @@ export interface GetKeyGroupResult {
1497
1510
  KeyGroup?: KeyGroup | undefined;
1498
1511
  ETag?: string | undefined;
1499
1512
  }
1500
- export interface GetKeyGroupConfigRequest {
1501
- Id: string | undefined;
1502
- }