@aws-sdk/client-transfer 3.529.1 → 3.533.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
@@ -351,6 +351,7 @@ var EncryptionAlg = {
351
351
  AES128_CBC: "AES128_CBC",
352
352
  AES192_CBC: "AES192_CBC",
353
353
  AES256_CBC: "AES256_CBC",
354
+ DES_EDE3_CBC: "DES_EDE3_CBC",
354
355
  NONE: "NONE"
355
356
  };
356
357
  var MdnResponse = {
@@ -25,6 +25,7 @@ export const EncryptionAlg = {
25
25
  AES128_CBC: "AES128_CBC",
26
26
  AES192_CBC: "AES192_CBC",
27
27
  AES256_CBC: "AES256_CBC",
28
+ DES_EDE3_CBC: "DES_EDE3_CBC",
28
29
  NONE: "NONE",
29
30
  };
30
31
  export const MdnResponse = {
@@ -28,7 +28,7 @@ declare const CreateConnectorCommand_base: {
28
28
  * @public
29
29
  * <p>Creates the connector, which captures the parameters for a connection for the
30
30
  * AS2 or SFTP protocol. For AS2, the connector is required for sending files to an externally hosted AS2 server. For SFTP, the connector is required when sending files to an SFTP server or receiving files from an SFTP server.
31
- * For more details about connectors, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/create-b2b-server.html#configure-as2-connector">Create AS2 connectors</a> and <a href="https://docs.aws.amazon.com/transfer/latest/userguide/configure-sftp-connector.html">Create SFTP connectors</a>.</p>
31
+ * For more details about connectors, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/configure-as2-connector.html">Configure AS2 connectors</a> and <a href="https://docs.aws.amazon.com/transfer/latest/userguide/configure-sftp-connector.html">Create SFTP connectors</a>.</p>
32
32
  * <note>
33
33
  * <p>You must specify exactly one configuration object: either for AS2 (<code>As2Config</code>) or SFTP (<code>SftpConfig</code>).</p>
34
34
  * </note>
@@ -45,7 +45,7 @@ declare const CreateConnectorCommand_base: {
45
45
  * PartnerProfileId: "STRING_VALUE",
46
46
  * MessageSubject: "STRING_VALUE",
47
47
  * Compression: "ZLIB" || "DISABLED",
48
- * EncryptionAlgorithm: "AES128_CBC" || "AES192_CBC" || "AES256_CBC" || "NONE",
48
+ * EncryptionAlgorithm: "AES128_CBC" || "AES192_CBC" || "AES256_CBC" || "DES_EDE3_CBC" || "NONE",
49
49
  * SigningAlgorithm: "SHA256" || "SHA384" || "SHA512" || "SHA1" || "NONE",
50
50
  * MdnSigningAlgorithm: "SHA256" || "SHA384" || "SHA512" || "SHA1" || "NONE" || "DEFAULT",
51
51
  * MdnResponse: "SYNC" || "NONE",
@@ -49,7 +49,7 @@ declare const DescribeConnectorCommand_base: {
49
49
  * // PartnerProfileId: "STRING_VALUE",
50
50
  * // MessageSubject: "STRING_VALUE",
51
51
  * // Compression: "ZLIB" || "DISABLED",
52
- * // EncryptionAlgorithm: "AES128_CBC" || "AES192_CBC" || "AES256_CBC" || "NONE",
52
+ * // EncryptionAlgorithm: "AES128_CBC" || "AES192_CBC" || "AES256_CBC" || "DES_EDE3_CBC" || "NONE",
53
53
  * // SigningAlgorithm: "SHA256" || "SHA384" || "SHA512" || "SHA1" || "NONE",
54
54
  * // MdnSigningAlgorithm: "SHA256" || "SHA384" || "SHA512" || "SHA1" || "NONE" || "DEFAULT",
55
55
  * // MdnResponse: "SYNC" || "NONE",
@@ -43,7 +43,7 @@ declare const UpdateConnectorCommand_base: {
43
43
  * PartnerProfileId: "STRING_VALUE",
44
44
  * MessageSubject: "STRING_VALUE",
45
45
  * Compression: "ZLIB" || "DISABLED",
46
- * EncryptionAlgorithm: "AES128_CBC" || "AES192_CBC" || "AES256_CBC" || "NONE",
46
+ * EncryptionAlgorithm: "AES128_CBC" || "AES192_CBC" || "AES256_CBC" || "DES_EDE3_CBC" || "NONE",
47
47
  * SigningAlgorithm: "SHA256" || "SHA384" || "SHA512" || "SHA1" || "NONE",
48
48
  * MdnSigningAlgorithm: "SHA256" || "SHA384" || "SHA512" || "SHA1" || "NONE" || "DEFAULT",
49
49
  * MdnResponse: "SYNC" || "NONE",
@@ -31,6 +31,18 @@ declare const UpdateUserCommand_base: {
31
31
  * you specify.</p>
32
32
  * <p>The response returns the <code>ServerId</code> and the <code>UserName</code> for the
33
33
  * updated user.</p>
34
+ * <p>In the console, you can select <i>Restricted</i> when you create or update a
35
+ * user. This ensures that the user can't access anything outside of their home directory. The
36
+ * programmatic way to configure this behavior is to update the user. Set their
37
+ * <code>HomeDirectoryType</code> to <code>LOGICAL</code>, and specify
38
+ * <code>HomeDirectoryMappings</code> with <code>Entry</code> as root (<code>/</code>) and
39
+ * <code>Target</code> as their home directory.</p>
40
+ * <p>For example, if the user's home directory is <code>/test/admin-user</code>, the following
41
+ * command updates the user so that their configuration in the console shows the
42
+ * <i>Restricted</i> flag as selected.</p>
43
+ * <p>
44
+ * <code> aws transfer update-user --server-id &lt;server-id&gt; --user-name admin-user --home-directory-type LOGICAL --home-directory-mappings "[\{\"Entry\":\"/\", \"Target\":\"/test/admin-user\"\}]"</code>
45
+ * </p>
34
46
  * @example
35
47
  * Use a bare-bones client and the command you need to make an API call.
36
48
  * ```javascript
@@ -45,6 +45,7 @@ export declare const EncryptionAlg: {
45
45
  readonly AES128_CBC: "AES128_CBC";
46
46
  readonly AES192_CBC: "AES192_CBC";
47
47
  readonly AES256_CBC: "AES256_CBC";
48
+ readonly DES_EDE3_CBC: "DES_EDE3_CBC";
48
49
  readonly NONE: "NONE";
49
50
  };
50
51
  /**
@@ -123,10 +124,16 @@ export interface As2ConnectorConfig {
123
124
  /**
124
125
  * @public
125
126
  * <p>The algorithm that is used to encrypt the file.</p>
126
- * <note>
127
- * <p>You can only specify <code>NONE</code> if the URL for your connector uses HTTPS. This ensures that
128
- * no traffic is sent in clear text.</p>
129
- * </note>
127
+ * <p>Note the following:</p>
128
+ * <ul>
129
+ * <li>
130
+ * <p>Do not use the <code>DES_EDE3_CBC</code> algorithm unless you must support a legacy client that requires it, as it is a weak encryption algorithm.</p>
131
+ * </li>
132
+ * <li>
133
+ * <p>You can only specify <code>NONE</code> if the URL for your connector uses HTTPS. Using HTTPS ensures that
134
+ * no traffic is sent in clear text.</p>
135
+ * </li>
136
+ * </ul>
130
137
  */
131
138
  EncryptionAlgorithm?: EncryptionAlg;
132
139
  /**
@@ -787,6 +794,11 @@ export declare class ThrottlingException extends __BaseException {
787
794
  * @public
788
795
  * <p>Contains the details for an SFTP connector object. The connector object is used for transferring files to and from a
789
796
  * partner's SFTP server.</p>
797
+ * <note>
798
+ * <p>Because the <code>SftpConnectorConfig</code> data type is used for both creating and updating SFTP connectors, its parameters,
799
+ * <code>TrustedHostKeys</code> and <code>UserSecretId</code> are marked as not required. This is a bit misleading, as they are not required when
800
+ * you are updating an existing SFTP connector, but <i>are required</i> when you are creating a new SFTP connector.</p>
801
+ * </note>
790
802
  */
791
803
  export interface SftpConnectorConfig {
792
804
  /**
@@ -813,6 +825,15 @@ export interface SftpConnectorConfig {
813
825
  * <code>ecdsa-sha2-nistp521</code>, depending on the size of the key you generated.</p>
814
826
  * </li>
815
827
  * </ul>
828
+ * <p>Run this command to retrieve the SFTP server host key, where your SFTP server name is <code>ftp.host.com</code>.</p>
829
+ * <p>
830
+ * <code>ssh-keyscan ftp.host.com</code>
831
+ * </p>
832
+ * <p>This prints the public host key to standard output.</p>
833
+ * <p>
834
+ * <code>ftp.host.com ssh-rsa AAAAB3Nza...&lt;long-string-for-public-key</code>
835
+ * </p>
836
+ * <p>Copy and paste this string into the <code>TrustedHostKeys</code> field for the <code>create-connector</code> command or into the <b>Trusted host keys</b> field in the console.</p>
816
837
  */
817
838
  TrustedHostKeys?: string[];
818
839
  }
@@ -982,9 +1003,39 @@ export interface EndpointDetails {
982
1003
  * @public
983
1004
  * <p>A list of address allocation IDs that are required to attach an Elastic IP address to your
984
1005
  * server's endpoint.</p>
1006
+ * <p>An address allocation ID corresponds to the allocation ID of an Elastic IP address. This
1007
+ * value can be retrieved from the <code>allocationId</code> field from the Amazon EC2
1008
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Address.html">Address</a>
1009
+ * data type. One way to retrieve this value is by calling the EC2 <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAddresses.html">DescribeAddresses</a> API.</p>
1010
+ * <p>This parameter is optional. Set this parameter if you want to make your VPC endpoint
1011
+ * public-facing. For details, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#create-internet-facing-endpoint">Create an internet-facing endpoint for your server</a>.</p>
985
1012
  * <note>
986
- * <p>This property can only be set when <code>EndpointType</code> is set to <code>VPC</code>
987
- * and it is only valid in the <code>UpdateServer</code> API.</p>
1013
+ * <p>This property can only be set as follows:</p>
1014
+ * <ul>
1015
+ * <li>
1016
+ * <p>
1017
+ * <code>EndpointType</code> must be set to
1018
+ * <code>VPC</code>
1019
+ * </p>
1020
+ * </li>
1021
+ * <li>
1022
+ * <p>The Transfer Family server must be offline.</p>
1023
+ * </li>
1024
+ * <li>
1025
+ * <p>You cannot set this parameter for Transfer Family servers that use the FTP protocol.</p>
1026
+ * </li>
1027
+ * <li>
1028
+ * <p>The server must already have <code>SubnetIds</code> populated (<code>SubnetIds</code> and <code>AddressAllocationIds</code> cannot be updated simultaneously).</p>
1029
+ * </li>
1030
+ * <li>
1031
+ * <p>
1032
+ * <code>AddressAllocationIds</code> can't contain duplicates, and must be equal in length to <code>SubnetIds</code>. For example,
1033
+ * if you have three subnet IDs, you must also specify three address allocation IDs.</p>
1034
+ * </li>
1035
+ * <li>
1036
+ * <p>Call the <code>UpdateServer</code> API to set or change this parameter.</p>
1037
+ * </li>
1038
+ * </ul>
988
1039
  * </note>
989
1040
  */
990
1041
  AddressAllocationIds?: string[];
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  base64Decoder: import("@smithy/types").Decoder;
23
- base64Encoder: import("@smithy/types").Encoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
24
  utf8Decoder: import("@smithy/types").Decoder;
25
- utf8Encoder: import("@smithy/types").Encoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  base64Decoder: import("@smithy/types").Decoder;
23
- base64Encoder: import("@smithy/types").Encoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
24
  utf8Decoder: import("@smithy/types").Decoder;
25
- utf8Encoder: import("@smithy/types").Encoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
11
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
12
  streamCollector: import("@smithy/types").StreamCollector;
13
13
  base64Decoder: import("@smithy/types").Decoder;
14
- base64Encoder: import("@smithy/types").Encoder;
14
+ base64Encoder: (_input: string | Uint8Array) => string;
15
15
  utf8Decoder: import("@smithy/types").Decoder;
16
- utf8Encoder: import("@smithy/types").Encoder;
16
+ utf8Encoder: (input: string | Uint8Array) => string;
17
17
  disableHostPrefix: boolean;
18
18
  serviceId: string;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -5,7 +5,7 @@ import { TransferClientConfig } from "./TransferClient";
5
5
  export declare const getRuntimeConfig: (config: TransferClientConfig) => {
6
6
  apiVersion: string;
7
7
  base64Decoder: import("@smithy/types").Decoder;
8
- base64Encoder: import("@smithy/types").Encoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
11
  logger?: import("@smithy/types").Logger | undefined;
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  };
@@ -24,6 +24,7 @@ export declare const EncryptionAlg: {
24
24
  readonly AES128_CBC: "AES128_CBC";
25
25
  readonly AES192_CBC: "AES192_CBC";
26
26
  readonly AES256_CBC: "AES256_CBC";
27
+ readonly DES_EDE3_CBC: "DES_EDE3_CBC";
27
28
  readonly NONE: "NONE";
28
29
  };
29
30
  export type EncryptionAlg = (typeof EncryptionAlg)[keyof typeof EncryptionAlg];
@@ -25,9 +25,9 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
25
25
  apiVersion: string;
26
26
  urlParser: import("@smithy/types").UrlParser;
27
27
  base64Decoder: import("@smithy/types").Decoder;
28
- base64Encoder: import("@smithy/types").Encoder;
28
+ base64Encoder: (_input: string | Uint8Array) => string;
29
29
  utf8Decoder: import("@smithy/types").Decoder;
30
- utf8Encoder: import("@smithy/types").Encoder;
30
+ utf8Encoder: (input: string | Uint8Array) => string;
31
31
  disableHostPrefix: boolean;
32
32
  serviceId: string;
33
33
  logger: import("@smithy/types").Logger;
@@ -29,9 +29,9 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
29
29
  apiVersion: string;
30
30
  urlParser: import("@smithy/types").UrlParser;
31
31
  base64Decoder: import("@smithy/types").Decoder;
32
- base64Encoder: import("@smithy/types").Encoder;
32
+ base64Encoder: (_input: string | Uint8Array) => string;
33
33
  utf8Decoder: import("@smithy/types").Decoder;
34
- utf8Encoder: import("@smithy/types").Encoder;
34
+ utf8Encoder: (input: string | Uint8Array) => string;
35
35
  disableHostPrefix: boolean;
36
36
  serviceId: string;
37
37
  logger: import("@smithy/types").Logger;
@@ -13,9 +13,9 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
13
13
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
14
  streamCollector: import("@smithy/types").StreamCollector;
15
15
  base64Decoder: import("@smithy/types").Decoder;
16
- base64Encoder: import("@smithy/types").Encoder;
16
+ base64Encoder: (_input: string | Uint8Array) => string;
17
17
  utf8Decoder: import("@smithy/types").Decoder;
18
- utf8Encoder: import("@smithy/types").Encoder;
18
+ utf8Encoder: (input: string | Uint8Array) => string;
19
19
  disableHostPrefix: boolean;
20
20
  serviceId: string;
21
21
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -2,7 +2,7 @@ import { TransferClientConfig } from "./TransferClient";
2
2
  export declare const getRuntimeConfig: (config: TransferClientConfig) => {
3
3
  apiVersion: string;
4
4
  base64Decoder: import("@smithy/types").Decoder;
5
- base64Encoder: import("@smithy/types").Encoder;
5
+ base64Encoder: (_input: string | Uint8Array) => string;
6
6
  disableHostPrefix: boolean;
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transfer",
3
3
  "description": "AWS SDK for JavaScript Transfer Client for Node.js, Browser and React Native",
4
- "version": "3.529.1",
4
+ "version": "3.533.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-transfer",
@@ -20,44 +20,44 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.529.1",
24
- "@aws-sdk/core": "3.529.1",
25
- "@aws-sdk/credential-provider-node": "3.529.1",
26
- "@aws-sdk/middleware-host-header": "3.523.0",
27
- "@aws-sdk/middleware-logger": "3.523.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.523.0",
29
- "@aws-sdk/middleware-user-agent": "3.525.0",
30
- "@aws-sdk/region-config-resolver": "3.525.0",
31
- "@aws-sdk/types": "3.523.0",
32
- "@aws-sdk/util-endpoints": "3.525.0",
33
- "@aws-sdk/util-user-agent-browser": "3.523.0",
34
- "@aws-sdk/util-user-agent-node": "3.525.0",
35
- "@smithy/config-resolver": "^2.1.4",
36
- "@smithy/core": "^1.3.5",
37
- "@smithy/fetch-http-handler": "^2.4.3",
38
- "@smithy/hash-node": "^2.1.3",
39
- "@smithy/invalid-dependency": "^2.1.3",
40
- "@smithy/middleware-content-length": "^2.1.3",
41
- "@smithy/middleware-endpoint": "^2.4.4",
42
- "@smithy/middleware-retry": "^2.1.4",
43
- "@smithy/middleware-serde": "^2.1.3",
44
- "@smithy/middleware-stack": "^2.1.3",
45
- "@smithy/node-config-provider": "^2.2.4",
46
- "@smithy/node-http-handler": "^2.4.1",
47
- "@smithy/protocol-http": "^3.2.1",
48
- "@smithy/smithy-client": "^2.4.2",
49
- "@smithy/types": "^2.10.1",
50
- "@smithy/url-parser": "^2.1.3",
51
- "@smithy/util-base64": "^2.1.1",
23
+ "@aws-sdk/client-sts": "3.533.0",
24
+ "@aws-sdk/core": "3.533.0",
25
+ "@aws-sdk/credential-provider-node": "3.533.0",
26
+ "@aws-sdk/middleware-host-header": "3.533.0",
27
+ "@aws-sdk/middleware-logger": "3.533.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
+ "@aws-sdk/middleware-user-agent": "3.533.0",
30
+ "@aws-sdk/region-config-resolver": "3.533.0",
31
+ "@aws-sdk/types": "3.533.0",
32
+ "@aws-sdk/util-endpoints": "3.533.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.533.0",
34
+ "@aws-sdk/util-user-agent-node": "3.533.0",
35
+ "@smithy/config-resolver": "^2.1.5",
36
+ "@smithy/core": "^1.3.8",
37
+ "@smithy/fetch-http-handler": "^2.4.5",
38
+ "@smithy/hash-node": "^2.1.4",
39
+ "@smithy/invalid-dependency": "^2.1.4",
40
+ "@smithy/middleware-content-length": "^2.1.4",
41
+ "@smithy/middleware-endpoint": "^2.4.6",
42
+ "@smithy/middleware-retry": "^2.1.7",
43
+ "@smithy/middleware-serde": "^2.2.1",
44
+ "@smithy/middleware-stack": "^2.1.4",
45
+ "@smithy/node-config-provider": "^2.2.5",
46
+ "@smithy/node-http-handler": "^2.4.3",
47
+ "@smithy/protocol-http": "^3.2.2",
48
+ "@smithy/smithy-client": "^2.4.5",
49
+ "@smithy/types": "^2.11.0",
50
+ "@smithy/url-parser": "^2.1.4",
51
+ "@smithy/util-base64": "^2.2.1",
52
52
  "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.1",
54
- "@smithy/util-defaults-mode-browser": "^2.1.4",
55
- "@smithy/util-defaults-mode-node": "^2.2.3",
56
- "@smithy/util-endpoints": "^1.1.4",
57
- "@smithy/util-middleware": "^2.1.3",
58
- "@smithy/util-retry": "^2.1.3",
59
- "@smithy/util-utf8": "^2.1.1",
60
- "@smithy/util-waiter": "^2.1.3",
53
+ "@smithy/util-body-length-node": "^2.2.2",
54
+ "@smithy/util-defaults-mode-browser": "^2.1.7",
55
+ "@smithy/util-defaults-mode-node": "^2.2.7",
56
+ "@smithy/util-endpoints": "^1.1.5",
57
+ "@smithy/util-middleware": "^2.1.4",
58
+ "@smithy/util-retry": "^2.1.4",
59
+ "@smithy/util-utf8": "^2.2.0",
60
+ "@smithy/util-waiter": "^2.1.4",
61
61
  "tslib": "^2.5.0"
62
62
  },
63
63
  "devDependencies": {