@aws-sdk/client-transfer 3.1151.0 → 3.1153.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.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1150.0";
72
+ var version = "3.1152.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -488,6 +488,7 @@ const _HK = "HostKey";
488
488
  const _HKB = "HostKeyBody";
489
489
  const _HKF = "HostKeyFingerprint";
490
490
  const _HKI = "HostKeyId";
491
+ const _HKST = "HostKeyStorageType";
491
492
  const _HKo = "HostKeys";
492
493
  const _IA = "InstanceArn";
493
494
  const _IAT = "IpAddressType";
@@ -511,6 +512,7 @@ const _ISPK = "ImportSshPublicKey";
511
512
  const _ISPKR = "ImportSshPublicKeyRequest";
512
513
  const _ISPKRm = "ImportSshPublicKeyResponse";
513
514
  const _K = "Key";
515
+ const _KK = "KmsKey";
514
516
  const _LA = "ListedAccess";
515
517
  const _LAR = "ListAccessesRequest";
516
518
  const _LARi = "ListAccessesResponse";
@@ -663,6 +665,7 @@ const _SHKA = "SshHostKeyAlgorithms";
663
665
  const _SI = "ServerIds";
664
666
  const _SIFL = "S3InputFileLocation";
665
667
  const _SIe = "ServerId";
668
+ const _SIec = "SecretId";
666
669
  const _SIes = "SessionId";
667
670
  const _SIo = "SourceIp";
668
671
  const _SIu = "SubnetIds";
@@ -698,9 +701,10 @@ const _SSOe = "SetStatOption";
698
701
  const _SSR = "StartServerRequest";
699
702
  const _SSRt = "StopServerRequest";
700
703
  const _SSt = "StopServer";
701
- const _ST = "StepType";
704
+ const _ST = "StorageType";
702
705
  const _STa = "S3Tag";
703
706
  const _STag = "S3Tags";
707
+ const _STt = "StepType";
704
708
  const _SUE = "ServiceUnavailableException";
705
709
  const _SWSS = "SendWorkflowStepState";
706
710
  const _SWSSR = "SendWorkflowStepStateRequest";
@@ -955,8 +959,8 @@ var CreateProfileResponse$ = [3, n0, _CPRr,
955
959
  ];
956
960
  var CreateServerRequest$ = [3, n0, _CSR,
957
961
  0,
958
- [_Ce, _Do, _ED, _ET, _HK, _IPD, _IPT, _LR, _PALB, _PALBr, _Pr, _PD, _SPN, _T, _WD, _SLD, _SSO, _IAT],
959
- [0, 0, () => EndpointDetails$, 0, [() => HostKey, 0], () => IdentityProviderDetails$, 0, 0, 0, 0, 64 | 0, () => ProtocolDetails$, 0, () => Tags, () => WorkflowDetails$, 64 | 0, () => S3StorageOptions$, 0]
962
+ [_Ce, _Do, _ED, _ET, _HK, _IPD, _IPT, _LR, _PALB, _PALBr, _Pr, _PD, _SPN, _T, _WD, _SLD, _SSO, _IAT, _HKST],
963
+ [0, 0, () => EndpointDetails$, 0, [() => HostKey, 0], () => IdentityProviderDetails$, 0, 0, 0, 0, 64 | 0, () => ProtocolDetails$, 0, () => Tags, () => WorkflowDetails$, 64 | 0, () => S3StorageOptions$, 0, 0]
960
964
  ];
