@aws-sdk/client-transfer 3.131.0 → 3.137.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/CHANGELOG.md +12 -0
- package/README.md +9 -9
- package/dist-cjs/Transfer.js +315 -0
- package/dist-cjs/commands/CreateAccessCommand.js +2 -2
- package/dist-cjs/commands/CreateAgreementCommand.js +36 -0
- package/dist-cjs/commands/CreateConnectorCommand.js +36 -0
- package/dist-cjs/commands/CreateProfileCommand.js +36 -0
- package/dist-cjs/commands/CreateServerCommand.js +2 -2
- package/dist-cjs/commands/CreateUserCommand.js +2 -2
- package/dist-cjs/commands/CreateWorkflowCommand.js +2 -2
- package/dist-cjs/commands/DeleteAccessCommand.js +1 -1
- package/dist-cjs/commands/DeleteAgreementCommand.js +36 -0
- package/dist-cjs/commands/DeleteCertificateCommand.js +36 -0
- package/dist-cjs/commands/DeleteConnectorCommand.js +36 -0
- package/dist-cjs/commands/DeleteProfileCommand.js +36 -0
- package/dist-cjs/commands/DeleteServerCommand.js +1 -1
- package/dist-cjs/commands/DeleteSshPublicKeyCommand.js +1 -1
- package/dist-cjs/commands/DeleteUserCommand.js +1 -1
- package/dist-cjs/commands/DeleteWorkflowCommand.js +1 -1
- package/dist-cjs/commands/DescribeAccessCommand.js +2 -2
- package/dist-cjs/commands/DescribeAgreementCommand.js +36 -0
- package/dist-cjs/commands/DescribeCertificateCommand.js +36 -0
- package/dist-cjs/commands/DescribeConnectorCommand.js +36 -0
- package/dist-cjs/commands/DescribeExecutionCommand.js +2 -2
- package/dist-cjs/commands/DescribeProfileCommand.js +36 -0
- package/dist-cjs/commands/DescribeSecurityPolicyCommand.js +2 -2
- package/dist-cjs/commands/DescribeServerCommand.js +2 -2
- package/dist-cjs/commands/DescribeUserCommand.js +2 -2
- package/dist-cjs/commands/DescribeWorkflowCommand.js +2 -2
- package/dist-cjs/commands/ImportCertificateCommand.js +36 -0
- package/dist-cjs/commands/ImportSshPublicKeyCommand.js +2 -2
- package/dist-cjs/commands/ListAccessesCommand.js +2 -2
- package/dist-cjs/commands/ListAgreementsCommand.js +36 -0
- package/dist-cjs/commands/ListCertificatesCommand.js +36 -0
- package/dist-cjs/commands/ListConnectorsCommand.js +36 -0
- package/dist-cjs/commands/ListExecutionsCommand.js +2 -2
- package/dist-cjs/commands/ListProfilesCommand.js +36 -0
- package/dist-cjs/commands/ListSecurityPoliciesCommand.js +2 -2
- package/dist-cjs/commands/ListServersCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ListUsersCommand.js +2 -2
- package/dist-cjs/commands/ListWorkflowsCommand.js +2 -2
- package/dist-cjs/commands/SendWorkflowStepStateCommand.js +2 -2
- package/dist-cjs/commands/StartFileTransferCommand.js +36 -0
- package/dist-cjs/commands/StartServerCommand.js +1 -1
- package/dist-cjs/commands/StopServerCommand.js +1 -1
- package/dist-cjs/commands/TagResourceCommand.js +1 -1
- package/dist-cjs/commands/TestIdentityProviderCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +1 -1
- package/dist-cjs/commands/UpdateAccessCommand.js +2 -2
- package/dist-cjs/commands/UpdateAgreementCommand.js +36 -0
- package/dist-cjs/commands/UpdateCertificateCommand.js +36 -0
- package/dist-cjs/commands/UpdateConnectorCommand.js +36 -0
- package/dist-cjs/commands/UpdateProfileCommand.js +36 -0
- package/dist-cjs/commands/UpdateServerCommand.js +2 -2
- package/dist-cjs/commands/UpdateUserCommand.js +2 -2
- package/dist-cjs/commands/index.js +21 -0
- package/dist-cjs/models/models_0.js +633 -558
- package/dist-cjs/pagination/ListAgreementsPaginator.js +36 -0
- package/dist-cjs/pagination/ListCertificatesPaginator.js +36 -0
- package/dist-cjs/pagination/ListConnectorsPaginator.js +36 -0
- package/dist-cjs/pagination/ListProfilesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1743 -85
- package/dist-es/Transfer.js +315 -0
- package/dist-es/commands/CreateAccessCommand.js +3 -3
- package/dist-es/commands/CreateAgreementCommand.js +39 -0
- package/dist-es/commands/CreateConnectorCommand.js +39 -0
- package/dist-es/commands/CreateProfileCommand.js +39 -0
- package/dist-es/commands/CreateServerCommand.js +3 -3
- package/dist-es/commands/CreateUserCommand.js +3 -3
- package/dist-es/commands/CreateWorkflowCommand.js +3 -3
- package/dist-es/commands/DeleteAccessCommand.js +2 -2
- package/dist-es/commands/DeleteAgreementCommand.js +39 -0
- package/dist-es/commands/DeleteCertificateCommand.js +39 -0
- package/dist-es/commands/DeleteConnectorCommand.js +39 -0
- package/dist-es/commands/DeleteProfileCommand.js +39 -0
- package/dist-es/commands/DeleteServerCommand.js +2 -2
- package/dist-es/commands/DeleteSshPublicKeyCommand.js +2 -2
- package/dist-es/commands/DeleteUserCommand.js +2 -2
- package/dist-es/commands/DeleteWorkflowCommand.js +2 -2
- package/dist-es/commands/DescribeAccessCommand.js +3 -3
- package/dist-es/commands/DescribeAgreementCommand.js +39 -0
- package/dist-es/commands/DescribeCertificateCommand.js +39 -0
- package/dist-es/commands/DescribeConnectorCommand.js +39 -0
- package/dist-es/commands/DescribeExecutionCommand.js +3 -3
- package/dist-es/commands/DescribeProfileCommand.js +39 -0
- package/dist-es/commands/DescribeSecurityPolicyCommand.js +3 -3
- package/dist-es/commands/DescribeServerCommand.js +3 -3
- package/dist-es/commands/DescribeUserCommand.js +3 -3
- package/dist-es/commands/DescribeWorkflowCommand.js +3 -3
- package/dist-es/commands/ImportCertificateCommand.js +39 -0
- package/dist-es/commands/ImportSshPublicKeyCommand.js +3 -3
- package/dist-es/commands/ListAccessesCommand.js +3 -3
- package/dist-es/commands/ListAgreementsCommand.js +39 -0
- package/dist-es/commands/ListCertificatesCommand.js +39 -0
- package/dist-es/commands/ListConnectorsCommand.js +39 -0
- package/dist-es/commands/ListExecutionsCommand.js +3 -3
- package/dist-es/commands/ListProfilesCommand.js +39 -0
- package/dist-es/commands/ListSecurityPoliciesCommand.js +3 -3
- package/dist-es/commands/ListServersCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListUsersCommand.js +3 -3
- package/dist-es/commands/ListWorkflowsCommand.js +3 -3
- package/dist-es/commands/SendWorkflowStepStateCommand.js +3 -3
- package/dist-es/commands/StartFileTransferCommand.js +39 -0
- package/dist-es/commands/StartServerCommand.js +2 -2
- package/dist-es/commands/StopServerCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/TestIdentityProviderCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateAccessCommand.js +3 -3
- package/dist-es/commands/UpdateAgreementCommand.js +39 -0
- package/dist-es/commands/UpdateCertificateCommand.js +39 -0
- package/dist-es/commands/UpdateConnectorCommand.js +39 -0
- package/dist-es/commands/UpdateProfileCommand.js +39 -0
- package/dist-es/commands/UpdateServerCommand.js +3 -3
- package/dist-es/commands/UpdateUserCommand.js +3 -3
- package/dist-es/commands/index.js +21 -0
- package/dist-es/models/models_0.js +203 -368
- package/dist-es/pagination/ListAgreementsPaginator.js +75 -0
- package/dist-es/pagination/ListCertificatesPaginator.js +75 -0
- package/dist-es/pagination/ListConnectorsPaginator.js +75 -0
- package/dist-es/pagination/ListProfilesPaginator.js +75 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +2408 -449
- package/dist-types/Transfer.d.ts +190 -13
- package/dist-types/TransferClient.d.ts +32 -11
- package/dist-types/commands/CreateAccessCommand.d.ts +1 -1
- package/dist-types/commands/CreateAgreementCommand.d.ts +40 -0
- package/dist-types/commands/CreateConnectorCommand.d.ts +37 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +36 -0
- package/dist-types/commands/CreateUserCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAgreementCommand.d.ts +35 -0
- package/dist-types/commands/DeleteCertificateCommand.d.ts +36 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +35 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +35 -0
- package/dist-types/commands/DescribeAccessCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAgreementCommand.d.ts +35 -0
- package/dist-types/commands/DescribeCertificateCommand.d.ts +35 -0
- package/dist-types/commands/DescribeConnectorCommand.d.ts +36 -0
- package/dist-types/commands/DescribeProfileCommand.d.ts +35 -0
- package/dist-types/commands/ImportCertificateCommand.d.ts +37 -0
- package/dist-types/commands/ListAgreementsCommand.d.ts +39 -0
- package/dist-types/commands/ListCertificatesCommand.d.ts +39 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +35 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +38 -0
- package/dist-types/commands/StartFileTransferCommand.d.ts +36 -0
- package/dist-types/commands/StopServerCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgreementCommand.d.ts +37 -0
- package/dist-types/commands/UpdateCertificateCommand.d.ts +35 -0
- package/dist-types/commands/UpdateConnectorCommand.d.ts +37 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/models/models_0.d.ts +1717 -788
- package/dist-types/pagination/ListAgreementsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListCertificatesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListConnectorsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListProfilesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +63 -0
- package/dist-types/ts3.4/Transfer.d.ts +105 -0
- package/dist-types/ts3.4/TransferClient.d.ts +23 -2
- package/dist-types/ts3.4/commands/CreateAgreementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAgreementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCertificateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAgreementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeCertificateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeConnectorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportCertificateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAgreementsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCertificatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartFileTransferCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateAgreementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateCertificateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/models/models_0.d.ts +733 -357
- package/dist-types/ts3.4/pagination/ListAgreementsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCertificatesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +63 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-transfer:** AWS Transfer Family now supports Applicability Statement 2 (AS2), a network protocol used for the secure and reliable transfer of critical Business-to-Business (B2B) data over the public internet using HTTP/HTTPS as the transport mechanism. ([8424fee](https://github.com/aws/aws-sdk-js-v3/commit/8424fee53f8d6090c1e19f79a0b6cbd6e5017375))
|
|
12
|
+
* **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @aws-sdk/client-transfer
|
package/README.md
CHANGED
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript Transfer Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<p>
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
<p>Transfer Family is a fully managed service that enables the transfer of files over the File
|
|
13
|
+
Transfer Protocol (FTP), File Transfer Protocol over SSL (FTPS), or Secure Shell (SSH) File
|
|
14
|
+
Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage Service (Amazon S3).
|
|
15
|
+
Amazon Web Services helps you seamlessly migrate your file transfer workflows to Transfer Family by integrating
|
|
16
|
+
with existing authentication systems, and providing DNS routing with Amazon Route 53 so
|
|
17
|
+
nothing changes for your customers and partners, or their applications. With your data in
|
|
18
|
+
Amazon S3, you can use it with Amazon Web Services for processing, analytics, machine learning, and
|
|
19
|
+
archiving. Getting started with Transfer Family is easy since there is no infrastructure to buy and
|
|
20
|
+
set up.</p>
|
|
21
21
|
|
|
22
22
|
## Installing
|
|
23
23
|
|
package/dist-cjs/Transfer.js
CHANGED
|
@@ -2,35 +2,56 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Transfer = void 0;
|
|
4
4
|
const CreateAccessCommand_1 = require("./commands/CreateAccessCommand");
|
|
5
|
+
const CreateAgreementCommand_1 = require("./commands/CreateAgreementCommand");
|
|
6
|
+
const CreateConnectorCommand_1 = require("./commands/CreateConnectorCommand");
|
|
7
|
+
const CreateProfileCommand_1 = require("./commands/CreateProfileCommand");
|
|
5
8
|
const CreateServerCommand_1 = require("./commands/CreateServerCommand");
|
|
6
9
|
const CreateUserCommand_1 = require("./commands/CreateUserCommand");
|
|
7
10
|
const CreateWorkflowCommand_1 = require("./commands/CreateWorkflowCommand");
|
|
8
11
|
const DeleteAccessCommand_1 = require("./commands/DeleteAccessCommand");
|
|
12
|
+
const DeleteAgreementCommand_1 = require("./commands/DeleteAgreementCommand");
|
|
13
|
+
const DeleteCertificateCommand_1 = require("./commands/DeleteCertificateCommand");
|
|
14
|
+
const DeleteConnectorCommand_1 = require("./commands/DeleteConnectorCommand");
|
|
15
|
+
const DeleteProfileCommand_1 = require("./commands/DeleteProfileCommand");
|
|
9
16
|
const DeleteServerCommand_1 = require("./commands/DeleteServerCommand");
|
|
10
17
|
const DeleteSshPublicKeyCommand_1 = require("./commands/DeleteSshPublicKeyCommand");
|
|
11
18
|
const DeleteUserCommand_1 = require("./commands/DeleteUserCommand");
|
|
12
19
|
const DeleteWorkflowCommand_1 = require("./commands/DeleteWorkflowCommand");
|
|
13
20
|
const DescribeAccessCommand_1 = require("./commands/DescribeAccessCommand");
|
|
21
|
+
const DescribeAgreementCommand_1 = require("./commands/DescribeAgreementCommand");
|
|
22
|
+
const DescribeCertificateCommand_1 = require("./commands/DescribeCertificateCommand");
|
|
23
|
+
const DescribeConnectorCommand_1 = require("./commands/DescribeConnectorCommand");
|
|
14
24
|
const DescribeExecutionCommand_1 = require("./commands/DescribeExecutionCommand");
|
|
25
|
+
const DescribeProfileCommand_1 = require("./commands/DescribeProfileCommand");
|
|
15
26
|
const DescribeSecurityPolicyCommand_1 = require("./commands/DescribeSecurityPolicyCommand");
|
|
16
27
|
const DescribeServerCommand_1 = require("./commands/DescribeServerCommand");
|
|
17
28
|
const DescribeUserCommand_1 = require("./commands/DescribeUserCommand");
|
|
18
29
|
const DescribeWorkflowCommand_1 = require("./commands/DescribeWorkflowCommand");
|
|
30
|
+
const ImportCertificateCommand_1 = require("./commands/ImportCertificateCommand");
|
|
19
31
|
const ImportSshPublicKeyCommand_1 = require("./commands/ImportSshPublicKeyCommand");
|
|
20
32
|
const ListAccessesCommand_1 = require("./commands/ListAccessesCommand");
|
|
33
|
+
const ListAgreementsCommand_1 = require("./commands/ListAgreementsCommand");
|
|
34
|
+
const ListCertificatesCommand_1 = require("./commands/ListCertificatesCommand");
|
|
35
|
+
const ListConnectorsCommand_1 = require("./commands/ListConnectorsCommand");
|
|
21
36
|
const ListExecutionsCommand_1 = require("./commands/ListExecutionsCommand");
|
|
37
|
+
const ListProfilesCommand_1 = require("./commands/ListProfilesCommand");
|
|
22
38
|
const ListSecurityPoliciesCommand_1 = require("./commands/ListSecurityPoliciesCommand");
|
|
23
39
|
const ListServersCommand_1 = require("./commands/ListServersCommand");
|
|
24
40
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
25
41
|
const ListUsersCommand_1 = require("./commands/ListUsersCommand");
|
|
26
42
|
const ListWorkflowsCommand_1 = require("./commands/ListWorkflowsCommand");
|
|
27
43
|
const SendWorkflowStepStateCommand_1 = require("./commands/SendWorkflowStepStateCommand");
|
|
44
|
+
const StartFileTransferCommand_1 = require("./commands/StartFileTransferCommand");
|
|
28
45
|
const StartServerCommand_1 = require("./commands/StartServerCommand");
|
|
29
46
|
const StopServerCommand_1 = require("./commands/StopServerCommand");
|
|
30
47
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
31
48
|
const TestIdentityProviderCommand_1 = require("./commands/TestIdentityProviderCommand");
|
|
32
49
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
33
50
|
const UpdateAccessCommand_1 = require("./commands/UpdateAccessCommand");
|
|
51
|
+
const UpdateAgreementCommand_1 = require("./commands/UpdateAgreementCommand");
|
|
52
|
+
const UpdateCertificateCommand_1 = require("./commands/UpdateCertificateCommand");
|
|
53
|
+
const UpdateConnectorCommand_1 = require("./commands/UpdateConnectorCommand");
|
|
54
|
+
const UpdateProfileCommand_1 = require("./commands/UpdateProfileCommand");
|
|
34
55
|
const UpdateServerCommand_1 = require("./commands/UpdateServerCommand");
|
|
35
56
|
const UpdateUserCommand_1 = require("./commands/UpdateUserCommand");
|
|
36
57
|
const TransferClient_1 = require("./TransferClient");
|
|
@@ -49,6 +70,48 @@ class Transfer extends TransferClient_1.TransferClient {
|
|
|
49
70
|
return this.send(command, optionsOrCb);
|
|
50
71
|
}
|
|
51
72
|
}
|
|
73
|
+
createAgreement(args, optionsOrCb, cb) {
|
|
74
|
+
const command = new CreateAgreementCommand_1.CreateAgreementCommand(args);
|
|
75
|
+
if (typeof optionsOrCb === "function") {
|
|
76
|
+
this.send(command, optionsOrCb);
|
|
77
|
+
}
|
|
78
|
+
else if (typeof cb === "function") {
|
|
79
|
+
if (typeof optionsOrCb !== "object")
|
|
80
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
81
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
return this.send(command, optionsOrCb);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
createConnector(args, optionsOrCb, cb) {
|
|
88
|
+
const command = new CreateConnectorCommand_1.CreateConnectorCommand(args);
|
|
89
|
+
if (typeof optionsOrCb === "function") {
|
|
90
|
+
this.send(command, optionsOrCb);
|
|
91
|
+
}
|
|
92
|
+
else if (typeof cb === "function") {
|
|
93
|
+
if (typeof optionsOrCb !== "object")
|
|
94
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
95
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
return this.send(command, optionsOrCb);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
createProfile(args, optionsOrCb, cb) {
|
|
102
|
+
const command = new CreateProfileCommand_1.CreateProfileCommand(args);
|
|
103
|
+
if (typeof optionsOrCb === "function") {
|
|
104
|
+
this.send(command, optionsOrCb);
|
|
105
|
+
}
|
|
106
|
+
else if (typeof cb === "function") {
|
|
107
|
+
if (typeof optionsOrCb !== "object")
|
|
108
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
109
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
return this.send(command, optionsOrCb);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
52
115
|
createServer(args, optionsOrCb, cb) {
|
|
53
116
|
const command = new CreateServerCommand_1.CreateServerCommand(args);
|
|
54
117
|
if (typeof optionsOrCb === "function") {
|
|
@@ -105,6 +168,62 @@ class Transfer extends TransferClient_1.TransferClient {
|
|
|
105
168
|
return this.send(command, optionsOrCb);
|
|
106
169
|
}
|
|
107
170
|
}
|
|
171
|
+
deleteAgreement(args, optionsOrCb, cb) {
|
|
172
|
+
const command = new DeleteAgreementCommand_1.DeleteAgreementCommand(args);
|
|
173
|
+
if (typeof optionsOrCb === "function") {
|
|
174
|
+
this.send(command, optionsOrCb);
|
|
175
|
+
}
|
|
176
|
+
else if (typeof cb === "function") {
|
|
177
|
+
if (typeof optionsOrCb !== "object")
|
|
178
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
179
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
180
|
+
}
|
|
181
|
+
else {
|
|
182
|
+
return this.send(command, optionsOrCb);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
deleteCertificate(args, optionsOrCb, cb) {
|
|
186
|
+
const command = new DeleteCertificateCommand_1.DeleteCertificateCommand(args);
|
|
187
|
+
if (typeof optionsOrCb === "function") {
|
|
188
|
+
this.send(command, optionsOrCb);
|
|
189
|
+
}
|
|
190
|
+
else if (typeof cb === "function") {
|
|
191
|
+
if (typeof optionsOrCb !== "object")
|
|
192
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
193
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
194
|
+
}
|
|
195
|
+
else {
|
|
196
|
+
return this.send(command, optionsOrCb);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
deleteConnector(args, optionsOrCb, cb) {
|
|
200
|
+
const command = new DeleteConnectorCommand_1.DeleteConnectorCommand(args);
|
|
201
|
+
if (typeof optionsOrCb === "function") {
|
|
202
|
+
this.send(command, optionsOrCb);
|
|
203
|
+
}
|
|
204
|
+
else if (typeof cb === "function") {
|
|
205
|
+
if (typeof optionsOrCb !== "object")
|
|
206
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
207
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
208
|
+
}
|
|
209
|
+
else {
|
|
210
|
+
return this.send(command, optionsOrCb);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
deleteProfile(args, optionsOrCb, cb) {
|
|
214
|
+
const command = new DeleteProfileCommand_1.DeleteProfileCommand(args);
|
|
215
|
+
if (typeof optionsOrCb === "function") {
|
|
216
|
+
this.send(command, optionsOrCb);
|
|
217
|
+
}
|
|
218
|
+
else if (typeof cb === "function") {
|
|
219
|
+
if (typeof optionsOrCb !== "object")
|
|
220
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
221
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
222
|
+
}
|
|
223
|
+
else {
|
|
224
|
+
return this.send(command, optionsOrCb);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
108
227
|
deleteServer(args, optionsOrCb, cb) {
|
|
109
228
|
const command = new DeleteServerCommand_1.DeleteServerCommand(args);
|
|
110
229
|
if (typeof optionsOrCb === "function") {
|
|
@@ -175,6 +294,48 @@ class Transfer extends TransferClient_1.TransferClient {
|
|
|
175
294
|
return this.send(command, optionsOrCb);
|
|
176
295
|
}
|
|
177
296
|
}
|
|
297
|
+
describeAgreement(args, optionsOrCb, cb) {
|
|
298
|
+
const command = new DescribeAgreementCommand_1.DescribeAgreementCommand(args);
|
|
299
|
+
if (typeof optionsOrCb === "function") {
|
|
300
|
+
this.send(command, optionsOrCb);
|
|
301
|
+
}
|
|
302
|
+
else if (typeof cb === "function") {
|
|
303
|
+
if (typeof optionsOrCb !== "object")
|
|
304
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
305
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
306
|
+
}
|
|
307
|
+
else {
|
|
308
|
+
return this.send(command, optionsOrCb);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
describeCertificate(args, optionsOrCb, cb) {
|
|
312
|
+
const command = new DescribeCertificateCommand_1.DescribeCertificateCommand(args);
|
|
313
|
+
if (typeof optionsOrCb === "function") {
|
|
314
|
+
this.send(command, optionsOrCb);
|
|
315
|
+
}
|
|
316
|
+
else if (typeof cb === "function") {
|
|
317
|
+
if (typeof optionsOrCb !== "object")
|
|
318
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
319
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
320
|
+
}
|
|
321
|
+
else {
|
|
322
|
+
return this.send(command, optionsOrCb);
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
describeConnector(args, optionsOrCb, cb) {
|
|
326
|
+
const command = new DescribeConnectorCommand_1.DescribeConnectorCommand(args);
|
|
327
|
+
if (typeof optionsOrCb === "function") {
|
|
328
|
+
this.send(command, optionsOrCb);
|
|
329
|
+
}
|
|
330
|
+
else if (typeof cb === "function") {
|
|
331
|
+
if (typeof optionsOrCb !== "object")
|
|
332
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
333
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
334
|
+
}
|
|
335
|
+
else {
|
|
336
|
+
return this.send(command, optionsOrCb);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
178
339
|
describeExecution(args, optionsOrCb, cb) {
|
|
179
340
|
const command = new DescribeExecutionCommand_1.DescribeExecutionCommand(args);
|
|
180
341
|
if (typeof optionsOrCb === "function") {
|
|
@@ -189,6 +350,20 @@ class Transfer extends TransferClient_1.TransferClient {
|
|
|
189
350
|
return this.send(command, optionsOrCb);
|
|
190
351
|
}
|
|
191
352
|
}
|
|
353
|
+
describeProfile(args, optionsOrCb, cb) {
|
|
354
|
+
const command = new DescribeProfileCommand_1.DescribeProfileCommand(args);
|
|
355
|
+
if (typeof optionsOrCb === "function") {
|
|
356
|
+
this.send(command, optionsOrCb);
|
|
357
|
+
}
|
|
358
|
+
else if (typeof cb === "function") {
|
|
359
|
+
if (typeof optionsOrCb !== "object")
|
|
360
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
361
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
362
|
+
}
|
|
363
|
+
else {
|
|
364
|
+
return this.send(command, optionsOrCb);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
192
367
|
describeSecurityPolicy(args, optionsOrCb, cb) {
|
|
193
368
|
const command = new DescribeSecurityPolicyCommand_1.DescribeSecurityPolicyCommand(args);
|
|
194
369
|
if (typeof optionsOrCb === "function") {
|
|
@@ -245,6 +420,20 @@ class Transfer extends TransferClient_1.TransferClient {
|
|
|
245
420
|
return this.send(command, optionsOrCb);
|
|
246
421
|
}
|
|
247
422
|
}
|
|
423
|
+
importCertificate(args, optionsOrCb, cb) {
|
|
424
|
+
const command = new ImportCertificateCommand_1.ImportCertificateCommand(args);
|
|
425
|
+
if (typeof optionsOrCb === "function") {
|
|
426
|
+
this.send(command, optionsOrCb);
|
|
427
|
+
}
|
|
428
|
+
else if (typeof cb === "function") {
|
|
429
|
+
if (typeof optionsOrCb !== "object")
|
|
430
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
431
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
432
|
+
}
|
|
433
|
+
else {
|
|
434
|
+
return this.send(command, optionsOrCb);
|
|
435
|
+
}
|
|
436
|
+
}
|
|
248
437
|
importSshPublicKey(args, optionsOrCb, cb) {
|
|
249
438
|
const command = new ImportSshPublicKeyCommand_1.ImportSshPublicKeyCommand(args);
|
|
250
439
|
if (typeof optionsOrCb === "function") {
|
|
@@ -273,6 +462,48 @@ class Transfer extends TransferClient_1.TransferClient {
|
|
|
273
462
|
return this.send(command, optionsOrCb);
|
|
274
463
|
}
|
|
275
464
|
}
|
|
465
|
+
listAgreements(args, optionsOrCb, cb) {
|
|
466
|
+
const command = new ListAgreementsCommand_1.ListAgreementsCommand(args);
|
|
467
|
+
if (typeof optionsOrCb === "function") {
|
|
468
|
+
this.send(command, optionsOrCb);
|
|
469
|
+
}
|
|
470
|
+
else if (typeof cb === "function") {
|
|
471
|
+
if (typeof optionsOrCb !== "object")
|
|
472
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
473
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
474
|
+
}
|
|
475
|
+
else {
|
|
476
|
+
return this.send(command, optionsOrCb);
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
listCertificates(args, optionsOrCb, cb) {
|
|
480
|
+
const command = new ListCertificatesCommand_1.ListCertificatesCommand(args);
|
|
481
|
+
if (typeof optionsOrCb === "function") {
|
|
482
|
+
this.send(command, optionsOrCb);
|
|
483
|
+
}
|
|
484
|
+
else if (typeof cb === "function") {
|
|
485
|
+
if (typeof optionsOrCb !== "object")
|
|
486
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
487
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
488
|
+
}
|
|
489
|
+
else {
|
|
490
|
+
return this.send(command, optionsOrCb);
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
listConnectors(args, optionsOrCb, cb) {
|
|
494
|
+
const command = new ListConnectorsCommand_1.ListConnectorsCommand(args);
|
|
495
|
+
if (typeof optionsOrCb === "function") {
|
|
496
|
+
this.send(command, optionsOrCb);
|
|
497
|
+
}
|
|
498
|
+
else if (typeof cb === "function") {
|
|
499
|
+
if (typeof optionsOrCb !== "object")
|
|
500
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
501
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
502
|
+
}
|
|
503
|
+
else {
|
|
504
|
+
return this.send(command, optionsOrCb);
|
|
505
|
+
}
|
|
506
|
+
}
|
|
276
507
|
listExecutions(args, optionsOrCb, cb) {
|
|
277
508
|
const command = new ListExecutionsCommand_1.ListExecutionsCommand(args);
|
|
278
509
|
if (typeof optionsOrCb === "function") {
|
|
@@ -287,6 +518,20 @@ class Transfer extends TransferClient_1.TransferClient {
|
|
|
287
518
|
return this.send(command, optionsOrCb);
|
|
288
519
|
}
|
|
289
520
|
}
|
|
521
|
+
listProfiles(args, optionsOrCb, cb) {
|
|
522
|
+
const command = new ListProfilesCommand_1.ListProfilesCommand(args);
|
|
523
|
+
if (typeof optionsOrCb === "function") {
|
|
524
|
+
this.send(command, optionsOrCb);
|
|
525
|
+
}
|
|
526
|
+
else if (typeof cb === "function") {
|
|
527
|
+
if (typeof optionsOrCb !== "object")
|
|
528
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
529
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
530
|
+
}
|
|
531
|
+
else {
|
|
532
|
+
return this.send(command, optionsOrCb);
|
|
533
|
+
}
|
|
534
|
+
}
|
|
290
535
|
listSecurityPolicies(args, optionsOrCb, cb) {
|
|
291
536
|
const command = new ListSecurityPoliciesCommand_1.ListSecurityPoliciesCommand(args);
|
|
292
537
|
if (typeof optionsOrCb === "function") {
|
|
@@ -371,6 +616,20 @@ class Transfer extends TransferClient_1.TransferClient {
|
|
|
371
616
|
return this.send(command, optionsOrCb);
|
|
372
617
|
}
|
|
373
618
|
}
|
|
619
|
+
startFileTransfer(args, optionsOrCb, cb) {
|
|
620
|
+
const command = new StartFileTransferCommand_1.StartFileTransferCommand(args);
|
|
621
|
+
if (typeof optionsOrCb === "function") {
|
|
622
|
+
this.send(command, optionsOrCb);
|
|
623
|
+
}
|
|
624
|
+
else if (typeof cb === "function") {
|
|
625
|
+
if (typeof optionsOrCb !== "object")
|
|
626
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
627
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
628
|
+
}
|
|
629
|
+
else {
|
|
630
|
+
return this.send(command, optionsOrCb);
|
|
631
|
+
}
|
|
632
|
+
}
|
|
374
633
|
startServer(args, optionsOrCb, cb) {
|
|
375
634
|
const command = new StartServerCommand_1.StartServerCommand(args);
|
|
376
635
|
if (typeof optionsOrCb === "function") {
|
|
@@ -455,6 +714,62 @@ class Transfer extends TransferClient_1.TransferClient {
|
|
|
455
714
|
return this.send(command, optionsOrCb);
|
|
456
715
|
}
|
|
457
716
|
}
|
|
717
|
+
updateAgreement(args, optionsOrCb, cb) {
|
|
718
|
+
const command = new UpdateAgreementCommand_1.UpdateAgreementCommand(args);
|
|
719
|
+
if (typeof optionsOrCb === "function") {
|
|
720
|
+
this.send(command, optionsOrCb);
|
|
721
|
+
}
|
|
722
|
+
else if (typeof cb === "function") {
|
|
723
|
+
if (typeof optionsOrCb !== "object")
|
|
724
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
725
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
726
|
+
}
|
|
727
|
+
else {
|
|
728
|
+
return this.send(command, optionsOrCb);
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
updateCertificate(args, optionsOrCb, cb) {
|
|
732
|
+
const command = new UpdateCertificateCommand_1.UpdateCertificateCommand(args);
|
|
733
|
+
if (typeof optionsOrCb === "function") {
|
|
734
|
+
this.send(command, optionsOrCb);
|
|
735
|
+
}
|
|
736
|
+
else if (typeof cb === "function") {
|
|
737
|
+
if (typeof optionsOrCb !== "object")
|
|
738
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
739
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
740
|
+
}
|
|
741
|
+
else {
|
|
742
|
+
return this.send(command, optionsOrCb);
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
updateConnector(args, optionsOrCb, cb) {
|
|
746
|
+
const command = new UpdateConnectorCommand_1.UpdateConnectorCommand(args);
|
|
747
|
+
if (typeof optionsOrCb === "function") {
|
|
748
|
+
this.send(command, optionsOrCb);
|
|
749
|
+
}
|
|
750
|
+
else if (typeof cb === "function") {
|
|
751
|
+
if (typeof optionsOrCb !== "object")
|
|
752
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
753
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
754
|
+
}
|
|
755
|
+
else {
|
|
756
|
+
return this.send(command, optionsOrCb);
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
updateProfile(args, optionsOrCb, cb) {
|
|
760
|
+
const command = new UpdateProfileCommand_1.UpdateProfileCommand(args);
|
|
761
|
+
if (typeof optionsOrCb === "function") {
|
|
762
|
+
this.send(command, optionsOrCb);
|
|
763
|
+
}
|
|
764
|
+
else if (typeof cb === "function") {
|
|
765
|
+
if (typeof optionsOrCb !== "object")
|
|
766
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
767
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
768
|
+
}
|
|
769
|
+
else {
|
|
770
|
+
return this.send(command, optionsOrCb);
|
|
771
|
+
}
|
|
772
|
+
}
|
|
458
773
|
updateServer(args, optionsOrCb, cb) {
|
|
459
774
|
const command = new UpdateServerCommand_1.UpdateServerCommand(args);
|
|
460
775
|
if (typeof optionsOrCb === "function") {
|
|
@@ -20,8 +20,8 @@ class CreateAccessCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateAccessRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateAccessResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateAgreementCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CreateAgreementCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "TransferClient";
|
|
18
|
+
const commandName = "CreateAgreementCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateAgreementRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateAgreementResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1CreateAgreementCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1CreateAgreementCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateAgreementCommand = CreateAgreementCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateConnectorCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CreateConnectorCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "TransferClient";
|
|
18
|
+
const commandName = "CreateConnectorCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateConnectorRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateConnectorResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1CreateConnectorCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1CreateConnectorCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateConnectorCommand = CreateConnectorCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateProfileCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CreateProfileCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "TransferClient";
|
|
18
|
+
const commandName = "CreateProfileCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateProfileRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateProfileResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1CreateProfileCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1CreateProfileCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateProfileCommand = CreateProfileCommand;
|
|
@@ -20,8 +20,8 @@ class CreateServerCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateServerRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateServerResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class CreateUserCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateUserRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateUserResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class CreateWorkflowCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateWorkflowRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateWorkflowResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,7 +20,7 @@ class DeleteAccessCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteAccessRequestFilterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteAgreementCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class DeleteAgreementCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "TransferClient";
|
|
18
|
+
const commandName = "DeleteAgreementCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteAgreementRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DeleteAgreementCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteAgreementCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteAgreementCommand = DeleteAgreementCommand;
|