Skip to content

Commit d8d946a

Browse files
author
awstools
committed
feat(client-transfer): This change releases support for importing self signed certificates to the Transfer Family for sending outbound file transfers over TLS/HTTPS.
1 parent fa43c0a commit d8d946a

File tree

5 files changed

+58
-9
lines changed

5 files changed

+58
-9
lines changed

clients/client-transfer/src/commands/DescribeCertificateCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface DescribeCertificateCommandOutput extends DescribeCertificateRes
4747
* // Certificate: { // DescribedCertificate
4848
* // Arn: "STRING_VALUE", // required
4949
* // CertificateId: "STRING_VALUE",
50-
* // Usage: "SIGNING" || "ENCRYPTION",
50+
* // Usage: "SIGNING" || "ENCRYPTION" || "TLS",
5151
* // Status: "ACTIVE" || "PENDING_ROTATION" || "INACTIVE",
5252
* // Certificate: "STRING_VALUE",
5353
* // CertificateChain: "STRING_VALUE",

clients/client-transfer/src/commands/ImportCertificateCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface ImportCertificateCommandOutput extends ImportCertificateRespons
4141
* // const { TransferClient, ImportCertificateCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
4242
* const client = new TransferClient(config);
4343
* const input = { // ImportCertificateRequest
44-
* Usage: "SIGNING" || "ENCRYPTION", // required
44+
* Usage: "SIGNING" || "ENCRYPTION" || "TLS", // required
4545
* Certificate: "STRING_VALUE", // required
4646
* CertificateChain: "STRING_VALUE",
4747
* PrivateKey: "STRING_VALUE",

clients/client-transfer/src/commands/ListCertificatesCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export interface ListCertificatesCommandOutput extends ListCertificatesResponse,
5050
* // { // ListedCertificate
5151
* // Arn: "STRING_VALUE",
5252
* // CertificateId: "STRING_VALUE",
53-
* // Usage: "SIGNING" || "ENCRYPTION",
53+
* // Usage: "SIGNING" || "ENCRYPTION" || "TLS",
5454
* // Status: "ACTIVE" || "PENDING_ROTATION" || "INACTIVE",
5555
* // ActiveDate: new Date("TIMESTAMP"),
5656
* // InactiveDate: new Date("TIMESTAMP"),

clients/client-transfer/src/models/models_0.ts

+46-3
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ export type CertificateType = (typeof CertificateType)[keyof typeof CertificateT
277277
export const CertificateUsageType = {
278278
ENCRYPTION: "ENCRYPTION",
279279
SIGNING: "SIGNING",
280+
TLS: "TLS",
280281
} as const;
281282

282283
/**
@@ -2938,7 +2939,21 @@ export interface DescribedCertificate {
29382939
CertificateId?: string;
29392940

29402941
/**
2941-
* <p>Specifies whether this certificate is used for signing or encryption.</p>
2942+
* <p>Specifies how this certificate is used. It can be used in the following ways:</p>
2943+
* <ul>
2944+
* <li>
2945+
* <p>
2946+
* <code>SIGNING</code>: For signing AS2 messages</p>
2947+
* </li>
2948+
* <li>
2949+
* <p>
2950+
* <code>ENCRYPTION</code>: For encrypting AS2 messages</p>
2951+
* </li>
2952+
* <li>
2953+
* <p>
2954+
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p>
2955+
* </li>
2956+
* </ul>
29422957
* @public
29432958
*/
29442959
Usage?: CertificateUsageType;
@@ -4368,7 +4383,21 @@ export interface DescribeWorkflowResponse {
43684383
*/
43694384
export interface ImportCertificateRequest {
43704385
/**
4371-
* <p>Specifies whether this certificate is used for signing or encryption.</p>
4386+
* <p>Specifies how this certificate is used. It can be used in the following ways:</p>
4387+
* <ul>
4388+
* <li>
4389+
* <p>
4390+
* <code>SIGNING</code>: For signing AS2 messages</p>
4391+
* </li>
4392+
* <li>
4393+
* <p>
4394+
* <code>ENCRYPTION</code>: For encrypting AS2 messages</p>
4395+
* </li>
4396+
* <li>
4397+
* <p>
4398+
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p>
4399+
* </li>
4400+
* </ul>
43724401
* @public
43734402
*/
43744403
Usage: CertificateUsageType | undefined;
@@ -4805,7 +4834,21 @@ export interface ListedCertificate {
48054834
CertificateId?: string;
48064835

48074836
/**
4808-
* <p>Specifies whether this certificate is used for signing or encryption.</p>
4837+
* <p>Specifies how this certificate is used. It can be used in the following ways:</p>
4838+
* <ul>
4839+
* <li>
4840+
* <p>
4841+
* <code>SIGNING</code>: For signing AS2 messages</p>
4842+
* </li>
4843+
* <li>
4844+
* <p>
4845+
* <code>ENCRYPTION</code>: For encrypting AS2 messages</p>
4846+
* </li>
4847+
* <li>
4848+
* <p>
4849+
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p>
4850+
* </li>
4851+
* </ul>
48094852
* @public
48104853
*/
48114854
Usage?: CertificateUsageType;

codegen/sdk-codegen/aws-models/transfer.json

+9-3
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,12 @@
292292
"traits": {
293293
"smithy.api#enumValue": "ENCRYPTION"
294294
}
295+
},
296+
"TLS": {
297+
"target": "smithy.api#Unit",
298+
"traits": {
299+
"smithy.api#enumValue": "TLS"
300+
}
295301
}
296302
}
297303
},
@@ -2601,7 +2607,7 @@
26012607
"Usage": {
26022608
"target": "com.amazonaws.transfer#CertificateUsageType",
26032609
"traits": {
2604-
"smithy.api#documentation": "<p>Specifies whether this certificate is used for signing or encryption.</p>"
2610+
"smithy.api#documentation": "<p>Specifies how this certificate is used. It can be used in the following ways:</p>\n <ul>\n <li>\n <p>\n <code>SIGNING</code>: For signing AS2 messages</p>\n </li>\n <li>\n <p>\n <code>ENCRYPTION</code>: For encrypting AS2 messages</p>\n </li>\n <li>\n <p>\n <code>TLS</code>: For securing AS2 communications sent over HTTPS</p>\n </li>\n </ul>"
26052611
}
26062612
},
26072613
"Status": {
@@ -3860,7 +3866,7 @@
38603866
"Usage": {
38613867
"target": "com.amazonaws.transfer#CertificateUsageType",
38623868
"traits": {
3863-
"smithy.api#documentation": "<p>Specifies whether this certificate is used for signing or encryption.</p>",
3869+
"smithy.api#documentation": "<p>Specifies how this certificate is used. It can be used in the following ways:</p>\n <ul>\n <li>\n <p>\n <code>SIGNING</code>: For signing AS2 messages</p>\n </li>\n <li>\n <p>\n <code>ENCRYPTION</code>: For encrypting AS2 messages</p>\n </li>\n <li>\n <p>\n <code>TLS</code>: For securing AS2 communications sent over HTTPS</p>\n </li>\n </ul>",
38643870
"smithy.api#required": {}
38653871
}
38663872
},
@@ -5273,7 +5279,7 @@
52735279
"Usage": {
52745280
"target": "com.amazonaws.transfer#CertificateUsageType",
52755281
"traits": {
5276-
"smithy.api#documentation": "<p>Specifies whether this certificate is used for signing or encryption.</p>"
5282+
"smithy.api#documentation": "<p>Specifies how this certificate is used. It can be used in the following ways:</p>\n <ul>\n <li>\n <p>\n <code>SIGNING</code>: For signing AS2 messages</p>\n </li>\n <li>\n <p>\n <code>ENCRYPTION</code>: For encrypting AS2 messages</p>\n </li>\n <li>\n <p>\n <code>TLS</code>: For securing AS2 communications sent over HTTPS</p>\n </li>\n </ul>"
52775283
}
52785284
},
52795285
"Status": {

0 commit comments

Comments
 (0)