961
965
  var CreateServerResponse$ = [3, n0, _CSRr,
962
966
  0,
@@ -1150,8 +1154,8 @@ var DescribedExecution$ = [3, n0, _DE,
1150
1154
  ];
1151
1155
  var DescribedHostKey$ = [3, n0, _DHK,
1152
1156
  0,
1153
- [_Ar, _HKI, _HKF, _D, _Ty, _DI, _T],
1154
- [0, 0, 0, 0, 0, 4, () => Tags], 1
1157
+ [_Ar, _HKI, _HKF, _D, _Ty, _DI, _T, _ST, _SIec],
1158
+ [0, 0, 0, 0, 0, 4, () => Tags, 0, 0], 1
1155
1159
  ];
1156
1160
  var DescribedIdentityCenterConfig$ = [3, n0, _DICC,
1157
1161
  0,
@@ -1310,7 +1314,7 @@ var ExecutionResults$ = [3, n0, _ERx,
1310
1314
  ];
1311
1315
  var ExecutionStepResult$ = [3, n0, _ESR,
1312
1316
  0,
1313
- [_ST, _O, _Er],
1317
+ [_STt, _O, _Er],
1314
1318
  [0, 0, () => ExecutionError$]
1315
1319
  ];
1316
1320
  var FileLocation$ = [3, n0, _FL,
@@ -1345,8 +1349,8 @@ var ImportCertificateResponse$ = [3, n0, _ICRm,
1345
1349
  ];
1346
1350
  var ImportHostKeyRequest$ = [3, n0, _IHKR,
1347
1351
  0,
1348
- [_SIe, _HKB, _D, _T],
1349
- [0, [() => HostKey, 0], 0, () => Tags], 2
1352
+ [_SIe, _HKB, _D, _T, _ST, _KK],
1353
+ [0, [() => HostKey, 0], 0, () => Tags, 0, 0], 2
1350
1354
  ];
1351
1355
  var ImportHostKeyResponse$ = [3, n0, _IHKRm,
1352
1356
  0,
@@ -1435,8 +1439,8 @@ var ListedExecution$ = [3, n0, _LE,
1435
1439
  ];
1436
1440
  var ListedHostKey$ = [3, n0, _LHK,
1437
1441
  0,
1438
- [_Ar, _HKI, _Fi, _D, _Ty, _DI],
1439
- [0, 0, 0, 0, 0, 4], 1
1442
+ [_Ar, _HKI, _Fi, _D, _Ty, _DI, _ST, _SIec],
1443
+ [0, 0, 0, 0, 0, 4, 0, 0], 1
1440
1444
  ];
1441
1445
  var ListedProfile$ = [3, n0, _LP,
1442
1446
  0,
@@ -1775,8 +1779,8 @@ var UpdateConnectorVpcLatticeEgressConfig$ = [3, n0, _UCVLEC,
1775
1779
  ];
1776
1780
  var UpdateHostKeyRequest$ = [3, n0, _UHKR,
1777
1781
  0,
1778
- [_SIe, _HKI, _D],
1779
- [0, 0, 0], 3
1782
+ [_SIe, _HKI, _D, _ST, _KK],
1783
+ [0, 0, 0, 0, 0], 2
1780
1784
  ];
1781
1785
  var UpdateHostKeyResponse$ = [3, n0, _UHKRp,
1782
1786
  0,
@@ -2875,6 +2879,10 @@ const EndpointType = {
2875
2879
  VPC: "VPC",
2876
2880
  VPC_ENDPOINT: "VPC_ENDPOINT",
2877
2881
  };
2882
+ const HostKeyStorageType = {
2883
+ SECRETS_MANAGER: "SECRETS_MANAGER",
2884
+ SERVICE_MANAGED: "SERVICE_MANAGED",
2885
+ };
2878
2886
  const SftpAuthenticationMethods = {
2879
2887
  PASSWORD: "PASSWORD",
2880
2888
  PUBLIC_KEY: "PUBLIC_KEY",
@@ -3154,6 +3162,7 @@ exports.ExecutionStepResult$ = ExecutionStepResult$;
3154
3162
  exports.FileLocation$ = FileLocation$;
3155
3163
  exports.HomeDirectoryMapEntry$ = HomeDirectoryMapEntry$;
3156
3164
  exports.HomeDirectoryType = HomeDirectoryType;
3165
+ exports.HostKeyStorageType = HostKeyStorageType;
3157
3166
  exports.IdentityCenterConfig$ = IdentityCenterConfig$;
3158
3167
  exports.IdentityProviderDetails$ = IdentityProviderDetails$;
3159
3168
  exports.IdentityProviderType = IdentityProviderType;
@@ -110,6 +110,10 @@ export const EndpointType = {
110
110
  VPC: "VPC",
111
111
  VPC_ENDPOINT: "VPC_ENDPOINT",
112
112
  };
113
+ export const HostKeyStorageType = {
114
+ SECRETS_MANAGER: "SECRETS_MANAGER",
115
+ SERVICE_MANAGED: "SERVICE_MANAGED",
116
+ };
113
117
  export const SftpAuthenticationMethods = {
114
118
  PASSWORD: "PASSWORD",
115
119
  PUBLIC_KEY: "PUBLIC_KEY",
@@ -203,6 +203,7 @@ const _HK = "HostKey";
203
203
  const _HKB = "HostKeyBody";
204
204
  const _HKF = "HostKeyFingerprint";
205
205
  const _HKI = "HostKeyId";
206
+ const _HKST = "HostKeyStorageType";
206
207
  const _HKo = "HostKeys";
207
208
  const _IA = "InstanceArn";
208
209
  const _IAT = "IpAddressType";
@@ -226,6 +227,7 @@ const _ISPK = "ImportSshPublicKey";
226
227
  const _ISPKR = "ImportSshPublicKeyRequest";
227
228
  const _ISPKRm = "ImportSshPublicKeyResponse";
228
229
  const _K = "Key";
230
+ const _KK = "KmsKey";
229
231
  const _LA = "ListedAccess";
230
232
  const _LAR = "ListAccessesRequest";
231
233
  const _LARi = "ListAccessesResponse";
@@ -378,6 +380,7 @@ const _SHKA = "SshHostKeyAlgorithms";
378
380
  const _SI = "ServerIds";
379
381
  const _SIFL = "S3InputFileLocation";
380
382
  const _SIe = "ServerId";
383
+ const _SIec = "SecretId";
381
384
  const _SIes = "SessionId";
382
385
  const _SIo = "SourceIp";
383
386
  const _SIu = "SubnetIds";
@@ -413,9 +416,10 @@ const _SSOe = "SetStatOption";
413
416
  const _SSR = "StartServerRequest";
414
417
  const _SSRt = "StopServerRequest";
415
418
  const _SSt = "StopServer";
416
- const _ST = "StepType";
419
+ const _ST = "StorageType";
417
420
  const _STa = "S3Tag";
418
421
  const _STag = "S3Tags";
422
+ const _STt = "StepType";
419
423
  const _SUE = "ServiceUnavailableException";
420
424
  const _SWSS = "SendWorkflowStepState";
421
425
  const _SWSSR = "SendWorkflowStepStateRequest";
@@ -673,8 +677,8 @@ export var CreateProfileResponse$ = [3, n0, _CPRr,
673
677
  ];
674
678
  export var CreateServerRequest$ = [3, n0, _CSR,
675
679
  0,
676
- [_Ce, _Do, _ED, _ET, _HK, _IPD, _IPT, _LR, _PALB, _PALBr, _Pr, _PD, _SPN, _T, _WD, _SLD, _SSO, _IAT],
677
- [0, 0, () => EndpointDetails$, 0, [() => HostKey, 0], () => IdentityProviderDetails$, 0, 0, 0, 0, 64 | 0, () => ProtocolDetails$, 0, () => Tags, () => WorkflowDetails$, 64 | 0, () => S3StorageOptions$, 0]
680
+ [_Ce, _Do, _ED, _ET, _HK, _IPD, _IPT, _LR, _PALB, _PALBr, _Pr, _PD, _SPN, _T, _WD, _SLD, _SSO, _IAT, _HKST],
681
+ [0, 0, () => EndpointDetails$, 0, [() => HostKey, 0], () => IdentityProviderDetails$, 0, 0, 0, 0, 64 | 0, () => ProtocolDetails$, 0, () => Tags, () => WorkflowDetails$, 64 | 0, () => S3StorageOptions$, 0, 0]
678
682
  ];
679
683
  export var CreateServerResponse$ = [3, n0, _CSRr,
680
684
  0,
@@ -868,8 +872,8 @@ export var DescribedExecution$ = [3, n0, _DE,
868
872
  ];
869
873
  export var DescribedHostKey$ = [3, n0, _DHK,
870
874
  0,
871
- [_Ar, _HKI, _HKF, _D, _Ty, _DI, _T],
872
- [0, 0, 0, 0, 0, 4, () => Tags], 1
875
+ [_Ar, _HKI, _HKF, _D, _Ty, _DI, _T, _ST, _SIec],
876
+ [0, 0, 0, 0, 0, 4, () => Tags, 0, 0], 1
873
877
  ];
874
878
  export var DescribedIdentityCenterConfig$ = [3, n0, _DICC,
875
879
  0,
@@ -1028,7 +1032,7 @@ export var ExecutionResults$ = [3, n0, _ERx,
1028
1032
  ];
1029
1033
  export var ExecutionStepResult$ = [3, n0, _ESR,
1030
1034
  0,
1031
- [_ST, _O, _Er],
1035
+ [_STt, _O, _Er],
1032
1036
  [0, 0, () => ExecutionError$]
1033
1037
  ];
1034
1038
  export var FileLocation$ = [3, n0, _FL,
@@ -1063,8 +1067,8 @@ export var ImportCertificateResponse$ = [3, n0, _ICRm,
1063
1067
  ];
1064
1068
  export var ImportHostKeyRequest$ = [3, n0, _IHKR,
1065
1069
  0,
1066
- [_SIe, _HKB, _D, _T],
1067
- [0, [() => HostKey, 0], 0, () => Tags], 2
1070
+ [_SIe, _HKB, _D, _T, _ST, _KK],
1071
+ [0, [() => HostKey, 0], 0, () => Tags, 0, 0], 2
1068
1072
  ];
1069
1073
  export var ImportHostKeyResponse$ = [3, n0, _IHKRm,
1070
1074
  0,
@@ -1153,8 +1157,8 @@ export var ListedExecution$ = [3, n0, _LE,
1153
1157
  ];
1154
1158
  export var ListedHostKey$ = [3, n0, _LHK,
1155
1159
  0,
1156
- [_Ar, _HKI, _Fi, _D, _Ty, _DI],
1157
- [0, 0, 0, 0, 0, 4], 1
1160
+ [_Ar, _HKI, _Fi, _D, _Ty, _DI, _ST, _SIec],
1161
+ [0, 0, 0, 0, 0, 4, 0, 0], 1
1158
1162
  ];
1159
1163
  export var ListedProfile$ = [3, n0, _LP,
1160
1164
  0,
@@ -1493,8 +1497,8 @@ export var UpdateConnectorVpcLatticeEgressConfig$ = [3, n0, _UCVLEC,
1493
1497
  ];
1494
1498
  export var UpdateHostKeyRequest$ = [3, n0, _UHKR,
1495
1499
  0,
1496
- [_SIe, _HKI, _D],
1497
- [0, 0, 0], 3
1500
+ [_SIe, _HKI, _D, _ST, _KK],
1501
+ [0, 0, 0, 0, 0], 2
1498
1502
  ];
1499
1503
  export var UpdateHostKeyResponse$ = [3, n0, _UHKRp,
1500
1504
  0,
@@ -110,6 +110,7 @@ declare const CreateServerCommand_base: {
110
110
  * DirectoryListingOptimization: "ENABLED" || "DISABLED",
111
111
  * },
112
112
  * IpAddressType: "IPV4" || "DUALSTACK",
113
+ * HostKeyStorageType: "SERVICE_MANAGED" || "SECRETS_MANAGER",
113
114
  * };
114
115
  * const command = new CreateServerCommand(input);
115
116
  * const response = await client.send(command);
@@ -53,6 +53,8 @@ declare const DescribeHostKeyCommand_base: {
53
53
  * // Value: "STRING_VALUE", // required
54
54
  * // },
55
55
  * // ],
56
+ * // StorageType: "SERVICE_MANAGED" || "SECRETS_MANAGER",
57
+ * // SecretId: "STRING_VALUE",
56
58
  * // },
57
59
  * // };
58
60
  *
@@ -43,6 +43,8 @@ declare const ImportHostKeyCommand_base: {
43
43
  * Value: "STRING_VALUE", // required
44
44
  * },
45
45
  * ],
46
+ * StorageType: "SERVICE_MANAGED" || "SECRETS_MANAGER",
47
+ * KmsKey: "STRING_VALUE",
46
48
  * };
47
49
  * const command = new ImportHostKeyCommand(input);
48
50
  * const response = await client.send(command);
@@ -51,6 +51,8 @@ declare const ListHostKeysCommand_base: {
51
51
  * // Description: "STRING_VALUE",
52
52
  * // Type: "STRING_VALUE",
53
53
  * // DateImported: new Date("TIMESTAMP"),
54
+ * // StorageType: "SERVICE_MANAGED" || "SECRETS_MANAGER",
55
+ * // SecretId: "STRING_VALUE",
54
56
  * // },
55
57
  * // ],
56
58
  * // };
@@ -24,7 +24,7 @@ declare const UpdateHostKeyCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Updates the description for the host key that's specified by the <code>ServerId</code> and <code>HostKeyId</code> parameters.</p>
27
+ * <p>Updates the host key that's specified by the <code>ServerId</code> and <code>HostKeyId</code> parameters. You can update the description of the host key, change where the host key is stored by specifying the <code>StorageType</code>, and specify the KMS key used to encrypt the host key when it's stored in Secrets Manager.</p> <p>To change a host key's storage type from <code>SERVICE_MANAGED</code> to <code>SECRETS_MANAGER</code>, you must have the <code>transfer:ExportHostKey</code> permission. <code>transfer:ExportHostKey</code> is a permission-only action that has no corresponding API operation.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -36,7 +36,9 @@ declare const UpdateHostKeyCommand_base: {
36
36
  * const input = { // UpdateHostKeyRequest
37
37
  * ServerId: "STRING_VALUE", // required
38
38
  * HostKeyId: "STRING_VALUE", // required
39
- * Description: "STRING_VALUE", // required
39
+ * Description: "STRING_VALUE",
40
+ * StorageType: "SERVICE_MANAGED" || "SECRETS_MANAGER",
41
+ * KmsKey: "STRING_VALUE",
40
42
  * };
41
43
  * const command = new UpdateHostKeyCommand(input);
42
44
  * const response = await client.send(command);
@@ -302,6 +302,18 @@ export declare const EndpointType: {
302
302
  * @public
303
303
  */
304
304
  export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
305
+ /**
306
+ * @public
307
+ * @enum
308
+ */
309
+ export declare const HostKeyStorageType: {
310
+ readonly SECRETS_MANAGER: "SECRETS_MANAGER";
311
+ readonly SERVICE_MANAGED: "SERVICE_MANAGED";
312
+ };
313
+ /**
314
+ * @public
315
+ */
316
+ export type HostKeyStorageType = (typeof HostKeyStorageType)[keyof typeof HostKeyStorageType];
305
317
  /**
306
318
  * @public
307
319
  * @enum
@@ -1,4 +1,4 @@
1
- import type { AgreementStatusType, As2Transport, CertificateStatusType, CertificateType, CertificateUsageType, CommunicationMode, CompressionEnum, ConnectorEgressType, ConnectorsIpAddressType, ConnectorStatus, CustomStepStatus, DirectoryListingOptimization, Domain, EncryptionAlg, EncryptionType, EndpointType, EnforceMessageSigningType, ExecutionErrorType, ExecutionStatus, HomeDirectoryType, IdentityProviderType, IpAddressType, MapType, MdnResponse, MdnSigningAlg, OverwriteExisting, PreserveContentType, PreserveFilenameType, ProfileType, Protocol, ProxyMode, SecurityPolicyProtocol, SecurityPolicyResourceType, SetStatOption, SftpAuthenticationMethods, SigningAlg, State, TlsSessionResumptionMode, TransferTableStatus, WebAppEndpointPolicy, WebAppEndpointType, WebAppVpcEndpointIpAddressType, WorkflowStepType } from "./enums";
1
+ import type { AgreementStatusType, As2Transport, CertificateStatusType, CertificateType, CertificateUsageType, CommunicationMode, CompressionEnum, ConnectorEgressType, ConnectorsIpAddressType, ConnectorStatus, CustomStepStatus, DirectoryListingOptimization, Domain, EncryptionAlg, EncryptionType, EndpointType, EnforceMessageSigningType, ExecutionErrorType, ExecutionStatus, HomeDirectoryType, HostKeyStorageType, IdentityProviderType, IpAddressType, MapType, MdnResponse, MdnSigningAlg, OverwriteExisting, PreserveContentType, PreserveFilenameType, ProfileType, Protocol, ProxyMode, SecurityPolicyProtocol, SecurityPolicyResourceType, SetStatOption, SftpAuthenticationMethods, SigningAlg, State, TlsSessionResumptionMode, TransferTableStatus, WebAppEndpointPolicy, WebAppEndpointType, WebAppVpcEndpointIpAddressType, WorkflowStepType } from "./enums";
2
2
  /**
3
3
  * <p>Contains Amazon S3 locations for storing specific types of AS2 message files.</p>
4
4
  * @public
@@ -1676,6 +1676,11 @@ export interface CreateServerRequest {
1676
1676
  * @public
1677
1677
  */
1678
1678
  IpAddressType?: IpAddressType | undefined;
1679
+ /**
1680
+ * <p>Specifies whether the host key is stored by Transfer Family (<code>SERVICE_MANAGED</code>) or in Secrets Manager (<code>SECRETS_MANAGER</code>). When you specify <code>SECRETS_MANAGER</code>, Transfer Family stores the private host key material in an Secrets Manager secret.</p>
1681
+ * @public
1682
+ */
1683
+ HostKeyStorageType?: HostKeyStorageType | undefined;
1679
1684
  }
1680
1685
  /**
1681
1686
  * @public
@@ -2560,6 +2565,16 @@ export interface DescribedHostKey {
2560
2565
  * @public
2561
2566
  */
2562
2567
  Tags?: Tag[] | undefined;
2568
+ /**
2569
+ * <p>Specifies whether the host key is stored by Transfer Family (<code>SERVICE_MANAGED</code>) or in Secrets Manager (<code>SECRETS_MANAGER</code>).</p>
2570
+ * @public
2571
+ */
2572
+ StorageType?: HostKeyStorageType | undefined;
2573
+ /**
2574
+ * <p>The ARN of the Secrets Manager secret that stores the host key material, when <code>StorageType</code> is <code>SECRETS_MANAGER</code>.</p>
2575
+ * @public
2576
+ */
2577
+ SecretId?: string | undefined;
2563
2578
  }
2564
2579
  /**
2565
2580
  * <p>A structure that contains the details of the IAM Identity Center used for your web app. Returned during a call to <code>DescribeWebApp</code>.</p>
@@ -3311,6 +3326,16 @@ export interface ImportHostKeyRequest {
3311
3326
  * @public
3312
3327
  */
3313
3328
  Tags?: Tag[] | undefined;
3329
+ /**
3330
+ * <p>Specifies whether the host key is stored by Transfer Family (<code>SERVICE_MANAGED</code>) or in Secrets Manager (<code>SECRETS_MANAGER</code>). When you specify <code>SECRETS_MANAGER</code>, Transfer Family stores the private host key material in an Secrets Manager secret.</p>
3331
+ * @public
3332
+ */
3333
+ StorageType?: HostKeyStorageType | undefined;
3334
+ /**
3335
+ * <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the Secrets Manager secret that stores the host key. If you specify a customer managed key, its key policy must allow the <code>AWSServiceRoleForTransfer</code> service-linked role to decrypt the secret. If you don't specify a value, Transfer Family uses the Amazon Web Services managed key for Secrets Manager.</p>
3336
+ * @public
3337
+ */
3338
+ KmsKey?: string | undefined;
3314
3339
  }
3315
3340
  /**
3316
3341
  * @public
@@ -3495,6 +3520,16 @@ export interface ListedHostKey {
3495
3520
  * @public
3496
3521
  */
3497
3522
  DateImported?: Date | undefined;
3523
+ /**
3524
+ * <p>Specifies whether the host key is stored by Transfer Family (<code>SERVICE_MANAGED</code>) or in Secrets Manager (<code>SECRETS_MANAGER</code>).</p>
3525
+ * @public
3526
+ */
3527
+ StorageType?: HostKeyStorageType | undefined;
3528
+ /**
3529
+ * <p>The ARN of the Secrets Manager secret that stores the host key material, when <code>StorageType</code> is <code>SECRETS_MANAGER</code>.</p>
3530
+ * @public
3531
+ */
3532
+ SecretId?: string | undefined;
3498
3533
  }
3499
3534
  /**
3500
3535
  * <p>Returns the properties of the profile that was specified.</p>
@@ -4535,7 +4570,17 @@ export interface UpdateHostKeyRequest {
4535
4570
  * <p>An updated description for the host key.</p>
4536
4571
  * @public
4537
4572
  */
4538
- Description: string | undefined;
4573
+ Description?: string | undefined;
4574
+ /**
4575
+ * <p>Specifies whether the host key is stored by Transfer Family (<code>SERVICE_MANAGED</code>) or in Secrets Manager (<code>SECRETS_MANAGER</code>). When you specify <code>SECRETS_MANAGER</code>, Transfer Family stores the private host key material in an Secrets Manager secret.</p>
4576
+ * @public
4577
+ */
4578
+ StorageType?: HostKeyStorageType | undefined;
4579
+ /**
4580
+ * <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the Secrets Manager secret that stores the host key. If you specify a customer managed key, its key policy must allow the <code>AWSServiceRoleForTransfer</code> service-linked role to decrypt the secret. If you don't specify a value, Transfer Family uses the Amazon Web Services managed key for Secrets Manager.</p>
4581
+ * @public
4582
+ */
4583
+ KmsKey?: string | undefined;
4539
4584
  }
4540
4585
  /**
4541
4586
  * @public
@@ -137,6 +137,11 @@ export declare const EndpointType: {
137
137
  readonly VPC_ENDPOINT: "VPC_ENDPOINT";
138
138
  };
139
139
  export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
140
+ export declare const HostKeyStorageType: {
141
+ readonly SECRETS_MANAGER: "SECRETS_MANAGER";
142
+ readonly SERVICE_MANAGED: "SERVICE_MANAGED";
143
+ };
144
+ export type HostKeyStorageType = (typeof HostKeyStorageType)[keyof typeof HostKeyStorageType];
140
145
  export declare const SftpAuthenticationMethods: {
141
146
  readonly PASSWORD: "PASSWORD";
142
147
  readonly PUBLIC_KEY: "PUBLIC_KEY";
@@ -19,6 +19,7 @@ import {
19
19
  ExecutionErrorType,
20
20
  ExecutionStatus,
21
21
  HomeDirectoryType,
22
+ HostKeyStorageType,
22
23
  IdentityProviderType,
23
24
  IpAddressType,
24
25
  MapType,
@@ -464,6 +465,7 @@ export interface CreateServerRequest {
464
465
  StructuredLogDestinations?: string[] | undefined;
465
466
  S3StorageOptions?: S3StorageOptions | undefined;
466
467
  IpAddressType?: IpAddressType | undefined;
468
+ HostKeyStorageType?: HostKeyStorageType | undefined;
467
469
  }
468
470
  export interface CreateServerResponse {
469
471
  ServerId: string | undefined;
@@ -704,6 +706,8 @@ export interface DescribedHostKey {
704
706
  Type?: string | undefined;
705
707
  DateImported?: Date | undefined;
706
708
  Tags?: Tag[] | undefined;
709
+ StorageType?: HostKeyStorageType | undefined;
710
+ SecretId?: string | undefined;
707
711
  }
708
712
  export interface DescribedIdentityCenterConfig {
709
713
  ApplicationArn?: string | undefined;
@@ -902,6 +906,8 @@ export interface ImportHostKeyRequest {
902
906
  HostKeyBody: string | undefined;
903
907
  Description?: string | undefined;
904
908
  Tags?: Tag[] | undefined;
909
+ StorageType?: HostKeyStorageType | undefined;
910
+ KmsKey?: string | undefined;
905
911
  }
906
912
  export interface ImportHostKeyResponse {
907
913
  ServerId: string | undefined;
@@ -946,6 +952,8 @@ export interface ListedHostKey {
946
952
  Description?: string | undefined;
947
953
  Type?: string | undefined;
948
954
  DateImported?: Date | undefined;
955
+ StorageType?: HostKeyStorageType | undefined;
956
+ SecretId?: string | undefined;
949
957
  }
950
958
  export interface ListedProfile {
951
959
  Arn?: string | undefined;
@@ -1202,7 +1210,9 @@ export interface UpdateAccessResponse {
1202
1210
  export interface UpdateHostKeyRequest {
1203
1211
  ServerId: string | undefined;
1204
1212
  HostKeyId: string | undefined;
1205
- Description: string | undefined;
1213
+ Description?: string | undefined;
1214
+ StorageType?: HostKeyStorageType | undefined;
1215
+ KmsKey?: string | undefined;
1206
1216
  }
1207
1217
  export interface UpdateHostKeyResponse {
1208
1218
  ServerId: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transfer",
3
- "version": "3.1151.0",
3
+ "version": "3.1153.0",
4
4
  "description": "AWS SDK for JavaScript Transfer Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-transfer",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.3",
50
- "@aws-sdk/credential-provider-node": "^3.972.86",
49
+ "@aws-sdk/core": "^3.978.4",
50
+ "@aws-sdk/credential-provider-node": "^3.972.87",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.2",
52
+ "@smithy/core": "^3.36.0",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",