@aws-sdk/client-transfer 3.782.0 → 3.786.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/README.md +17 -10
- package/dist-cjs/index.js +74 -0
- package/dist-es/Transfer.js +4 -0
- package/dist-es/commands/StartRemoteDeleteCommand.js +22 -0
- package/dist-es/commands/StartRemoteMoveCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +38 -0
- package/dist-types/Transfer.d.ts +15 -10
- package/dist-types/TransferClient.d.ts +5 -12
- package/dist-types/commands/CreateAccessCommand.d.ts +2 -8
- package/dist-types/commands/CreateAgreementCommand.d.ts +2 -12
- package/dist-types/commands/CreateConnectorCommand.d.ts +3 -8
- package/dist-types/commands/CreateProfileCommand.d.ts +1 -2
- package/dist-types/commands/CreateServerCommand.d.ts +2 -6
- package/dist-types/commands/CreateUserCommand.d.ts +2 -9
- package/dist-types/commands/CreateWebAppCommand.d.ts +1 -2
- package/dist-types/commands/CreateWorkflowCommand.d.ts +1 -4
- package/dist-types/commands/DeleteAccessCommand.d.ts +2 -4
- package/dist-types/commands/DeleteAgreementCommand.d.ts +1 -2
- package/dist-types/commands/DeleteCertificateCommand.d.ts +2 -4
- package/dist-types/commands/DeleteConnectorCommand.d.ts +1 -2
- package/dist-types/commands/DeleteHostKeyCommand.d.ts +1 -2
- package/dist-types/commands/DeleteProfileCommand.d.ts +1 -2
- package/dist-types/commands/DeleteServerCommand.d.ts +2 -4
- package/dist-types/commands/DeleteSshPublicKeyCommand.d.ts +1 -2
- package/dist-types/commands/DeleteUserCommand.d.ts +2 -7
- package/dist-types/commands/DeleteWebAppCommand.d.ts +1 -2
- package/dist-types/commands/DeleteWebAppCustomizationCommand.d.ts +2 -5
- package/dist-types/commands/DeleteWorkflowCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAccessCommand.d.ts +2 -7
- package/dist-types/commands/DescribeAgreementCommand.d.ts +1 -2
- package/dist-types/commands/DescribeCertificateCommand.d.ts +1 -2
- package/dist-types/commands/DescribeConnectorCommand.d.ts +3 -4
- package/dist-types/commands/DescribeExecutionCommand.d.ts +2 -9
- package/dist-types/commands/DescribeHostKeyCommand.d.ts +1 -2
- package/dist-types/commands/DescribeProfileCommand.d.ts +1 -2
- package/dist-types/commands/DescribeSecurityPolicyCommand.d.ts +2 -6
- package/dist-types/commands/DescribeServerCommand.d.ts +2 -7
- package/dist-types/commands/DescribeUserCommand.d.ts +2 -6
- package/dist-types/commands/DescribeWebAppCommand.d.ts +1 -2
- package/dist-types/commands/DescribeWebAppCustomizationCommand.d.ts +1 -2
- package/dist-types/commands/DescribeWorkflowCommand.d.ts +1 -2
- package/dist-types/commands/ImportCertificateCommand.d.ts +2 -5
- package/dist-types/commands/ImportHostKeyCommand.d.ts +2 -4
- package/dist-types/commands/ImportSshPublicKeyCommand.d.ts +2 -7
- package/dist-types/commands/ListAccessesCommand.d.ts +1 -2
- package/dist-types/commands/ListAgreementsCommand.d.ts +2 -7
- package/dist-types/commands/ListCertificatesCommand.d.ts +2 -7
- package/dist-types/commands/ListConnectorsCommand.d.ts +1 -2
- package/dist-types/commands/ListExecutionsCommand.d.ts +2 -7
- package/dist-types/commands/ListFileTransferResultsCommand.d.ts +2 -8
- package/dist-types/commands/ListHostKeysCommand.d.ts +2 -4
- package/dist-types/commands/ListProfilesCommand.d.ts +2 -6
- package/dist-types/commands/ListSecurityPoliciesCommand.d.ts +1 -4
- package/dist-types/commands/ListServersCommand.d.ts +1 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
- package/dist-types/commands/ListUsersCommand.d.ts +2 -4
- package/dist-types/commands/SendWorkflowStepStateCommand.d.ts +2 -7
- package/dist-types/commands/StartDirectoryListingCommand.d.ts +2 -47
- package/dist-types/commands/StartFileTransferCommand.d.ts +2 -28
- package/dist-types/commands/StartRemoteDeleteCommand.d.ts +88 -0
- package/dist-types/commands/StartRemoteMoveCommand.d.ts +89 -0
- package/dist-types/commands/StartServerCommand.d.ts +2 -9
- package/dist-types/commands/StopServerCommand.d.ts +2 -14
- package/dist-types/commands/TagResourceCommand.d.ts +2 -5
- package/dist-types/commands/TestConnectionCommand.d.ts +5 -5
- package/dist-types/commands/TestIdentityProviderCommand.d.ts +2 -52
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -5
- package/dist-types/commands/UpdateAccessCommand.d.ts +2 -4
- package/dist-types/commands/UpdateAgreementCommand.d.ts +2 -10
- package/dist-types/commands/UpdateCertificateCommand.d.ts +1 -2
- package/dist-types/commands/UpdateConnectorCommand.d.ts +3 -5
- package/dist-types/commands/UpdateHostKeyCommand.d.ts +2 -4
- package/dist-types/commands/UpdateProfileCommand.d.ts +2 -5
- package/dist-types/commands/UpdateServerCommand.d.ts +3 -9
- package/dist-types/commands/UpdateUserCommand.d.ts +2 -19
- package/dist-types/commands/UpdateWebAppCommand.d.ts +2 -5
- package/dist-types/commands/UpdateWebAppCustomizationCommand.d.ts +2 -5
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +1 -10
- package/dist-types/models/models_0.d.ts +395 -2556
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/Transfer.d.ts +34 -0
- package/dist-types/ts3.4/TransferClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/StartRemoteDeleteCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartRemoteMoveCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +1 -1
|
@@ -27,8 +27,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The
|
|
31
|
-
* resource can be a user, server, or role.</p>
|
|
30
|
+
* <p>Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -27,8 +27,7 @@ declare const ListUsersCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists the users for a file transfer protocol-enabled server that you specify by passing
|
|
31
|
-
* the <code>ServerId</code> parameter.</p>
|
|
30
|
+
* <p>Lists the users for a file transfer protocol-enabled server that you specify by passing the <code>ServerId</code> parameter.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -75,8 +74,7 @@ declare const ListUsersCommand_base: {
|
|
|
75
74
|
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
76
75
|
*
|
|
77
76
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
-
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
79
|
-
* service.</p>
|
|
77
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
|
|
80
78
|
*
|
|
81
79
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
82
80
|
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
@@ -27,11 +27,7 @@ declare const SendWorkflowStepStateCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Sends a callback for asynchronous custom steps.</p>
|
|
31
|
-
* <p>
|
|
32
|
-
* The <code>ExecutionId</code>, <code>WorkflowId</code>, and <code>Token</code> are passed to the target resource during execution of a custom step of a workflow.
|
|
33
|
-
* You must include those with their callback as well as providing a status.
|
|
34
|
-
* </p>
|
|
30
|
+
* <p>Sends a callback for asynchronous custom steps.</p> <p> The <code>ExecutionId</code>, <code>WorkflowId</code>, and <code>Token</code> are passed to the target resource during execution of a custom step of a workflow. You must include those with their callback as well as providing a status. </p>
|
|
35
31
|
* @example
|
|
36
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
33
|
* ```javascript
|
|
@@ -66,8 +62,7 @@ declare const SendWorkflowStepStateCommand_base: {
|
|
|
66
62
|
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
67
63
|
*
|
|
68
64
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
-
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
70
|
-
* service.</p>
|
|
65
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
|
|
71
66
|
*
|
|
72
67
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
73
68
|
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
@@ -27,51 +27,7 @@ declare const StartDirectoryListingCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves a list of the contents of a directory from a remote SFTP server. You specify the
|
|
31
|
-
* connector ID, the output path, and the remote directory path. You can also specify the
|
|
32
|
-
* optional <code>MaxItems</code> value to control the maximum number of items that are listed
|
|
33
|
-
* from the remote directory. This API returns a list of all files and directories in the remote
|
|
34
|
-
* directory (up to the maximum value), but does not return files or folders in sub-directories.
|
|
35
|
-
* That is, it only returns a list of files and directories one-level deep.</p>
|
|
36
|
-
* <p>After you receive the listing file, you can provide the files that you want to transfer to
|
|
37
|
-
* the <code>RetrieveFilePaths</code> parameter of the <code>StartFileTransfer</code> API
|
|
38
|
-
* call.</p>
|
|
39
|
-
* <p>The naming convention for the output file is
|
|
40
|
-
* <code>
|
|
41
|
-
* <i>connector-ID</i>-<i>listing-ID</i>.json</code>. The
|
|
42
|
-
* output file contains the following information:</p>
|
|
43
|
-
* <ul>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>
|
|
46
|
-
* <code>filePath</code>: the complete path of a remote file, relative to the directory
|
|
47
|
-
* of the listing request for your SFTP connector on the remote server.</p>
|
|
48
|
-
* </li>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>
|
|
51
|
-
* <code>modifiedTimestamp</code>: the last time the file was modified, in UTC time
|
|
52
|
-
* format. This field is optional. If the remote file attributes don't contain a timestamp,
|
|
53
|
-
* it is omitted from the file listing.</p>
|
|
54
|
-
* </li>
|
|
55
|
-
* <li>
|
|
56
|
-
* <p>
|
|
57
|
-
* <code>size</code>: the size of the file, in bytes. This field is optional. If the
|
|
58
|
-
* remote file attributes don't contain a file size, it is omitted from the file
|
|
59
|
-
* listing.</p>
|
|
60
|
-
* </li>
|
|
61
|
-
* <li>
|
|
62
|
-
* <p>
|
|
63
|
-
* <code>path</code>: the complete path of a remote directory, relative to the directory
|
|
64
|
-
* of the listing request for your SFTP connector on the remote server.</p>
|
|
65
|
-
* </li>
|
|
66
|
-
* <li>
|
|
67
|
-
* <p>
|
|
68
|
-
* <code>truncated</code>: a flag indicating whether the list output contains all of the
|
|
69
|
-
* items contained in the remote directory or not. If your <code>Truncated</code> output
|
|
70
|
-
* value is true, you can increase the value provided in the optional <code>max-items</code>
|
|
71
|
-
* input attribute to be able to list more items (up to the maximum allowed list size of
|
|
72
|
-
* 10,000 items).</p>
|
|
73
|
-
* </li>
|
|
74
|
-
* </ul>
|
|
30
|
+
* <p>Retrieves a list of the contents of a directory from a remote SFTP server. You specify the connector ID, the output path, and the remote directory path. You can also specify the optional <code>MaxItems</code> value to control the maximum number of items that are listed from the remote directory. This API returns a list of all files and directories in the remote directory (up to the maximum value), but does not return files or folders in sub-directories. That is, it only returns a list of files and directories one-level deep.</p> <p>After you receive the listing file, you can provide the files that you want to transfer to the <code>RetrieveFilePaths</code> parameter of the <code>StartFileTransfer</code> API call.</p> <p>The naming convention for the output file is <code> <i>connector-ID</i>-<i>listing-ID</i>.json</code>. The output file contains the following information:</p> <ul> <li> <p> <code>filePath</code>: the complete path of a remote file, relative to the directory of the listing request for your SFTP connector on the remote server.</p> </li> <li> <p> <code>modifiedTimestamp</code>: the last time the file was modified, in UTC time format. This field is optional. If the remote file attributes don't contain a timestamp, it is omitted from the file listing.</p> </li> <li> <p> <code>size</code>: the size of the file, in bytes. This field is optional. If the remote file attributes don't contain a file size, it is omitted from the file listing.</p> </li> <li> <p> <code>path</code>: the complete path of a remote directory, relative to the directory of the listing request for your SFTP connector on the remote server.</p> </li> <li> <p> <code>truncated</code>: a flag indicating whether the list output contains all of the items contained in the remote directory or not. If your <code>Truncated</code> output value is true, you can increase the value provided in the optional <code>max-items</code> input attribute to be able to list more items (up to the maximum allowed list size of 10,000 items).</p> </li> </ul>
|
|
75
31
|
* @example
|
|
76
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
77
33
|
* ```javascript
|
|
@@ -106,8 +62,7 @@ declare const StartDirectoryListingCommand_base: {
|
|
|
106
62
|
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
107
63
|
*
|
|
108
64
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
109
|
-
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
110
|
-
* service.</p>
|
|
65
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
|
|
111
66
|
*
|
|
112
67
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
113
68
|
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
@@ -27,32 +27,7 @@ declare const StartFileTransferCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Begins a file transfer between local Amazon Web Services storage and a remote AS2 or SFTP server.</p>
|
|
31
|
-
* <ul>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>For an AS2 connector, you specify the <code>ConnectorId</code> and one or more <code>SendFilePaths</code> to identify the files
|
|
34
|
-
* you want to transfer.</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>For an SFTP connector, the file transfer can be either outbound or inbound. In both
|
|
38
|
-
* cases, you specify the <code>ConnectorId</code>. Depending on the direction of the transfer,
|
|
39
|
-
* you also specify the following items:</p>
|
|
40
|
-
* <ul>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>If you are transferring file from a partner's SFTP server to Amazon Web Services
|
|
43
|
-
* storage, you specify one or more <code>RetrieveFilePaths</code> to identify the files
|
|
44
|
-
* you want to transfer, and a <code>LocalDirectoryPath</code> to specify the destination
|
|
45
|
-
* folder.</p>
|
|
46
|
-
* </li>
|
|
47
|
-
* <li>
|
|
48
|
-
* <p>If you are transferring file to a partner's SFTP server from Amazon Web Services
|
|
49
|
-
* storage, you specify one or more <code>SendFilePaths</code> to identify the files you
|
|
50
|
-
* want to transfer, and a <code>RemoteDirectoryPath</code> to specify the destination
|
|
51
|
-
* folder.</p>
|
|
52
|
-
* </li>
|
|
53
|
-
* </ul>
|
|
54
|
-
* </li>
|
|
55
|
-
* </ul>
|
|
30
|
+
* <p>Begins a file transfer between local Amazon Web Services storage and a remote AS2 or SFTP server.</p> <ul> <li> <p>For an AS2 connector, you specify the <code>ConnectorId</code> and one or more <code>SendFilePaths</code> to identify the files you want to transfer.</p> </li> <li> <p>For an SFTP connector, the file transfer can be either outbound or inbound. In both cases, you specify the <code>ConnectorId</code>. Depending on the direction of the transfer, you also specify the following items:</p> <ul> <li> <p>If you are transferring file from a partner's SFTP server to Amazon Web Services storage, you specify one or more <code>RetrieveFilePaths</code> to identify the files you want to transfer, and a <code>LocalDirectoryPath</code> to specify the destination folder.</p> </li> <li> <p>If you are transferring file to a partner's SFTP server from Amazon Web Services storage, you specify one or more <code>SendFilePaths</code> to identify the files you want to transfer, and a <code>RemoteDirectoryPath</code> to specify the destination folder.</p> </li> </ul> </li> </ul>
|
|
56
31
|
* @example
|
|
57
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
58
33
|
* ```javascript
|
|
@@ -91,8 +66,7 @@ declare const StartFileTransferCommand_base: {
|
|
|
91
66
|
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
92
67
|
*
|
|
93
68
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
|
-
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
95
|
-
* service.</p>
|
|
69
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
|
|
96
70
|
*
|
|
97
71
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
98
72
|
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StartRemoteDeleteRequest, StartRemoteDeleteResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartRemoteDeleteCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartRemoteDeleteCommandInput extends StartRemoteDeleteRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartRemoteDeleteCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartRemoteDeleteCommandOutput extends StartRemoteDeleteResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartRemoteDeleteCommand_base: {
|
|
25
|
+
new (input: StartRemoteDeleteCommandInput): import("@smithy/smithy-client").CommandImpl<StartRemoteDeleteCommandInput, StartRemoteDeleteCommandOutput, TransferClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StartRemoteDeleteCommandInput): import("@smithy/smithy-client").CommandImpl<StartRemoteDeleteCommandInput, StartRemoteDeleteCommandOutput, TransferClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a file or directory on the remote SFTP server.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { TransferClient, StartRemoteDeleteCommand } from "@aws-sdk/client-transfer"; // ES Modules import
|
|
35
|
+
* // const { TransferClient, StartRemoteDeleteCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
|
|
36
|
+
* const client = new TransferClient(config);
|
|
37
|
+
* const input = { // StartRemoteDeleteRequest
|
|
38
|
+
* ConnectorId: "STRING_VALUE", // required
|
|
39
|
+
* DeletePath: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new StartRemoteDeleteCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // StartRemoteDeleteResponse
|
|
44
|
+
* // DeleteId: "STRING_VALUE", // required
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param StartRemoteDeleteCommandInput - {@link StartRemoteDeleteCommandInput}
|
|
50
|
+
* @returns {@link StartRemoteDeleteCommandOutput}
|
|
51
|
+
* @see {@link StartRemoteDeleteCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link StartRemoteDeleteCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
56
|
+
* <p>This exception is thrown when an error occurs in the Transfer Family service.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
59
|
+
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
65
|
+
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>The request was denied due to request throttling.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link TransferServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from Transfer service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class StartRemoteDeleteCommand extends StartRemoteDeleteCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: StartRemoteDeleteRequest;
|
|
81
|
+
output: StartRemoteDeleteResponse;
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: StartRemoteDeleteCommandInput;
|
|
85
|
+
output: StartRemoteDeleteCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StartRemoteMoveRequest, StartRemoteMoveResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartRemoteMoveCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartRemoteMoveCommandInput extends StartRemoteMoveRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartRemoteMoveCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartRemoteMoveCommandOutput extends StartRemoteMoveResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartRemoteMoveCommand_base: {
|
|
25
|
+
new (input: StartRemoteMoveCommandInput): import("@smithy/smithy-client").CommandImpl<StartRemoteMoveCommandInput, StartRemoteMoveCommandOutput, TransferClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StartRemoteMoveCommandInput): import("@smithy/smithy-client").CommandImpl<StartRemoteMoveCommandInput, StartRemoteMoveCommandOutput, TransferClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Moves or renames a file or directory on the remote SFTP server.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { TransferClient, StartRemoteMoveCommand } from "@aws-sdk/client-transfer"; // ES Modules import
|
|
35
|
+
* // const { TransferClient, StartRemoteMoveCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
|
|
36
|
+
* const client = new TransferClient(config);
|
|
37
|
+
* const input = { // StartRemoteMoveRequest
|
|
38
|
+
* ConnectorId: "STRING_VALUE", // required
|
|
39
|
+
* SourcePath: "STRING_VALUE", // required
|
|
40
|
+
* TargetPath: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new StartRemoteMoveCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // StartRemoteMoveResponse
|
|
45
|
+
* // MoveId: "STRING_VALUE", // required
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param StartRemoteMoveCommandInput - {@link StartRemoteMoveCommandInput}
|
|
51
|
+
* @returns {@link StartRemoteMoveCommandOutput}
|
|
52
|
+
* @see {@link StartRemoteMoveCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link StartRemoteMoveCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
57
|
+
* <p>This exception is thrown when an error occurs in the Transfer Family service.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
60
|
+
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
66
|
+
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was denied due to request throttling.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link TransferServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from Transfer service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class StartRemoteMoveCommand extends StartRemoteMoveCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: StartRemoteMoveRequest;
|
|
82
|
+
output: StartRemoteMoveResponse;
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: StartRemoteMoveCommandInput;
|
|
86
|
+
output: StartRemoteMoveCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -27,13 +27,7 @@ declare const StartServerCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Changes the state of a file transfer protocol-enabled server from <code>OFFLINE</code> to
|
|
31
|
-
* <code>ONLINE</code>. It has no impact on a server that is already <code>ONLINE</code>. An
|
|
32
|
-
* <code>ONLINE</code> server can accept and process file transfer jobs.</p>
|
|
33
|
-
* <p>The state of <code>STARTING</code> indicates that the server is in an intermediate state,
|
|
34
|
-
* either not fully able to respond, or not fully online. The values of <code>START_FAILED</code>
|
|
35
|
-
* can indicate an error condition.</p>
|
|
36
|
-
* <p>No response is returned from this call.</p>
|
|
30
|
+
* <p>Changes the state of a file transfer protocol-enabled server from <code>OFFLINE</code> to <code>ONLINE</code>. It has no impact on a server that is already <code>ONLINE</code>. An <code>ONLINE</code> server can accept and process file transfer jobs.</p> <p>The state of <code>STARTING</code> indicates that the server is in an intermediate state, either not fully able to respond, or not fully online. The values of <code>START_FAILED</code> can indicate an error condition.</p> <p>No response is returned from this call.</p>
|
|
37
31
|
* @example
|
|
38
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
33
|
* ```javascript
|
|
@@ -62,8 +56,7 @@ declare const StartServerCommand_base: {
|
|
|
62
56
|
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
63
57
|
*
|
|
64
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
-
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
66
|
-
* service.</p>
|
|
59
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
|
|
67
60
|
*
|
|
68
61
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
69
62
|
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
@@ -27,18 +27,7 @@ declare const StopServerCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Changes the state of a file transfer protocol-enabled server from <code>ONLINE</code> to
|
|
31
|
-
* <code>OFFLINE</code>. An <code>OFFLINE</code> server cannot accept and process file transfer
|
|
32
|
-
* jobs. Information tied to your server, such as server and user properties, are not affected by
|
|
33
|
-
* stopping your server.</p>
|
|
34
|
-
* <note>
|
|
35
|
-
* <p>Stopping the server does not reduce or impact your file transfer protocol endpoint
|
|
36
|
-
* billing; you must delete the server to stop being billed.</p>
|
|
37
|
-
* </note>
|
|
38
|
-
* <p>The state of <code>STOPPING</code> indicates that the server is in an intermediate state,
|
|
39
|
-
* either not fully able to respond, or not fully offline. The values of <code>STOP_FAILED</code>
|
|
40
|
-
* can indicate an error condition.</p>
|
|
41
|
-
* <p>No response is returned from this call.</p>
|
|
30
|
+
* <p>Changes the state of a file transfer protocol-enabled server from <code>ONLINE</code> to <code>OFFLINE</code>. An <code>OFFLINE</code> server cannot accept and process file transfer jobs. Information tied to your server, such as server and user properties, are not affected by stopping your server.</p> <note> <p>Stopping the server does not reduce or impact your file transfer protocol endpoint billing; you must delete the server to stop being billed.</p> </note> <p>The state of <code>STOPPING</code> indicates that the server is in an intermediate state, either not fully able to respond, or not fully offline. The values of <code>STOP_FAILED</code> can indicate an error condition.</p> <p>No response is returned from this call.</p>
|
|
42
31
|
* @example
|
|
43
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
44
33
|
* ```javascript
|
|
@@ -67,8 +56,7 @@ declare const StopServerCommand_base: {
|
|
|
67
56
|
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
68
57
|
*
|
|
69
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
-
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
71
|
-
* service.</p>
|
|
59
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
|
|
72
60
|
*
|
|
73
61
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
74
62
|
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
@@ -27,9 +27,7 @@ declare const TagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).
|
|
31
|
-
* Resources are users, servers, roles, and other entities.</p>
|
|
32
|
-
* <p>There is no response returned from this call.</p>
|
|
30
|
+
* <p>Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.</p> <p>There is no response returned from this call.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -64,8 +62,7 @@ declare const TagResourceCommand_base: {
|
|
|
64
62
|
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
65
63
|
*
|
|
66
64
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
-
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
68
|
-
* service.</p>
|
|
65
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
|
|
69
66
|
*
|
|
70
67
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
71
68
|
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
@@ -27,9 +27,7 @@ declare const TestConnectionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Tests whether your SFTP connector is set up successfully. We highly recommend that you call this
|
|
31
|
-
* operation to test your ability to transfer files between local Amazon Web Services storage and a trading partner's
|
|
32
|
-
* SFTP server.</p>
|
|
30
|
+
* <p>Tests whether your SFTP connector is set up successfully. We highly recommend that you call this operation to test your ability to transfer files between local Amazon Web Services storage and a trading partner's SFTP server.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -45,6 +43,9 @@ declare const TestConnectionCommand_base: {
|
|
|
45
43
|
* // ConnectorId: "STRING_VALUE",
|
|
46
44
|
* // Status: "STRING_VALUE",
|
|
47
45
|
* // StatusMessage: "STRING_VALUE",
|
|
46
|
+
* // SftpConnectionDetails: { // SftpConnectorConnectionDetails
|
|
47
|
+
* // HostKey: "STRING_VALUE",
|
|
48
|
+
* // },
|
|
48
49
|
* // };
|
|
49
50
|
*
|
|
50
51
|
* ```
|
|
@@ -62,8 +63,7 @@ declare const TestConnectionCommand_base: {
|
|
|
62
63
|
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
63
64
|
*
|
|
64
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
-
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
66
|
-
* service.</p>
|
|
66
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
69
69
|
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
@@ -27,56 +27,7 @@ declare const TestIdentityProviderCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>If the <code>IdentityProviderType</code> of a file transfer protocol-enabled server is
|
|
31
|
-
* <code>AWS_DIRECTORY_SERVICE</code> or <code>API_Gateway</code>, tests whether your identity
|
|
32
|
-
* provider is set up successfully. We highly recommend that you call this operation to test your
|
|
33
|
-
* authentication method as soon as you create your server. By doing so, you can troubleshoot
|
|
34
|
-
* issues with the identity provider integration to ensure that your users can successfully use
|
|
35
|
-
* the service.</p>
|
|
36
|
-
* <p>
|
|
37
|
-
* The <code>ServerId</code> and <code>UserName</code> parameters are required. The <code>ServerProtocol</code>, <code>SourceIp</code>, and <code>UserPassword</code> are all optional.
|
|
38
|
-
* </p>
|
|
39
|
-
* <p>Note the following:</p>
|
|
40
|
-
* <ul>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p> You cannot use <code>TestIdentityProvider</code> if the
|
|
43
|
-
* <code>IdentityProviderType</code> of your server is <code>SERVICE_MANAGED</code>.</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>
|
|
47
|
-
* <code>TestIdentityProvider</code> does not work with keys: it only accepts
|
|
48
|
-
* passwords.</p>
|
|
49
|
-
* </li>
|
|
50
|
-
* <li>
|
|
51
|
-
* <p>
|
|
52
|
-
* <code>TestIdentityProvider</code> can test the password operation for a custom Identity Provider that handles keys and passwords.</p>
|
|
53
|
-
* </li>
|
|
54
|
-
* <li>
|
|
55
|
-
* <p>
|
|
56
|
-
* If you provide any incorrect values for any parameters, the <code>Response</code> field is empty.
|
|
57
|
-
* </p>
|
|
58
|
-
* </li>
|
|
59
|
-
* <li>
|
|
60
|
-
* <p>
|
|
61
|
-
* If you provide a server ID for a server that uses service-managed users, you get an error:
|
|
62
|
-
* </p>
|
|
63
|
-
* <p>
|
|
64
|
-
* <code>
|
|
65
|
-
* An error occurred (InvalidRequestException) when calling the TestIdentityProvider operation: s-<i>server-ID</i> not configured for external auth
|
|
66
|
-
* </code>
|
|
67
|
-
* </p>
|
|
68
|
-
* </li>
|
|
69
|
-
* <li>
|
|
70
|
-
* <p>
|
|
71
|
-
* If you enter a Server ID for the <code>--server-id</code> parameter that does not identify an actual Transfer server, you receive the following error:
|
|
72
|
-
* </p>
|
|
73
|
-
* <p>
|
|
74
|
-
* <code>An error occurred (ResourceNotFoundException) when calling the TestIdentityProvider operation: Unknown server</code>.
|
|
75
|
-
* </p>
|
|
76
|
-
* <p>It is possible your sever is in a different region. You can specify a region by adding the following: <code>--region region-code</code>,
|
|
77
|
-
* such as <code>--region us-east-2</code> to specify a server in <b>US East (Ohio)</b>.</p>
|
|
78
|
-
* </li>
|
|
79
|
-
* </ul>
|
|
30
|
+
* <p>If the <code>IdentityProviderType</code> of a file transfer protocol-enabled server is <code>AWS_DIRECTORY_SERVICE</code> or <code>API_Gateway</code>, tests whether your identity provider is set up successfully. We highly recommend that you call this operation to test your authentication method as soon as you create your server. By doing so, you can troubleshoot issues with the identity provider integration to ensure that your users can successfully use the service.</p> <p> The <code>ServerId</code> and <code>UserName</code> parameters are required. The <code>ServerProtocol</code>, <code>SourceIp</code>, and <code>UserPassword</code> are all optional. </p> <p>Note the following:</p> <ul> <li> <p> You cannot use <code>TestIdentityProvider</code> if the <code>IdentityProviderType</code> of your server is <code>SERVICE_MANAGED</code>.</p> </li> <li> <p> <code>TestIdentityProvider</code> does not work with keys: it only accepts passwords.</p> </li> <li> <p> <code>TestIdentityProvider</code> can test the password operation for a custom Identity Provider that handles keys and passwords.</p> </li> <li> <p> If you provide any incorrect values for any parameters, the <code>Response</code> field is empty. </p> </li> <li> <p> If you provide a server ID for a server that uses service-managed users, you get an error: </p> <p> <code> An error occurred (InvalidRequestException) when calling the TestIdentityProvider operation: s-<i>server-ID</i> not configured for external auth </code> </p> </li> <li> <p> If you enter a Server ID for the <code>--server-id</code> parameter that does not identify an actual Transfer server, you receive the following error: </p> <p> <code>An error occurred (ResourceNotFoundException) when calling the TestIdentityProvider operation: Unknown server</code>. </p> <p>It is possible your sever is in a different region. You can specify a region by adding the following: <code>--region region-code</code>, such as <code>--region us-east-2</code> to specify a server in <b>US East (Ohio)</b>.</p> </li> </ul>
|
|
80
31
|
* @example
|
|
81
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
82
33
|
* ```javascript
|
|
@@ -114,8 +65,7 @@ declare const TestIdentityProviderCommand_base: {
|
|
|
114
65
|
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
115
66
|
*
|
|
116
67
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
117
|
-
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
118
|
-
* service.</p>
|
|
68
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
|
|
119
69
|
*
|
|
120
70
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
121
71
|
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
@@ -27,9 +27,7 @@ declare const UntagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Detaches a key-value pair from a resource, as identified by its Amazon Resource Name
|
|
31
|
-
* (ARN). Resources are users, servers, roles, and other entities.</p>
|
|
32
|
-
* <p>No response is returned from this call.</p>
|
|
30
|
+
* <p>Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.</p> <p>No response is returned from this call.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -61,8 +59,7 @@ declare const UntagResourceCommand_base: {
|
|
|
61
59
|
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
62
60
|
*
|
|
63
61
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
-
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
65
|
-
* service.</p>
|
|
62
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
|
|
66
63
|
*
|
|
67
64
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
68
65
|
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
@@ -27,8 +27,7 @@ declare const UpdateAccessCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Allows you to update parameters for the access specified in the <code>ServerID</code> and
|
|
31
|
-
* <code>ExternalID</code> parameters.</p>
|
|
30
|
+
* <p>Allows you to update parameters for the access specified in the <code>ServerID</code> and <code>ExternalID</code> parameters.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -82,8 +81,7 @@ declare const UpdateAccessCommand_base: {
|
|
|
82
81
|
* <p>The requested resource does not exist, or exists in a region other than the one specified for the command.</p>
|
|
83
82
|
*
|
|
84
83
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
85
|
-
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
86
|
-
* service.</p>
|
|
84
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
|
|
87
85
|
*
|
|
88
86
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
89
87
|
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
@@ -27,14 +27,7 @@ declare const UpdateAgreementCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates some of the parameters for an existing agreement. Provide the
|
|
31
|
-
* <code>AgreementId</code> and the <code>ServerId</code> for the agreement that you want to
|
|
32
|
-
* update, along with the new values for the parameters to update.</p>
|
|
33
|
-
* <note>
|
|
34
|
-
* <p>Specify <i>either</i>
|
|
35
|
-
* <code>BaseDirectory</code> or <code>CustomDirectories</code>, but not both. Specifying both causes the command to fail.</p>
|
|
36
|
-
* <p>If you update an agreement from using base directory to custom directories, the base directory is no longer used. Similarly, if you change from custom directories to a base directory, the custom directories are no longer used.</p>
|
|
37
|
-
* </note>
|
|
30
|
+
* <p>Updates some of the parameters for an existing agreement. Provide the <code>AgreementId</code> and the <code>ServerId</code> for the agreement that you want to update, along with the new values for the parameters to update.</p> <note> <p>Specify <i>either</i> <code>BaseDirectory</code> or <code>CustomDirectories</code>, but not both. Specifying both causes the command to fail.</p> <p>If you update an agreement from using base directory to custom directories, the base directory is no longer used. Similarly, if you change from custom directories to a base directory, the custom directories are no longer used.</p> </note>
|
|
38
31
|
* @example
|
|
39
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
33
|
* ```javascript
|
|
@@ -84,8 +77,7 @@ declare const UpdateAgreementCommand_base: {
|
|
|
84
77
|
* <p>The requested resource does not exist, or exists in a region other than the one specified for the command.</p>
|
|
85
78
|
*
|
|
86
79
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
|
-
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
88
|
-
* service.</p>
|
|
80
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
|
|
89
81
|
*
|
|
90
82
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
91
83
|
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
@@ -61,8 +61,7 @@ declare const UpdateCertificateCommand_base: {
|
|
|
61
61
|
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
-
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
65
|
-
* service.</p>
|
|
64
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
|
|
66
65
|
*
|
|
67
66
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
68
67
|
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|