Skip to content

Commit 4b7b074

Browse files
author
awstools
committed
feat(client-cloudfront): Add OriginMTLS support to CloudFront Distribution APIs
1 parent a8d9582 commit 4b7b074

21 files changed

Lines changed: 114 additions & 15 deletions

clients/client-cloudfront/src/commands/CopyDistributionCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ export interface CopyDistributionCommandOutput extends CopyDistributionResult, _
125125
* // OriginReadTimeout: Number("int"),
126126
* // OriginKeepaliveTimeout: Number("int"),
127127
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
128+
* // OriginMtlsConfig: { // OriginMtlsConfig
129+
* // ClientCertificateArn: "STRING_VALUE", // required
130+
* // },
128131
* // },
129132
* // VpcOriginConfig: { // VpcOriginConfig
130133
* // VpcOriginId: "STRING_VALUE", // required

clients/client-cloudfront/src/commands/CreateDistributionCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
7979
* OriginReadTimeout: Number("int"),
8080
* OriginKeepaliveTimeout: Number("int"),
8181
* IpAddressType: "ipv4" || "ipv6" || "dualstack",
82+
* OriginMtlsConfig: { // OriginMtlsConfig
83+
* ClientCertificateArn: "STRING_VALUE", // required
84+
* },
8285
* },
8386
* VpcOriginConfig: { // VpcOriginConfig
8487
* VpcOriginId: "STRING_VALUE", // required
@@ -450,6 +453,9 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
450453
* // OriginReadTimeout: Number("int"),
451454
* // OriginKeepaliveTimeout: Number("int"),
452455
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
456+
* // OriginMtlsConfig: { // OriginMtlsConfig
457+
* // ClientCertificateArn: "STRING_VALUE", // required
458+
* // },
453459
* // },
454460
* // VpcOriginConfig: { // VpcOriginConfig
455461
* // VpcOriginId: "STRING_VALUE", // required

clients/client-cloudfront/src/commands/CreateDistributionWithTagsCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ export interface CreateDistributionWithTagsCommandOutput extends CreateDistribut
8080
* OriginReadTimeout: Number("int"),
8181
* OriginKeepaliveTimeout: Number("int"),
8282
* IpAddressType: "ipv4" || "ipv6" || "dualstack",
83+
* OriginMtlsConfig: { // OriginMtlsConfig
84+
* ClientCertificateArn: "STRING_VALUE", // required
85+
* },
8386
* },
8487
* VpcOriginConfig: { // VpcOriginConfig
8588
* VpcOriginId: "STRING_VALUE", // required
@@ -460,6 +463,9 @@ export interface CreateDistributionWithTagsCommandOutput extends CreateDistribut
460463
* // OriginReadTimeout: Number("int"),
461464
* // OriginKeepaliveTimeout: Number("int"),
462465
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
466+
* // OriginMtlsConfig: { // OriginMtlsConfig
467+
* // ClientCertificateArn: "STRING_VALUE", // required
468+
* // },
463469
* // },
464470
* // VpcOriginConfig: { // VpcOriginConfig
465471
* // VpcOriginId: "STRING_VALUE", // required

clients/client-cloudfront/src/commands/GetDistributionCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ export interface GetDistributionCommandOutput extends GetDistributionResult, __M
121121
* // OriginReadTimeout: Number("int"),
122122
* // OriginKeepaliveTimeout: Number("int"),
123123
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
124+
* // OriginMtlsConfig: { // OriginMtlsConfig
125+
* // ClientCertificateArn: "STRING_VALUE", // required
126+
* // },
124127
* // },
125128
* // VpcOriginConfig: { // VpcOriginConfig
126129
* // VpcOriginId: "STRING_VALUE", // required

clients/client-cloudfront/src/commands/GetDistributionConfigCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ export interface GetDistributionConfigCommandOutput extends GetDistributionConfi
8484
* // OriginReadTimeout: Number("int"),
8585
* // OriginKeepaliveTimeout: Number("int"),
8686
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
87+
* // OriginMtlsConfig: { // OriginMtlsConfig
88+
* // ClientCertificateArn: "STRING_VALUE", // required
89+
* // },
8790
* // },
8891
* // VpcOriginConfig: { // VpcOriginConfig
8992
* // VpcOriginId: "STRING_VALUE", // required

clients/client-cloudfront/src/commands/GetManagedCertificateDetailsCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
55

66
import type { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import type { GetManagedCertificateDetailsRequest } from "../models/models_0";
9-
import type { GetManagedCertificateDetailsResult } from "../models/models_1";
8+
import type { GetManagedCertificateDetailsRequest, GetManagedCertificateDetailsResult } from "../models/models_1";
109
import { GetManagedCertificateDetails$ } from "../schemas/schemas_0";
1110

1211
/**

clients/client-cloudfront/src/commands/ListDistributionsByAnycastIpListIdCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ export interface ListDistributionsByAnycastIpListIdCommandOutput extends ListDis
100100
* // OriginReadTimeout: Number("int"),
101101
* // OriginKeepaliveTimeout: Number("int"),
102102
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
103+
* // OriginMtlsConfig: { // OriginMtlsConfig
104+
* // ClientCertificateArn: "STRING_VALUE", // required
105+
* // },
103106
* // },
104107
* // VpcOriginConfig: { // VpcOriginConfig
105108
* // VpcOriginId: "STRING_VALUE", // required

clients/client-cloudfront/src/commands/ListDistributionsByConnectionFunctionCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ export interface ListDistributionsByConnectionFunctionCommandOutput extends List
100100
* // OriginReadTimeout: Number("int"),
101101
* // OriginKeepaliveTimeout: Number("int"),
102102
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
103+
* // OriginMtlsConfig: { // OriginMtlsConfig
104+
* // ClientCertificateArn: "STRING_VALUE", // required
105+
* // },
103106
* // },
104107
* // VpcOriginConfig: { // VpcOriginConfig
105108
* // VpcOriginId: "STRING_VALUE", // required

clients/client-cloudfront/src/commands/ListDistributionsByConnectionModeCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ export interface ListDistributionsByConnectionModeCommandOutput extends ListDist
100100
* // OriginReadTimeout: Number("int"),
101101
* // OriginKeepaliveTimeout: Number("int"),
102102
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
103+
* // OriginMtlsConfig: { // OriginMtlsConfig
104+
* // ClientCertificateArn: "STRING_VALUE", // required
105+
* // },
103106
* // },
104107
* // VpcOriginConfig: { // VpcOriginConfig
105108
* // VpcOriginId: "STRING_VALUE", // required

clients/client-cloudfront/src/commands/ListDistributionsByRealtimeLogConfigCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ export interface ListDistributionsByRealtimeLogConfigCommandOutput extends ListD
101101
* // OriginReadTimeout: Number("int"),
102102
* // OriginKeepaliveTimeout: Number("int"),
103103
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
104+
* // OriginMtlsConfig: { // OriginMtlsConfig
105+
* // ClientCertificateArn: "STRING_VALUE", // required
106+
* // },
104107
* // },
105108
* // VpcOriginConfig: { // VpcOriginConfig
106109
* // VpcOriginId: "STRING_VALUE", // required

0 commit comments

Comments
 (0)