@aws-sdk/client-transfer 3.131.0 → 3.142.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 +34 -0
- package/README.md +10 -10
- 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 +1840 -383
- 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 +2633 -716
- 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/dist-es/Transfer.js
CHANGED
|
@@ -1,34 +1,55 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { CreateAccessCommand, } from "./commands/CreateAccessCommand";
|
|
3
|
+
import { CreateAgreementCommand, } from "./commands/CreateAgreementCommand";
|
|
4
|
+
import { CreateConnectorCommand, } from "./commands/CreateConnectorCommand";
|
|
5
|
+
import { CreateProfileCommand, } from "./commands/CreateProfileCommand";
|
|
3
6
|
import { CreateServerCommand, } from "./commands/CreateServerCommand";
|
|
4
7
|
import { CreateUserCommand } from "./commands/CreateUserCommand";
|
|
5
8
|
import { CreateWorkflowCommand, } from "./commands/CreateWorkflowCommand";
|
|
6
9
|
import { DeleteAccessCommand, } from "./commands/DeleteAccessCommand";
|
|
10
|
+
import { DeleteAgreementCommand, } from "./commands/DeleteAgreementCommand";
|
|
11
|
+
import { DeleteCertificateCommand, } from "./commands/DeleteCertificateCommand";
|
|
12
|
+
import { DeleteConnectorCommand, } from "./commands/DeleteConnectorCommand";
|
|
13
|
+
import { DeleteProfileCommand, } from "./commands/DeleteProfileCommand";
|
|
7
14
|
import { DeleteServerCommand, } from "./commands/DeleteServerCommand";
|
|
8
15
|
import { DeleteSshPublicKeyCommand, } from "./commands/DeleteSshPublicKeyCommand";
|
|
9
16
|
import { DeleteUserCommand } from "./commands/DeleteUserCommand";
|
|
10
17
|
import { DeleteWorkflowCommand, } from "./commands/DeleteWorkflowCommand";
|
|
11
18
|
import { DescribeAccessCommand, } from "./commands/DescribeAccessCommand";
|
|
19
|
+
import { DescribeAgreementCommand, } from "./commands/DescribeAgreementCommand";
|
|
20
|
+
import { DescribeCertificateCommand, } from "./commands/DescribeCertificateCommand";
|
|
21
|
+
import { DescribeConnectorCommand, } from "./commands/DescribeConnectorCommand";
|
|
12
22
|
import { DescribeExecutionCommand, } from "./commands/DescribeExecutionCommand";
|
|
23
|
+
import { DescribeProfileCommand, } from "./commands/DescribeProfileCommand";
|
|
13
24
|
import { DescribeSecurityPolicyCommand, } from "./commands/DescribeSecurityPolicyCommand";
|
|
14
25
|
import { DescribeServerCommand, } from "./commands/DescribeServerCommand";
|
|
15
26
|
import { DescribeUserCommand, } from "./commands/DescribeUserCommand";
|
|
16
27
|
import { DescribeWorkflowCommand, } from "./commands/DescribeWorkflowCommand";
|
|
28
|
+
import { ImportCertificateCommand, } from "./commands/ImportCertificateCommand";
|
|
17
29
|
import { ImportSshPublicKeyCommand, } from "./commands/ImportSshPublicKeyCommand";
|
|
18
30
|
import { ListAccessesCommand, } from "./commands/ListAccessesCommand";
|
|
31
|
+
import { ListAgreementsCommand, } from "./commands/ListAgreementsCommand";
|
|
32
|
+
import { ListCertificatesCommand, } from "./commands/ListCertificatesCommand";
|
|
33
|
+
import { ListConnectorsCommand, } from "./commands/ListConnectorsCommand";
|
|
19
34
|
import { ListExecutionsCommand, } from "./commands/ListExecutionsCommand";
|
|
35
|
+
import { ListProfilesCommand, } from "./commands/ListProfilesCommand";
|
|
20
36
|
import { ListSecurityPoliciesCommand, } from "./commands/ListSecurityPoliciesCommand";
|
|
21
37
|
import { ListServersCommand } from "./commands/ListServersCommand";
|
|
22
38
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
23
39
|
import { ListUsersCommand } from "./commands/ListUsersCommand";
|
|
24
40
|
import { ListWorkflowsCommand, } from "./commands/ListWorkflowsCommand";
|
|
25
41
|
import { SendWorkflowStepStateCommand, } from "./commands/SendWorkflowStepStateCommand";
|
|
42
|
+
import { StartFileTransferCommand, } from "./commands/StartFileTransferCommand";
|
|
26
43
|
import { StartServerCommand } from "./commands/StartServerCommand";
|
|
27
44
|
import { StopServerCommand } from "./commands/StopServerCommand";
|
|
28
45
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
29
46
|
import { TestIdentityProviderCommand, } from "./commands/TestIdentityProviderCommand";
|
|
30
47
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
31
48
|
import { UpdateAccessCommand, } from "./commands/UpdateAccessCommand";
|
|
49
|
+
import { UpdateAgreementCommand, } from "./commands/UpdateAgreementCommand";
|
|
50
|
+
import { UpdateCertificateCommand, } from "./commands/UpdateCertificateCommand";
|
|
51
|
+
import { UpdateConnectorCommand, } from "./commands/UpdateConnectorCommand";
|
|
52
|
+
import { UpdateProfileCommand, } from "./commands/UpdateProfileCommand";
|
|
32
53
|
import { UpdateServerCommand, } from "./commands/UpdateServerCommand";
|
|
33
54
|
import { UpdateUserCommand } from "./commands/UpdateUserCommand";
|
|
34
55
|
import { TransferClient } from "./TransferClient";
|
|
@@ -51,6 +72,48 @@ var Transfer = (function (_super) {
|
|
|
51
72
|
return this.send(command, optionsOrCb);
|
|
52
73
|
}
|
|
53
74
|
};
|
|
75
|
+
Transfer.prototype.createAgreement = function (args, optionsOrCb, cb) {
|
|
76
|
+
var command = new CreateAgreementCommand(args);
|
|
77
|
+
if (typeof optionsOrCb === "function") {
|
|
78
|
+
this.send(command, optionsOrCb);
|
|
79
|
+
}
|
|
80
|
+
else if (typeof cb === "function") {
|
|
81
|
+
if (typeof optionsOrCb !== "object")
|
|
82
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
83
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
return this.send(command, optionsOrCb);
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
Transfer.prototype.createConnector = function (args, optionsOrCb, cb) {
|
|
90
|
+
var command = new CreateConnectorCommand(args);
|
|
91
|
+
if (typeof optionsOrCb === "function") {
|
|
92
|
+
this.send(command, optionsOrCb);
|
|
93
|
+
}
|
|
94
|
+
else if (typeof cb === "function") {
|
|
95
|
+
if (typeof optionsOrCb !== "object")
|
|
96
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
97
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
return this.send(command, optionsOrCb);
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
Transfer.prototype.createProfile = function (args, optionsOrCb, cb) {
|
|
104
|
+
var command = new CreateProfileCommand(args);
|
|
105
|
+
if (typeof optionsOrCb === "function") {
|
|
106
|
+
this.send(command, optionsOrCb);
|
|
107
|
+
}
|
|
108
|
+
else if (typeof cb === "function") {
|
|
109
|
+
if (typeof optionsOrCb !== "object")
|
|
110
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
111
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
112
|
+
}
|
|
113
|
+
else {
|
|
114
|
+
return this.send(command, optionsOrCb);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
54
117
|
Transfer.prototype.createServer = function (args, optionsOrCb, cb) {
|
|
55
118
|
var command = new CreateServerCommand(args);
|
|
56
119
|
if (typeof optionsOrCb === "function") {
|
|
@@ -107,6 +170,62 @@ var Transfer = (function (_super) {
|
|
|
107
170
|
return this.send(command, optionsOrCb);
|
|
108
171
|
}
|
|
109
172
|
};
|
|
173
|
+
Transfer.prototype.deleteAgreement = function (args, optionsOrCb, cb) {
|
|
174
|
+
var command = new DeleteAgreementCommand(args);
|
|
175
|
+
if (typeof optionsOrCb === "function") {
|
|
176
|
+
this.send(command, optionsOrCb);
|
|
177
|
+
}
|
|
178
|
+
else if (typeof cb === "function") {
|
|
179
|
+
if (typeof optionsOrCb !== "object")
|
|
180
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
181
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
return this.send(command, optionsOrCb);
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
Transfer.prototype.deleteCertificate = function (args, optionsOrCb, cb) {
|
|
188
|
+
var command = new DeleteCertificateCommand(args);
|
|
189
|
+
if (typeof optionsOrCb === "function") {
|
|
190
|
+
this.send(command, optionsOrCb);
|
|
191
|
+
}
|
|
192
|
+
else if (typeof cb === "function") {
|
|
193
|
+
if (typeof optionsOrCb !== "object")
|
|
194
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
195
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
196
|
+
}
|
|
197
|
+
else {
|
|
198
|
+
return this.send(command, optionsOrCb);
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
Transfer.prototype.deleteConnector = function (args, optionsOrCb, cb) {
|
|
202
|
+
var command = new DeleteConnectorCommand(args);
|
|
203
|
+
if (typeof optionsOrCb === "function") {
|
|
204
|
+
this.send(command, optionsOrCb);
|
|
205
|
+
}
|
|
206
|
+
else if (typeof cb === "function") {
|
|
207
|
+
if (typeof optionsOrCb !== "object")
|
|
208
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
209
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
210
|
+
}
|
|
211
|
+
else {
|
|
212
|
+
return this.send(command, optionsOrCb);
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
Transfer.prototype.deleteProfile = function (args, optionsOrCb, cb) {
|
|
216
|
+
var command = new DeleteProfileCommand(args);
|
|
217
|
+
if (typeof optionsOrCb === "function") {
|
|
218
|
+
this.send(command, optionsOrCb);
|
|
219
|
+
}
|
|
220
|
+
else if (typeof cb === "function") {
|
|
221
|
+
if (typeof optionsOrCb !== "object")
|
|
222
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
223
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
224
|
+
}
|
|
225
|
+
else {
|
|
226
|
+
return this.send(command, optionsOrCb);
|
|
227
|
+
}
|
|
228
|
+
};
|
|
110
229
|
Transfer.prototype.deleteServer = function (args, optionsOrCb, cb) {
|
|
111
230
|
var command = new DeleteServerCommand(args);
|
|
112
231
|
if (typeof optionsOrCb === "function") {
|
|
@@ -177,6 +296,48 @@ var Transfer = (function (_super) {
|
|
|
177
296
|
return this.send(command, optionsOrCb);
|
|
178
297
|
}
|
|
179
298
|
};
|
|
299
|
+
Transfer.prototype.describeAgreement = function (args, optionsOrCb, cb) {
|
|
300
|
+
var command = new DescribeAgreementCommand(args);
|
|
301
|
+
if (typeof optionsOrCb === "function") {
|
|
302
|
+
this.send(command, optionsOrCb);
|
|
303
|
+
}
|
|
304
|
+
else if (typeof cb === "function") {
|
|
305
|
+
if (typeof optionsOrCb !== "object")
|
|
306
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
307
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
308
|
+
}
|
|
309
|
+
else {
|
|
310
|
+
return this.send(command, optionsOrCb);
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
Transfer.prototype.describeCertificate = function (args, optionsOrCb, cb) {
|
|
314
|
+
var command = new DescribeCertificateCommand(args);
|
|
315
|
+
if (typeof optionsOrCb === "function") {
|
|
316
|
+
this.send(command, optionsOrCb);
|
|
317
|
+
}
|
|
318
|
+
else if (typeof cb === "function") {
|
|
319
|
+
if (typeof optionsOrCb !== "object")
|
|
320
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
321
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
322
|
+
}
|
|
323
|
+
else {
|
|
324
|
+
return this.send(command, optionsOrCb);
|
|
325
|
+
}
|
|
326
|
+
};
|
|
327
|
+
Transfer.prototype.describeConnector = function (args, optionsOrCb, cb) {
|
|
328
|
+
var command = new DescribeConnectorCommand(args);
|
|
329
|
+
if (typeof optionsOrCb === "function") {
|
|
330
|
+
this.send(command, optionsOrCb);
|
|
331
|
+
}
|
|
332
|
+
else if (typeof cb === "function") {
|
|
333
|
+
if (typeof optionsOrCb !== "object")
|
|
334
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
335
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
336
|
+
}
|
|
337
|
+
else {
|
|
338
|
+
return this.send(command, optionsOrCb);
|
|
339
|
+
}
|
|
340
|
+
};
|
|
180
341
|
Transfer.prototype.describeExecution = function (args, optionsOrCb, cb) {
|
|
181
342
|
var command = new DescribeExecutionCommand(args);
|
|
182
343
|
if (typeof optionsOrCb === "function") {
|
|
@@ -191,6 +352,20 @@ var Transfer = (function (_super) {
|
|
|
191
352
|
return this.send(command, optionsOrCb);
|
|
192
353
|
}
|
|
193
354
|
};
|
|
355
|
+
Transfer.prototype.describeProfile = function (args, optionsOrCb, cb) {
|
|
356
|
+
var command = new DescribeProfileCommand(args);
|
|
357
|
+
if (typeof optionsOrCb === "function") {
|
|
358
|
+
this.send(command, optionsOrCb);
|
|
359
|
+
}
|
|
360
|
+
else if (typeof cb === "function") {
|
|
361
|
+
if (typeof optionsOrCb !== "object")
|
|
362
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
363
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
364
|
+
}
|
|
365
|
+
else {
|
|
366
|
+
return this.send(command, optionsOrCb);
|
|
367
|
+
}
|
|
368
|
+
};
|
|
194
369
|
Transfer.prototype.describeSecurityPolicy = function (args, optionsOrCb, cb) {
|
|
195
370
|
var command = new DescribeSecurityPolicyCommand(args);
|
|
196
371
|
if (typeof optionsOrCb === "function") {
|
|
@@ -247,6 +422,20 @@ var Transfer = (function (_super) {
|
|
|
247
422
|
return this.send(command, optionsOrCb);
|
|
248
423
|
}
|
|
249
424
|
};
|
|
425
|
+
Transfer.prototype.importCertificate = function (args, optionsOrCb, cb) {
|
|
426
|
+
var command = new ImportCertificateCommand(args);
|
|
427
|
+
if (typeof optionsOrCb === "function") {
|
|
428
|
+
this.send(command, optionsOrCb);
|
|
429
|
+
}
|
|
430
|
+
else if (typeof cb === "function") {
|
|
431
|
+
if (typeof optionsOrCb !== "object")
|
|
432
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
433
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
434
|
+
}
|
|
435
|
+
else {
|
|
436
|
+
return this.send(command, optionsOrCb);
|
|
437
|
+
}
|
|
438
|
+
};
|
|
250
439
|
Transfer.prototype.importSshPublicKey = function (args, optionsOrCb, cb) {
|
|
251
440
|
var command = new ImportSshPublicKeyCommand(args);
|
|
252
441
|
if (typeof optionsOrCb === "function") {
|
|
@@ -275,6 +464,48 @@ var Transfer = (function (_super) {
|
|
|
275
464
|
return this.send(command, optionsOrCb);
|
|
276
465
|
}
|
|
277
466
|
};
|
|
467
|
+
Transfer.prototype.listAgreements = function (args, optionsOrCb, cb) {
|
|
468
|
+
var command = new ListAgreementsCommand(args);
|
|
469
|
+
if (typeof optionsOrCb === "function") {
|
|
470
|
+
this.send(command, optionsOrCb);
|
|
471
|
+
}
|
|
472
|
+
else if (typeof cb === "function") {
|
|
473
|
+
if (typeof optionsOrCb !== "object")
|
|
474
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
475
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
476
|
+
}
|
|
477
|
+
else {
|
|
478
|
+
return this.send(command, optionsOrCb);
|
|
479
|
+
}
|
|
480
|
+
};
|
|
481
|
+
Transfer.prototype.listCertificates = function (args, optionsOrCb, cb) {
|
|
482
|
+
var command = new ListCertificatesCommand(args);
|
|
483
|
+
if (typeof optionsOrCb === "function") {
|
|
484
|
+
this.send(command, optionsOrCb);
|
|
485
|
+
}
|
|
486
|
+
else if (typeof cb === "function") {
|
|
487
|
+
if (typeof optionsOrCb !== "object")
|
|
488
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
489
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
490
|
+
}
|
|
491
|
+
else {
|
|
492
|
+
return this.send(command, optionsOrCb);
|
|
493
|
+
}
|
|
494
|
+
};
|
|
495
|
+
Transfer.prototype.listConnectors = function (args, optionsOrCb, cb) {
|
|
496
|
+
var command = new ListConnectorsCommand(args);
|
|
497
|
+
if (typeof optionsOrCb === "function") {
|
|
498
|
+
this.send(command, optionsOrCb);
|
|
499
|
+
}
|
|
500
|
+
else if (typeof cb === "function") {
|
|
501
|
+
if (typeof optionsOrCb !== "object")
|
|
502
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
503
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
504
|
+
}
|
|
505
|
+
else {
|
|
506
|
+
return this.send(command, optionsOrCb);
|
|
507
|
+
}
|
|
508
|
+
};
|
|
278
509
|
Transfer.prototype.listExecutions = function (args, optionsOrCb, cb) {
|
|
279
510
|
var command = new ListExecutionsCommand(args);
|
|
280
511
|
if (typeof optionsOrCb === "function") {
|
|
@@ -289,6 +520,20 @@ var Transfer = (function (_super) {
|
|
|
289
520
|
return this.send(command, optionsOrCb);
|
|
290
521
|
}
|
|
291
522
|
};
|
|
523
|
+
Transfer.prototype.listProfiles = function (args, optionsOrCb, cb) {
|
|
524
|
+
var command = new ListProfilesCommand(args);
|
|
525
|
+
if (typeof optionsOrCb === "function") {
|
|
526
|
+
this.send(command, optionsOrCb);
|
|
527
|
+
}
|
|
528
|
+
else if (typeof cb === "function") {
|
|
529
|
+
if (typeof optionsOrCb !== "object")
|
|
530
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
531
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
532
|
+
}
|
|
533
|
+
else {
|
|
534
|
+
return this.send(command, optionsOrCb);
|
|
535
|
+
}
|
|
536
|
+
};
|
|
292
537
|
Transfer.prototype.listSecurityPolicies = function (args, optionsOrCb, cb) {
|
|
293
538
|
var command = new ListSecurityPoliciesCommand(args);
|
|
294
539
|
if (typeof optionsOrCb === "function") {
|
|
@@ -373,6 +618,20 @@ var Transfer = (function (_super) {
|
|
|
373
618
|
return this.send(command, optionsOrCb);
|
|
374
619
|
}
|
|
375
620
|
};
|
|
621
|
+
Transfer.prototype.startFileTransfer = function (args, optionsOrCb, cb) {
|
|
622
|
+
var command = new StartFileTransferCommand(args);
|
|
623
|
+
if (typeof optionsOrCb === "function") {
|
|
624
|
+
this.send(command, optionsOrCb);
|
|
625
|
+
}
|
|
626
|
+
else if (typeof cb === "function") {
|
|
627
|
+
if (typeof optionsOrCb !== "object")
|
|
628
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
629
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
630
|
+
}
|
|
631
|
+
else {
|
|
632
|
+
return this.send(command, optionsOrCb);
|
|
633
|
+
}
|
|
634
|
+
};
|
|
376
635
|
Transfer.prototype.startServer = function (args, optionsOrCb, cb) {
|
|
377
636
|
var command = new StartServerCommand(args);
|
|
378
637
|
if (typeof optionsOrCb === "function") {
|
|
@@ -457,6 +716,62 @@ var Transfer = (function (_super) {
|
|
|
457
716
|
return this.send(command, optionsOrCb);
|
|
458
717
|
}
|
|
459
718
|
};
|
|
719
|
+
Transfer.prototype.updateAgreement = function (args, optionsOrCb, cb) {
|
|
720
|
+
var command = new UpdateAgreementCommand(args);
|
|
721
|
+
if (typeof optionsOrCb === "function") {
|
|
722
|
+
this.send(command, optionsOrCb);
|
|
723
|
+
}
|
|
724
|
+
else if (typeof cb === "function") {
|
|
725
|
+
if (typeof optionsOrCb !== "object")
|
|
726
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
727
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
728
|
+
}
|
|
729
|
+
else {
|
|
730
|
+
return this.send(command, optionsOrCb);
|
|
731
|
+
}
|
|
732
|
+
};
|
|
733
|
+
Transfer.prototype.updateCertificate = function (args, optionsOrCb, cb) {
|
|
734
|
+
var command = new UpdateCertificateCommand(args);
|
|
735
|
+
if (typeof optionsOrCb === "function") {
|
|
736
|
+
this.send(command, optionsOrCb);
|
|
737
|
+
}
|
|
738
|
+
else if (typeof cb === "function") {
|
|
739
|
+
if (typeof optionsOrCb !== "object")
|
|
740
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
741
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
742
|
+
}
|
|
743
|
+
else {
|
|
744
|
+
return this.send(command, optionsOrCb);
|
|
745
|
+
}
|
|
746
|
+
};
|
|
747
|
+
Transfer.prototype.updateConnector = function (args, optionsOrCb, cb) {
|
|
748
|
+
var command = new UpdateConnectorCommand(args);
|
|
749
|
+
if (typeof optionsOrCb === "function") {
|
|
750
|
+
this.send(command, optionsOrCb);
|
|
751
|
+
}
|
|
752
|
+
else if (typeof cb === "function") {
|
|
753
|
+
if (typeof optionsOrCb !== "object")
|
|
754
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
755
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
756
|
+
}
|
|
757
|
+
else {
|
|
758
|
+
return this.send(command, optionsOrCb);
|
|
759
|
+
}
|
|
760
|
+
};
|
|
761
|
+
Transfer.prototype.updateProfile = function (args, optionsOrCb, cb) {
|
|
762
|
+
var command = new UpdateProfileCommand(args);
|
|
763
|
+
if (typeof optionsOrCb === "function") {
|
|
764
|
+
this.send(command, optionsOrCb);
|
|
765
|
+
}
|
|
766
|
+
else if (typeof cb === "function") {
|
|
767
|
+
if (typeof optionsOrCb !== "object")
|
|
768
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
769
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
770
|
+
}
|
|
771
|
+
else {
|
|
772
|
+
return this.send(command, optionsOrCb);
|
|
773
|
+
}
|
|
774
|
+
};
|
|
460
775
|
Transfer.prototype.updateServer = function (args, optionsOrCb, cb) {
|
|
461
776
|
var command = new UpdateServerCommand(args);
|
|
462
777
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateAccessRequestFilterSensitiveLog, CreateAccessResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1CreateAccessCommand, serializeAws_json1_1CreateAccessCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var CreateAccessCommand = (function (_super) {
|
|
7
7
|
__extends(CreateAccessCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateAccessCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateAccessRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateAccessResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateAgreementRequestFilterSensitiveLog, CreateAgreementResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateAgreementCommand, serializeAws_json1_1CreateAgreementCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateAgreementCommand = (function (_super) {
|
|
7
|
+
__extends(CreateAgreementCommand, _super);
|
|
8
|
+
function CreateAgreementCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateAgreementCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "TransferClient";
|
|
18
|
+
var commandName = "CreateAgreementCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateAgreementRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateAgreementResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateAgreementCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1CreateAgreementCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateAgreementCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1CreateAgreementCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateAgreementCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateAgreementCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateConnectorRequestFilterSensitiveLog, CreateConnectorResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateConnectorCommand, serializeAws_json1_1CreateConnectorCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateConnectorCommand = (function (_super) {
|
|
7
|
+
__extends(CreateConnectorCommand, _super);
|
|
8
|
+
function CreateConnectorCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateConnectorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "TransferClient";
|
|
18
|
+
var commandName = "CreateConnectorCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateConnectorRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateConnectorResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateConnectorCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1CreateConnectorCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateConnectorCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1CreateConnectorCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateConnectorCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateConnectorCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateProfileRequestFilterSensitiveLog, CreateProfileResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateProfileCommand, serializeAws_json1_1CreateProfileCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateProfileCommand = (function (_super) {
|
|
7
|
+
__extends(CreateProfileCommand, _super);
|
|
8
|
+
function CreateProfileCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "TransferClient";
|
|
18
|
+
var commandName = "CreateProfileCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateProfileRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateProfileResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateProfileCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1CreateProfileCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateProfileCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1CreateProfileCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateProfileCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateProfileCommand };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateServerRequestFilterSensitiveLog, CreateServerResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1CreateServerCommand, serializeAws_json1_1CreateServerCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var CreateServerCommand = (function (_super) {
|
|
7
7
|
__extends(CreateServerCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateServerCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateServerRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateServerResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateUserRequestFilterSensitiveLog, CreateUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1CreateUserCommand, serializeAws_json1_1CreateUserCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var CreateUserCommand = (function (_super) {
|
|
7
7
|
__extends(CreateUserCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateUserCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateUserRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateUserResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateWorkflowRequestFilterSensitiveLog, CreateWorkflowResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1CreateWorkflowCommand, serializeAws_json1_1CreateWorkflowCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var CreateWorkflowCommand = (function (_super) {
|
|
7
7
|
__extends(CreateWorkflowCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateWorkflowCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateWorkflowRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateWorkflowResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteAccessRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DeleteAccessCommand, serializeAws_json1_1DeleteAccessCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DeleteAccessCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteAccessCommand, _super);
|
|
@@ -20,7 +20,7 @@ var DeleteAccessCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteAccessRequestFilterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: function (output) { return output; },
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|