@aws-sdk/client-transfer 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/Transfer.js +241 -234
- package/dist-es/TransferClient.js +28 -22
- package/dist-es/commands/CreateAccessCommand.js +28 -21
- package/dist-es/commands/CreateAgreementCommand.js +28 -21
- package/dist-es/commands/CreateConnectorCommand.js +28 -21
- package/dist-es/commands/CreateProfileCommand.js +28 -21
- package/dist-es/commands/CreateServerCommand.js +28 -21
- package/dist-es/commands/CreateUserCommand.js +28 -21
- package/dist-es/commands/CreateWorkflowCommand.js +28 -21
- package/dist-es/commands/DeleteAccessCommand.js +29 -22
- package/dist-es/commands/DeleteAgreementCommand.js +29 -22
- package/dist-es/commands/DeleteCertificateCommand.js +29 -22
- package/dist-es/commands/DeleteConnectorCommand.js +29 -22
- package/dist-es/commands/DeleteHostKeyCommand.js +29 -22
- package/dist-es/commands/DeleteProfileCommand.js +29 -22
- package/dist-es/commands/DeleteServerCommand.js +29 -22
- package/dist-es/commands/DeleteSshPublicKeyCommand.js +29 -22
- package/dist-es/commands/DeleteUserCommand.js +29 -22
- package/dist-es/commands/DeleteWorkflowCommand.js +29 -22
- package/dist-es/commands/DescribeAccessCommand.js +28 -21
- package/dist-es/commands/DescribeAgreementCommand.js +28 -21
- package/dist-es/commands/DescribeCertificateCommand.js +28 -21
- package/dist-es/commands/DescribeConnectorCommand.js +28 -21
- package/dist-es/commands/DescribeExecutionCommand.js +28 -21
- package/dist-es/commands/DescribeHostKeyCommand.js +28 -21
- package/dist-es/commands/DescribeProfileCommand.js +28 -21
- package/dist-es/commands/DescribeSecurityPolicyCommand.js +28 -21
- package/dist-es/commands/DescribeServerCommand.js +28 -21
- package/dist-es/commands/DescribeUserCommand.js +28 -21
- package/dist-es/commands/DescribeWorkflowCommand.js +28 -21
- package/dist-es/commands/ImportCertificateCommand.js +28 -21
- package/dist-es/commands/ImportHostKeyCommand.js +28 -21
- package/dist-es/commands/ImportSshPublicKeyCommand.js +28 -21
- package/dist-es/commands/ListAccessesCommand.js +28 -21
- package/dist-es/commands/ListAgreementsCommand.js +28 -21
- package/dist-es/commands/ListCertificatesCommand.js +28 -21
- package/dist-es/commands/ListConnectorsCommand.js +28 -21
- package/dist-es/commands/ListExecutionsCommand.js +28 -21
- package/dist-es/commands/ListHostKeysCommand.js +28 -21
- package/dist-es/commands/ListProfilesCommand.js +28 -21
- package/dist-es/commands/ListSecurityPoliciesCommand.js +28 -21
- package/dist-es/commands/ListServersCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListUsersCommand.js +28 -21
- package/dist-es/commands/ListWorkflowsCommand.js +28 -21
- package/dist-es/commands/SendWorkflowStepStateCommand.js +28 -21
- package/dist-es/commands/StartFileTransferCommand.js +28 -21
- package/dist-es/commands/StartServerCommand.js +29 -22
- package/dist-es/commands/StopServerCommand.js +29 -22
- package/dist-es/commands/TagResourceCommand.js +29 -22
- package/dist-es/commands/TestIdentityProviderCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +29 -22
- package/dist-es/commands/UpdateAccessCommand.js +28 -21
- package/dist-es/commands/UpdateAgreementCommand.js +28 -21
- package/dist-es/commands/UpdateCertificateCommand.js +28 -21
- package/dist-es/commands/UpdateConnectorCommand.js +28 -21
- package/dist-es/commands/UpdateHostKeyCommand.js +28 -21
- package/dist-es/commands/UpdateProfileCommand.js +28 -21
- package/dist-es/commands/UpdateServerCommand.js +28 -21
- package/dist-es/commands/UpdateUserCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/TransferServiceException.js +10 -5
- package/dist-es/models/models_0.js +263 -572
- package/dist-es/pagination/ListAccessesPaginator.js +68 -25
- package/dist-es/pagination/ListAgreementsPaginator.js +68 -25
- package/dist-es/pagination/ListCertificatesPaginator.js +68 -25
- package/dist-es/pagination/ListConnectorsPaginator.js +68 -25
- package/dist-es/pagination/ListExecutionsPaginator.js +68 -25
- package/dist-es/pagination/ListProfilesPaginator.js +68 -25
- package/dist-es/pagination/ListSecurityPoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListServersPaginator.js +68 -25
- package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
- package/dist-es/pagination/ListUsersPaginator.js +68 -25
- package/dist-es/pagination/ListWorkflowsPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +5067 -3961
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-es/waiters/waitForServerOffline.js +56 -36
- package/dist-es/waiters/waitForServerOnline.js +56 -36
- package/package.json +5 -5
package/dist-es/Transfer.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { CreateAccessCommand, } from "./commands/CreateAccessCommand";
|
|
2
3
|
import { CreateAgreementCommand, } from "./commands/CreateAgreementCommand";
|
|
3
4
|
import { CreateConnectorCommand, } from "./commands/CreateConnectorCommand";
|
|
@@ -57,817 +58,823 @@ import { UpdateProfileCommand, } from "./commands/UpdateProfileCommand";
|
|
|
57
58
|
import { UpdateServerCommand, } from "./commands/UpdateServerCommand";
|
|
58
59
|
import { UpdateUserCommand } from "./commands/UpdateUserCommand";
|
|
59
60
|
import { TransferClient } from "./TransferClient";
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
var Transfer = (function (_super) {
|
|
62
|
+
__extends(Transfer, _super);
|
|
63
|
+
function Transfer() {
|
|
64
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
65
|
+
}
|
|
66
|
+
Transfer.prototype.createAccess = function (args, optionsOrCb, cb) {
|
|
67
|
+
var command = new CreateAccessCommand(args);
|
|
63
68
|
if (typeof optionsOrCb === "function") {
|
|
64
69
|
this.send(command, optionsOrCb);
|
|
65
70
|
}
|
|
66
71
|
else if (typeof cb === "function") {
|
|
67
72
|
if (typeof optionsOrCb !== "object")
|
|
68
|
-
throw new Error(
|
|
73
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
69
74
|
this.send(command, optionsOrCb || {}, cb);
|
|
70
75
|
}
|
|
71
76
|
else {
|
|
72
77
|
return this.send(command, optionsOrCb);
|
|
73
78
|
}
|
|
74
|
-
}
|
|
75
|
-
createAgreement(args, optionsOrCb, cb) {
|
|
76
|
-
|
|
79
|
+
};
|
|
80
|
+
Transfer.prototype.createAgreement = function (args, optionsOrCb, cb) {
|
|
81
|
+
var command = new CreateAgreementCommand(args);
|
|
77
82
|
if (typeof optionsOrCb === "function") {
|
|
78
83
|
this.send(command, optionsOrCb);
|
|
79
84
|
}
|
|
80
85
|
else if (typeof cb === "function") {
|
|
81
86
|
if (typeof optionsOrCb !== "object")
|
|
82
|
-
throw new Error(
|
|
87
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
83
88
|
this.send(command, optionsOrCb || {}, cb);
|
|
84
89
|
}
|
|
85
90
|
else {
|
|
86
91
|
return this.send(command, optionsOrCb);
|
|
87
92
|
}
|
|
88
|
-
}
|
|
89
|
-
createConnector(args, optionsOrCb, cb) {
|
|
90
|
-
|
|
93
|
+
};
|
|
94
|
+
Transfer.prototype.createConnector = function (args, optionsOrCb, cb) {
|
|
95
|
+
var command = new CreateConnectorCommand(args);
|
|
91
96
|
if (typeof optionsOrCb === "function") {
|
|
92
97
|
this.send(command, optionsOrCb);
|
|
93
98
|
}
|
|
94
99
|
else if (typeof cb === "function") {
|
|
95
100
|
if (typeof optionsOrCb !== "object")
|
|
96
|
-
throw new Error(
|
|
101
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
97
102
|
this.send(command, optionsOrCb || {}, cb);
|
|
98
103
|
}
|
|
99
104
|
else {
|
|
100
105
|
return this.send(command, optionsOrCb);
|
|
101
106
|
}
|
|
102
|
-
}
|
|
103
|
-
createProfile(args, optionsOrCb, cb) {
|
|
104
|
-
|
|
107
|
+
};
|
|
108
|
+
Transfer.prototype.createProfile = function (args, optionsOrCb, cb) {
|
|
109
|
+
var command = new CreateProfileCommand(args);
|
|
105
110
|
if (typeof optionsOrCb === "function") {
|
|
106
111
|
this.send(command, optionsOrCb);
|
|
107
112
|
}
|
|
108
113
|
else if (typeof cb === "function") {
|
|
109
114
|
if (typeof optionsOrCb !== "object")
|
|
110
|
-
throw new Error(
|
|
115
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
111
116
|
this.send(command, optionsOrCb || {}, cb);
|
|
112
117
|
}
|
|
113
118
|
else {
|
|
114
119
|
return this.send(command, optionsOrCb);
|
|
115
120
|
}
|
|
116
|
-
}
|
|
117
|
-
createServer(args, optionsOrCb, cb) {
|
|
118
|
-
|
|
121
|
+
};
|
|
122
|
+
Transfer.prototype.createServer = function (args, optionsOrCb, cb) {
|
|
123
|
+
var command = new CreateServerCommand(args);
|
|
119
124
|
if (typeof optionsOrCb === "function") {
|
|
120
125
|
this.send(command, optionsOrCb);
|
|
121
126
|
}
|
|
122
127
|
else if (typeof cb === "function") {
|
|
123
128
|
if (typeof optionsOrCb !== "object")
|
|
124
|
-
throw new Error(
|
|
129
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
125
130
|
this.send(command, optionsOrCb || {}, cb);
|
|
126
131
|
}
|
|
127
132
|
else {
|
|
128
133
|
return this.send(command, optionsOrCb);
|
|
129
134
|
}
|
|
130
|
-
}
|
|
131
|
-
createUser(args, optionsOrCb, cb) {
|
|
132
|
-
|
|
135
|
+
};
|
|
136
|
+
Transfer.prototype.createUser = function (args, optionsOrCb, cb) {
|
|
137
|
+
var command = new CreateUserCommand(args);
|
|
133
138
|
if (typeof optionsOrCb === "function") {
|
|
134
139
|
this.send(command, optionsOrCb);
|
|
135
140
|
}
|
|
136
141
|
else if (typeof cb === "function") {
|
|
137
142
|
if (typeof optionsOrCb !== "object")
|
|
138
|
-
throw new Error(
|
|
143
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
139
144
|
this.send(command, optionsOrCb || {}, cb);
|
|
140
145
|
}
|
|
141
146
|
else {
|
|
142
147
|
return this.send(command, optionsOrCb);
|
|
143
148
|
}
|
|
144
|
-
}
|
|
145
|
-
createWorkflow(args, optionsOrCb, cb) {
|
|
146
|
-
|
|
149
|
+
};
|
|
150
|
+
Transfer.prototype.createWorkflow = function (args, optionsOrCb, cb) {
|
|
151
|
+
var command = new CreateWorkflowCommand(args);
|
|
147
152
|
if (typeof optionsOrCb === "function") {
|
|
148
153
|
this.send(command, optionsOrCb);
|
|
149
154
|
}
|
|
150
155
|
else if (typeof cb === "function") {
|
|
151
156
|
if (typeof optionsOrCb !== "object")
|
|
152
|
-
throw new Error(
|
|
157
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
153
158
|
this.send(command, optionsOrCb || {}, cb);
|
|
154
159
|
}
|
|
155
160
|
else {
|
|
156
161
|
return this.send(command, optionsOrCb);
|
|
157
162
|
}
|
|
158
|
-
}
|
|
159
|
-
deleteAccess(args, optionsOrCb, cb) {
|
|
160
|
-
|
|
163
|
+
};
|
|
164
|
+
Transfer.prototype.deleteAccess = function (args, optionsOrCb, cb) {
|
|
165
|
+
var command = new DeleteAccessCommand(args);
|
|
161
166
|
if (typeof optionsOrCb === "function") {
|
|
162
167
|
this.send(command, optionsOrCb);
|
|
163
168
|
}
|
|
164
169
|
else if (typeof cb === "function") {
|
|
165
170
|
if (typeof optionsOrCb !== "object")
|
|
166
|
-
throw new Error(
|
|
171
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
167
172
|
this.send(command, optionsOrCb || {}, cb);
|
|
168
173
|
}
|
|
169
174
|
else {
|
|
170
175
|
return this.send(command, optionsOrCb);
|
|
171
176
|
}
|
|
172
|
-
}
|
|
173
|
-
deleteAgreement(args, optionsOrCb, cb) {
|
|
174
|
-
|
|
177
|
+
};
|
|
178
|
+
Transfer.prototype.deleteAgreement = function (args, optionsOrCb, cb) {
|
|
179
|
+
var command = new DeleteAgreementCommand(args);
|
|
175
180
|
if (typeof optionsOrCb === "function") {
|
|
176
181
|
this.send(command, optionsOrCb);
|
|
177
182
|
}
|
|
178
183
|
else if (typeof cb === "function") {
|
|
179
184
|
if (typeof optionsOrCb !== "object")
|
|
180
|
-
throw new Error(
|
|
185
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
181
186
|
this.send(command, optionsOrCb || {}, cb);
|
|
182
187
|
}
|
|
183
188
|
else {
|
|
184
189
|
return this.send(command, optionsOrCb);
|
|
185
190
|
}
|
|
186
|
-
}
|
|
187
|
-
deleteCertificate(args, optionsOrCb, cb) {
|
|
188
|
-
|
|
191
|
+
};
|
|
192
|
+
Transfer.prototype.deleteCertificate = function (args, optionsOrCb, cb) {
|
|
193
|
+
var command = new DeleteCertificateCommand(args);
|
|
189
194
|
if (typeof optionsOrCb === "function") {
|
|
190
195
|
this.send(command, optionsOrCb);
|
|
191
196
|
}
|
|
192
197
|
else if (typeof cb === "function") {
|
|
193
198
|
if (typeof optionsOrCb !== "object")
|
|
194
|
-
throw new Error(
|
|
199
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
195
200
|
this.send(command, optionsOrCb || {}, cb);
|
|
196
201
|
}
|
|
197
202
|
else {
|
|
198
203
|
return this.send(command, optionsOrCb);
|
|
199
204
|
}
|
|
200
|
-
}
|
|
201
|
-
deleteConnector(args, optionsOrCb, cb) {
|
|
202
|
-
|
|
205
|
+
};
|
|
206
|
+
Transfer.prototype.deleteConnector = function (args, optionsOrCb, cb) {
|
|
207
|
+
var command = new DeleteConnectorCommand(args);
|
|
203
208
|
if (typeof optionsOrCb === "function") {
|
|
204
209
|
this.send(command, optionsOrCb);
|
|
205
210
|
}
|
|
206
211
|
else if (typeof cb === "function") {
|
|
207
212
|
if (typeof optionsOrCb !== "object")
|
|
208
|
-
throw new Error(
|
|
213
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
209
214
|
this.send(command, optionsOrCb || {}, cb);
|
|
210
215
|
}
|
|
211
216
|
else {
|
|
212
217
|
return this.send(command, optionsOrCb);
|
|
213
218
|
}
|
|
214
|
-
}
|
|
215
|
-
deleteHostKey(args, optionsOrCb, cb) {
|
|
216
|
-
|
|
219
|
+
};
|
|
220
|
+
Transfer.prototype.deleteHostKey = function (args, optionsOrCb, cb) {
|
|
221
|
+
var command = new DeleteHostKeyCommand(args);
|
|
217
222
|
if (typeof optionsOrCb === "function") {
|
|
218
223
|
this.send(command, optionsOrCb);
|
|
219
224
|
}
|
|
220
225
|
else if (typeof cb === "function") {
|
|
221
226
|
if (typeof optionsOrCb !== "object")
|
|
222
|
-
throw new Error(
|
|
227
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
223
228
|
this.send(command, optionsOrCb || {}, cb);
|
|
224
229
|
}
|
|
225
230
|
else {
|
|
226
231
|
return this.send(command, optionsOrCb);
|
|
227
232
|
}
|
|
228
|
-
}
|
|
229
|
-
deleteProfile(args, optionsOrCb, cb) {
|
|
230
|
-
|
|
233
|
+
};
|
|
234
|
+
Transfer.prototype.deleteProfile = function (args, optionsOrCb, cb) {
|
|
235
|
+
var command = new DeleteProfileCommand(args);
|
|
231
236
|
if (typeof optionsOrCb === "function") {
|
|
232
237
|
this.send(command, optionsOrCb);
|
|
233
238
|
}
|
|
234
239
|
else if (typeof cb === "function") {
|
|
235
240
|
if (typeof optionsOrCb !== "object")
|
|
236
|
-
throw new Error(
|
|
241
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
237
242
|
this.send(command, optionsOrCb || {}, cb);
|
|
238
243
|
}
|
|
239
244
|
else {
|
|
240
245
|
return this.send(command, optionsOrCb);
|
|
241
246
|
}
|
|
242
|
-
}
|
|
243
|
-
deleteServer(args, optionsOrCb, cb) {
|
|
244
|
-
|
|
247
|
+
};
|
|
248
|
+
Transfer.prototype.deleteServer = function (args, optionsOrCb, cb) {
|
|
249
|
+
var command = new DeleteServerCommand(args);
|
|
245
250
|
if (typeof optionsOrCb === "function") {
|
|
246
251
|
this.send(command, optionsOrCb);
|
|
247
252
|
}
|
|
248
253
|
else if (typeof cb === "function") {
|
|
249
254
|
if (typeof optionsOrCb !== "object")
|
|
250
|
-
throw new Error(
|
|
255
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
251
256
|
this.send(command, optionsOrCb || {}, cb);
|
|
252
257
|
}
|
|
253
258
|
else {
|
|
254
259
|
return this.send(command, optionsOrCb);
|
|
255
260
|
}
|
|
256
|
-
}
|
|
257
|
-
deleteSshPublicKey(args, optionsOrCb, cb) {
|
|
258
|
-
|
|
261
|
+
};
|
|
262
|
+
Transfer.prototype.deleteSshPublicKey = function (args, optionsOrCb, cb) {
|
|
263
|
+
var command = new DeleteSshPublicKeyCommand(args);
|
|
259
264
|
if (typeof optionsOrCb === "function") {
|
|
260
265
|
this.send(command, optionsOrCb);
|
|
261
266
|
}
|
|
262
267
|
else if (typeof cb === "function") {
|
|
263
268
|
if (typeof optionsOrCb !== "object")
|
|
264
|
-
throw new Error(
|
|
269
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
265
270
|
this.send(command, optionsOrCb || {}, cb);
|
|
266
271
|
}
|
|
267
272
|
else {
|
|
268
273
|
return this.send(command, optionsOrCb);
|
|
269
274
|
}
|
|
270
|
-
}
|
|
271
|
-
deleteUser(args, optionsOrCb, cb) {
|
|
272
|
-
|
|
275
|
+
};
|
|
276
|
+
Transfer.prototype.deleteUser = function (args, optionsOrCb, cb) {
|
|
277
|
+
var command = new DeleteUserCommand(args);
|
|
273
278
|
if (typeof optionsOrCb === "function") {
|
|
274
279
|
this.send(command, optionsOrCb);
|
|
275
280
|
}
|
|
276
281
|
else if (typeof cb === "function") {
|
|
277
282
|
if (typeof optionsOrCb !== "object")
|
|
278
|
-
throw new Error(
|
|
283
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
279
284
|
this.send(command, optionsOrCb || {}, cb);
|
|
280
285
|
}
|
|
281
286
|
else {
|
|
282
287
|
return this.send(command, optionsOrCb);
|
|
283
288
|
}
|
|
284
|
-
}
|
|
285
|
-
deleteWorkflow(args, optionsOrCb, cb) {
|
|
286
|
-
|
|
289
|
+
};
|
|
290
|
+
Transfer.prototype.deleteWorkflow = function (args, optionsOrCb, cb) {
|
|
291
|
+
var command = new DeleteWorkflowCommand(args);
|
|
287
292
|
if (typeof optionsOrCb === "function") {
|
|
288
293
|
this.send(command, optionsOrCb);
|
|
289
294
|
}
|
|
290
295
|
else if (typeof cb === "function") {
|
|
291
296
|
if (typeof optionsOrCb !== "object")
|
|
292
|
-
throw new Error(
|
|
297
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
293
298
|
this.send(command, optionsOrCb || {}, cb);
|
|
294
299
|
}
|
|
295
300
|
else {
|
|
296
301
|
return this.send(command, optionsOrCb);
|
|
297
302
|
}
|
|
298
|
-
}
|
|
299
|
-
describeAccess(args, optionsOrCb, cb) {
|
|
300
|
-
|
|
303
|
+
};
|
|
304
|
+
Transfer.prototype.describeAccess = function (args, optionsOrCb, cb) {
|
|
305
|
+
var command = new DescribeAccessCommand(args);
|
|
301
306
|
if (typeof optionsOrCb === "function") {
|
|
302
307
|
this.send(command, optionsOrCb);
|
|
303
308
|
}
|
|
304
309
|
else if (typeof cb === "function") {
|
|
305
310
|
if (typeof optionsOrCb !== "object")
|
|
306
|
-
throw new Error(
|
|
311
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
307
312
|
this.send(command, optionsOrCb || {}, cb);
|
|
308
313
|
}
|
|
309
314
|
else {
|
|
310
315
|
return this.send(command, optionsOrCb);
|
|
311
316
|
}
|
|
312
|
-
}
|
|
313
|
-
describeAgreement(args, optionsOrCb, cb) {
|
|
314
|
-
|
|
317
|
+
};
|
|
318
|
+
Transfer.prototype.describeAgreement = function (args, optionsOrCb, cb) {
|
|
319
|
+
var command = new DescribeAgreementCommand(args);
|
|
315
320
|
if (typeof optionsOrCb === "function") {
|
|
316
321
|
this.send(command, optionsOrCb);
|
|
317
322
|
}
|
|
318
323
|
else if (typeof cb === "function") {
|
|
319
324
|
if (typeof optionsOrCb !== "object")
|
|
320
|
-
throw new Error(
|
|
325
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
321
326
|
this.send(command, optionsOrCb || {}, cb);
|
|
322
327
|
}
|
|
323
328
|
else {
|
|
324
329
|
return this.send(command, optionsOrCb);
|
|
325
330
|
}
|
|
326
|
-
}
|
|
327
|
-
describeCertificate(args, optionsOrCb, cb) {
|
|
328
|
-
|
|
331
|
+
};
|
|
332
|
+
Transfer.prototype.describeCertificate = function (args, optionsOrCb, cb) {
|
|
333
|
+
var command = new DescribeCertificateCommand(args);
|
|
329
334
|
if (typeof optionsOrCb === "function") {
|
|
330
335
|
this.send(command, optionsOrCb);
|
|
331
336
|
}
|
|
332
337
|
else if (typeof cb === "function") {
|
|
333
338
|
if (typeof optionsOrCb !== "object")
|
|
334
|
-
throw new Error(
|
|
339
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
335
340
|
this.send(command, optionsOrCb || {}, cb);
|
|
336
341
|
}
|
|
337
342
|
else {
|
|
338
343
|
return this.send(command, optionsOrCb);
|
|
339
344
|
}
|
|
340
|
-
}
|
|
341
|
-
describeConnector(args, optionsOrCb, cb) {
|
|
342
|
-
|
|
345
|
+
};
|
|
346
|
+
Transfer.prototype.describeConnector = function (args, optionsOrCb, cb) {
|
|
347
|
+
var command = new DescribeConnectorCommand(args);
|
|
343
348
|
if (typeof optionsOrCb === "function") {
|
|
344
349
|
this.send(command, optionsOrCb);
|
|
345
350
|
}
|
|
346
351
|
else if (typeof cb === "function") {
|
|
347
352
|
if (typeof optionsOrCb !== "object")
|
|
348
|
-
throw new Error(
|
|
353
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
349
354
|
this.send(command, optionsOrCb || {}, cb);
|
|
350
355
|
}
|
|
351
356
|
else {
|
|
352
357
|
return this.send(command, optionsOrCb);
|
|
353
358
|
}
|
|
354
|
-
}
|
|
355
|
-
describeExecution(args, optionsOrCb, cb) {
|
|
356
|
-
|
|
359
|
+
};
|
|
360
|
+
Transfer.prototype.describeExecution = function (args, optionsOrCb, cb) {
|
|
361
|
+
var command = new DescribeExecutionCommand(args);
|
|
357
362
|
if (typeof optionsOrCb === "function") {
|
|
358
363
|
this.send(command, optionsOrCb);
|
|
359
364
|
}
|
|
360
365
|
else if (typeof cb === "function") {
|
|
361
366
|
if (typeof optionsOrCb !== "object")
|
|
362
|
-
throw new Error(
|
|
367
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
363
368
|
this.send(command, optionsOrCb || {}, cb);
|
|
364
369
|
}
|
|
365
370
|
else {
|
|
366
371
|
return this.send(command, optionsOrCb);
|
|
367
372
|
}
|
|
368
|
-
}
|
|
369
|
-
describeHostKey(args, optionsOrCb, cb) {
|
|
370
|
-
|
|
373
|
+
};
|
|
374
|
+
Transfer.prototype.describeHostKey = function (args, optionsOrCb, cb) {
|
|
375
|
+
var command = new DescribeHostKeyCommand(args);
|
|
371
376
|
if (typeof optionsOrCb === "function") {
|
|
372
377
|
this.send(command, optionsOrCb);
|
|
373
378
|
}
|
|
374
379
|
else if (typeof cb === "function") {
|
|
375
380
|
if (typeof optionsOrCb !== "object")
|
|
376
|
-
throw new Error(
|
|
381
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
377
382
|
this.send(command, optionsOrCb || {}, cb);
|
|
378
383
|
}
|
|
379
384
|
else {
|
|
380
385
|
return this.send(command, optionsOrCb);
|
|
381
386
|
}
|
|
382
|
-
}
|
|
383
|
-
describeProfile(args, optionsOrCb, cb) {
|
|
384
|
-
|
|
387
|
+
};
|
|
388
|
+
Transfer.prototype.describeProfile = function (args, optionsOrCb, cb) {
|
|
389
|
+
var command = new DescribeProfileCommand(args);
|
|
385
390
|
if (typeof optionsOrCb === "function") {
|
|
386
391
|
this.send(command, optionsOrCb);
|
|
387
392
|
}
|
|
388
393
|
else if (typeof cb === "function") {
|
|
389
394
|
if (typeof optionsOrCb !== "object")
|
|
390
|
-
throw new Error(
|
|
395
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
391
396
|
this.send(command, optionsOrCb || {}, cb);
|
|
392
397
|
}
|
|
393
398
|
else {
|
|
394
399
|
return this.send(command, optionsOrCb);
|
|
395
400
|
}
|
|
396
|
-
}
|
|
397
|
-
describeSecurityPolicy(args, optionsOrCb, cb) {
|
|
398
|
-
|
|
401
|
+
};
|
|
402
|
+
Transfer.prototype.describeSecurityPolicy = function (args, optionsOrCb, cb) {
|
|
403
|
+
var command = new DescribeSecurityPolicyCommand(args);
|
|
399
404
|
if (typeof optionsOrCb === "function") {
|
|
400
405
|
this.send(command, optionsOrCb);
|
|
401
406
|
}
|
|
402
407
|
else if (typeof cb === "function") {
|
|
403
408
|
if (typeof optionsOrCb !== "object")
|
|
404
|
-
throw new Error(
|
|
409
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
405
410
|
this.send(command, optionsOrCb || {}, cb);
|
|
406
411
|
}
|
|
407
412
|
else {
|
|
408
413
|
return this.send(command, optionsOrCb);
|
|
409
414
|
}
|
|
410
|
-
}
|
|
411
|
-
describeServer(args, optionsOrCb, cb) {
|
|
412
|
-
|
|
415
|
+
};
|
|
416
|
+
Transfer.prototype.describeServer = function (args, optionsOrCb, cb) {
|
|
417
|
+
var command = new DescribeServerCommand(args);
|
|
413
418
|
if (typeof optionsOrCb === "function") {
|
|
414
419
|
this.send(command, optionsOrCb);
|
|
415
420
|
}
|
|
416
421
|
else if (typeof cb === "function") {
|
|
417
422
|
if (typeof optionsOrCb !== "object")
|
|
418
|
-
throw new Error(
|
|
423
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
419
424
|
this.send(command, optionsOrCb || {}, cb);
|
|
420
425
|
}
|
|
421
426
|
else {
|
|
422
427
|
return this.send(command, optionsOrCb);
|
|
423
428
|
}
|
|
424
|
-
}
|
|
425
|
-
describeUser(args, optionsOrCb, cb) {
|
|
426
|
-
|
|
429
|
+
};
|
|
430
|
+
Transfer.prototype.describeUser = function (args, optionsOrCb, cb) {
|
|
431
|
+
var command = new DescribeUserCommand(args);
|
|
427
432
|
if (typeof optionsOrCb === "function") {
|
|
428
433
|
this.send(command, optionsOrCb);
|
|
429
434
|
}
|
|
430
435
|
else if (typeof cb === "function") {
|
|
431
436
|
if (typeof optionsOrCb !== "object")
|
|
432
|
-
throw new Error(
|
|
437
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
433
438
|
this.send(command, optionsOrCb || {}, cb);
|
|
434
439
|
}
|
|
435
440
|
else {
|
|
436
441
|
return this.send(command, optionsOrCb);
|
|
437
442
|
}
|
|
438
|
-
}
|
|
439
|
-
describeWorkflow(args, optionsOrCb, cb) {
|
|
440
|
-
|
|
443
|
+
};
|
|
444
|
+
Transfer.prototype.describeWorkflow = function (args, optionsOrCb, cb) {
|
|
445
|
+
var command = new DescribeWorkflowCommand(args);
|
|
441
446
|
if (typeof optionsOrCb === "function") {
|
|
442
447
|
this.send(command, optionsOrCb);
|
|
443
448
|
}
|
|
444
449
|
else if (typeof cb === "function") {
|
|
445
450
|
if (typeof optionsOrCb !== "object")
|
|
446
|
-
throw new Error(
|
|
451
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
447
452
|
this.send(command, optionsOrCb || {}, cb);
|
|
448
453
|
}
|
|
449
454
|
else {
|
|
450
455
|
return this.send(command, optionsOrCb);
|
|
451
456
|
}
|
|
452
|
-
}
|
|
453
|
-
importCertificate(args, optionsOrCb, cb) {
|
|
454
|
-
|
|
457
|
+
};
|
|
458
|
+
Transfer.prototype.importCertificate = function (args, optionsOrCb, cb) {
|
|
459
|
+
var command = new ImportCertificateCommand(args);
|
|
455
460
|
if (typeof optionsOrCb === "function") {
|
|
456
461
|
this.send(command, optionsOrCb);
|
|
457
462
|
}
|
|
458
463
|
else if (typeof cb === "function") {
|
|
459
464
|
if (typeof optionsOrCb !== "object")
|
|
460
|
-
throw new Error(
|
|
465
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
461
466
|
this.send(command, optionsOrCb || {}, cb);
|
|
462
467
|
}
|
|
463
468
|
else {
|
|
464
469
|
return this.send(command, optionsOrCb);
|
|
465
470
|
}
|
|
466
|
-
}
|
|
467
|
-
importHostKey(args, optionsOrCb, cb) {
|
|
468
|
-
|
|
471
|
+
};
|
|
472
|
+
Transfer.prototype.importHostKey = function (args, optionsOrCb, cb) {
|
|
473
|
+
var command = new ImportHostKeyCommand(args);
|
|
469
474
|
if (typeof optionsOrCb === "function") {
|
|
470
475
|
this.send(command, optionsOrCb);
|
|
471
476
|
}
|
|
472
477
|
else if (typeof cb === "function") {
|
|
473
478
|
if (typeof optionsOrCb !== "object")
|
|
474
|
-
throw new Error(
|
|
479
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
475
480
|
this.send(command, optionsOrCb || {}, cb);
|
|
476
481
|
}
|
|
477
482
|
else {
|
|
478
483
|
return this.send(command, optionsOrCb);
|
|
479
484
|
}
|
|
480
|
-
}
|
|
481
|
-
importSshPublicKey(args, optionsOrCb, cb) {
|
|
482
|
-
|
|
485
|
+
};
|
|
486
|
+
Transfer.prototype.importSshPublicKey = function (args, optionsOrCb, cb) {
|
|
487
|
+
var command = new ImportSshPublicKeyCommand(args);
|
|
483
488
|
if (typeof optionsOrCb === "function") {
|
|
484
489
|
this.send(command, optionsOrCb);
|
|
485
490
|
}
|
|
486
491
|
else if (typeof cb === "function") {
|
|
487
492
|
if (typeof optionsOrCb !== "object")
|
|
488
|
-
throw new Error(
|
|
493
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
489
494
|
this.send(command, optionsOrCb || {}, cb);
|
|
490
495
|
}
|
|
491
496
|
else {
|
|
492
497
|
return this.send(command, optionsOrCb);
|
|
493
498
|
}
|
|
494
|
-
}
|
|
495
|
-
listAccesses(args, optionsOrCb, cb) {
|
|
496
|
-
|
|
499
|
+
};
|
|
500
|
+
Transfer.prototype.listAccesses = function (args, optionsOrCb, cb) {
|
|
501
|
+
var command = new ListAccessesCommand(args);
|
|
497
502
|
if (typeof optionsOrCb === "function") {
|
|
498
503
|
this.send(command, optionsOrCb);
|
|
499
504
|
}
|
|
500
505
|
else if (typeof cb === "function") {
|
|
501
506
|
if (typeof optionsOrCb !== "object")
|
|
502
|
-
throw new Error(
|
|
507
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
503
508
|
this.send(command, optionsOrCb || {}, cb);
|
|
504
509
|
}
|
|
505
510
|
else {
|
|
506
511
|
return this.send(command, optionsOrCb);
|
|
507
512
|
}
|
|
508
|
-
}
|
|
509
|
-
listAgreements(args, optionsOrCb, cb) {
|
|
510
|
-
|
|
513
|
+
};
|
|
514
|
+
Transfer.prototype.listAgreements = function (args, optionsOrCb, cb) {
|
|
515
|
+
var command = new ListAgreementsCommand(args);
|
|
511
516
|
if (typeof optionsOrCb === "function") {
|
|
512
517
|
this.send(command, optionsOrCb);
|
|
513
518
|
}
|
|
514
519
|
else if (typeof cb === "function") {
|
|
515
520
|
if (typeof optionsOrCb !== "object")
|
|
516
|
-
throw new Error(
|
|
521
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
517
522
|
this.send(command, optionsOrCb || {}, cb);
|
|
518
523
|
}
|
|
519
524
|
else {
|
|
520
525
|
return this.send(command, optionsOrCb);
|
|
521
526
|
}
|
|
522
|
-
}
|
|
523
|
-
listCertificates(args, optionsOrCb, cb) {
|
|
524
|
-
|
|
527
|
+
};
|
|
528
|
+
Transfer.prototype.listCertificates = function (args, optionsOrCb, cb) {
|
|
529
|
+
var command = new ListCertificatesCommand(args);
|
|
525
530
|
if (typeof optionsOrCb === "function") {
|
|
526
531
|
this.send(command, optionsOrCb);
|
|
527
532
|
}
|
|
528
533
|
else if (typeof cb === "function") {
|
|
529
534
|
if (typeof optionsOrCb !== "object")
|
|
530
|
-
throw new Error(
|
|
535
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
531
536
|
this.send(command, optionsOrCb || {}, cb);
|
|
532
537
|
}
|
|
533
538
|
else {
|
|
534
539
|
return this.send(command, optionsOrCb);
|
|
535
540
|
}
|
|
536
|
-
}
|
|
537
|
-
listConnectors(args, optionsOrCb, cb) {
|
|
538
|
-
|
|
541
|
+
};
|
|
542
|
+
Transfer.prototype.listConnectors = function (args, optionsOrCb, cb) {
|
|
543
|
+
var command = new ListConnectorsCommand(args);
|
|
539
544
|
if (typeof optionsOrCb === "function") {
|
|
540
545
|
this.send(command, optionsOrCb);
|
|
541
546
|
}
|
|
542
547
|
else if (typeof cb === "function") {
|
|
543
548
|
if (typeof optionsOrCb !== "object")
|
|
544
|
-
throw new Error(
|
|
549
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
545
550
|
this.send(command, optionsOrCb || {}, cb);
|
|
546
551
|
}
|
|
547
552
|
else {
|
|
548
553
|
return this.send(command, optionsOrCb);
|
|
549
554
|
}
|
|
550
|
-
}
|
|
551
|
-
listExecutions(args, optionsOrCb, cb) {
|
|
552
|
-
|
|
555
|
+
};
|
|
556
|
+
Transfer.prototype.listExecutions = function (args, optionsOrCb, cb) {
|
|
557
|
+
var command = new ListExecutionsCommand(args);
|
|
553
558
|
if (typeof optionsOrCb === "function") {
|
|
554
559
|
this.send(command, optionsOrCb);
|
|
555
560
|
}
|
|
556
561
|
else if (typeof cb === "function") {
|
|
557
562
|
if (typeof optionsOrCb !== "object")
|
|
558
|
-
throw new Error(
|
|
563
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
559
564
|
this.send(command, optionsOrCb || {}, cb);
|
|
560
565
|
}
|
|
561
566
|
else {
|
|
562
567
|
return this.send(command, optionsOrCb);
|
|
563
568
|
}
|
|
564
|
-
}
|
|
565
|
-
listHostKeys(args, optionsOrCb, cb) {
|
|
566
|
-
|
|
569
|
+
};
|
|
570
|
+
Transfer.prototype.listHostKeys = function (args, optionsOrCb, cb) {
|
|
571
|
+
var command = new ListHostKeysCommand(args);
|
|
567
572
|
if (typeof optionsOrCb === "function") {
|
|
568
573
|
this.send(command, optionsOrCb);
|
|
569
574
|
}
|
|
570
575
|
else if (typeof cb === "function") {
|
|
571
576
|
if (typeof optionsOrCb !== "object")
|
|
572
|
-
throw new Error(
|
|
577
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
573
578
|
this.send(command, optionsOrCb || {}, cb);
|
|
574
579
|
}
|
|
575
580
|
else {
|
|
576
581
|
return this.send(command, optionsOrCb);
|
|
577
582
|
}
|
|
578
|
-
}
|
|
579
|
-
listProfiles(args, optionsOrCb, cb) {
|
|
580
|
-
|
|
583
|
+
};
|
|
584
|
+
Transfer.prototype.listProfiles = function (args, optionsOrCb, cb) {
|
|
585
|
+
var command = new ListProfilesCommand(args);
|
|
581
586
|
if (typeof optionsOrCb === "function") {
|
|
582
587
|
this.send(command, optionsOrCb);
|
|
583
588
|
}
|
|
584
589
|
else if (typeof cb === "function") {
|
|
585
590
|
if (typeof optionsOrCb !== "object")
|
|
586
|
-
throw new Error(
|
|
591
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
587
592
|
this.send(command, optionsOrCb || {}, cb);
|
|
588
593
|
}
|
|
589
594
|
else {
|
|
590
595
|
return this.send(command, optionsOrCb);
|
|
591
596
|
}
|
|
592
|
-
}
|
|
593
|
-
listSecurityPolicies(args, optionsOrCb, cb) {
|
|
594
|
-
|
|
597
|
+
};
|
|
598
|
+
Transfer.prototype.listSecurityPolicies = function (args, optionsOrCb, cb) {
|
|
599
|
+
var command = new ListSecurityPoliciesCommand(args);
|
|
595
600
|
if (typeof optionsOrCb === "function") {
|
|
596
601
|
this.send(command, optionsOrCb);
|
|
597
602
|
}
|
|
598
603
|
else if (typeof cb === "function") {
|
|
599
604
|
if (typeof optionsOrCb !== "object")
|
|
600
|
-
throw new Error(
|
|
605
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
601
606
|
this.send(command, optionsOrCb || {}, cb);
|
|
602
607
|
}
|
|
603
608
|
else {
|
|
604
609
|
return this.send(command, optionsOrCb);
|
|
605
610
|
}
|
|
606
|
-
}
|
|
607
|
-
listServers(args, optionsOrCb, cb) {
|
|
608
|
-
|
|
611
|
+
};
|
|
612
|
+
Transfer.prototype.listServers = function (args, optionsOrCb, cb) {
|
|
613
|
+
var command = new ListServersCommand(args);
|
|
609
614
|
if (typeof optionsOrCb === "function") {
|
|
610
615
|
this.send(command, optionsOrCb);
|
|
611
616
|
}
|
|
612
617
|
else if (typeof cb === "function") {
|
|
613
618
|
if (typeof optionsOrCb !== "object")
|
|
614
|
-
throw new Error(
|
|
619
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
615
620
|
this.send(command, optionsOrCb || {}, cb);
|
|
616
621
|
}
|
|
617
622
|
else {
|
|
618
623
|
return this.send(command, optionsOrCb);
|
|
619
624
|
}
|
|
620
|
-
}
|
|
621
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
622
|
-
|
|
625
|
+
};
|
|
626
|
+
Transfer.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
|
|
627
|
+
var command = new ListTagsForResourceCommand(args);
|
|
623
628
|
if (typeof optionsOrCb === "function") {
|
|
624
629
|
this.send(command, optionsOrCb);
|
|
625
630
|
}
|
|
626
631
|
else if (typeof cb === "function") {
|
|
627
632
|
if (typeof optionsOrCb !== "object")
|
|
628
|
-
throw new Error(
|
|
633
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
629
634
|
this.send(command, optionsOrCb || {}, cb);
|
|
630
635
|
}
|
|
631
636
|
else {
|
|
632
637
|
return this.send(command, optionsOrCb);
|
|
633
638
|
}
|
|
634
|
-
}
|
|
635
|
-
listUsers(args, optionsOrCb, cb) {
|
|
636
|
-
|
|
639
|
+
};
|
|
640
|
+
Transfer.prototype.listUsers = function (args, optionsOrCb, cb) {
|
|
641
|
+
var command = new ListUsersCommand(args);
|
|
637
642
|
if (typeof optionsOrCb === "function") {
|
|
638
643
|
this.send(command, optionsOrCb);
|
|
639
644
|
}
|
|
640
645
|
else if (typeof cb === "function") {
|
|
641
646
|
if (typeof optionsOrCb !== "object")
|
|
642
|
-
throw new Error(
|
|
647
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
643
648
|
this.send(command, optionsOrCb || {}, cb);
|
|
644
649
|
}
|
|
645
650
|
else {
|
|
646
651
|
return this.send(command, optionsOrCb);
|
|
647
652
|
}
|
|
648
|
-
}
|
|
649
|
-
listWorkflows(args, optionsOrCb, cb) {
|
|
650
|
-
|
|
653
|
+
};
|
|
654
|
+
Transfer.prototype.listWorkflows = function (args, optionsOrCb, cb) {
|
|
655
|
+
var command = new ListWorkflowsCommand(args);
|
|
651
656
|
if (typeof optionsOrCb === "function") {
|
|
652
657
|
this.send(command, optionsOrCb);
|
|
653
658
|
}
|
|
654
659
|
else if (typeof cb === "function") {
|
|
655
660
|
if (typeof optionsOrCb !== "object")
|
|
656
|
-
throw new Error(
|
|
661
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
657
662
|
this.send(command, optionsOrCb || {}, cb);
|
|
658
663
|
}
|
|
659
664
|
else {
|
|
660
665
|
return this.send(command, optionsOrCb);
|
|
661
666
|
}
|
|
662
|
-
}
|
|
663
|
-
sendWorkflowStepState(args, optionsOrCb, cb) {
|
|
664
|
-
|
|
667
|
+
};
|
|
668
|
+
Transfer.prototype.sendWorkflowStepState = function (args, optionsOrCb, cb) {
|
|
669
|
+
var command = new SendWorkflowStepStateCommand(args);
|
|
665
670
|
if (typeof optionsOrCb === "function") {
|
|
666
671
|
this.send(command, optionsOrCb);
|
|
667
672
|
}
|
|
668
673
|
else if (typeof cb === "function") {
|
|
669
674
|
if (typeof optionsOrCb !== "object")
|
|
670
|
-
throw new Error(
|
|
675
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
671
676
|
this.send(command, optionsOrCb || {}, cb);
|
|
672
677
|
}
|
|
673
678
|
else {
|
|
674
679
|
return this.send(command, optionsOrCb);
|
|
675
680
|
}
|
|
676
|
-
}
|
|
677
|
-
startFileTransfer(args, optionsOrCb, cb) {
|
|
678
|
-
|
|
681
|
+
};
|
|
682
|
+
Transfer.prototype.startFileTransfer = function (args, optionsOrCb, cb) {
|
|
683
|
+
var command = new StartFileTransferCommand(args);
|
|
679
684
|
if (typeof optionsOrCb === "function") {
|
|
680
685
|
this.send(command, optionsOrCb);
|
|
681
686
|
}
|
|
682
687
|
else if (typeof cb === "function") {
|
|
683
688
|
if (typeof optionsOrCb !== "object")
|
|
684
|
-
throw new Error(
|
|
689
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
685
690
|
this.send(command, optionsOrCb || {}, cb);
|
|
686
691
|
}
|
|
687
692
|
else {
|
|
688
693
|
return this.send(command, optionsOrCb);
|
|
689
694
|
}
|
|
690
|
-
}
|
|
691
|
-
startServer(args, optionsOrCb, cb) {
|
|
692
|
-
|
|
695
|
+
};
|
|
696
|
+
Transfer.prototype.startServer = function (args, optionsOrCb, cb) {
|
|
697
|
+
var command = new StartServerCommand(args);
|
|
693
698
|
if (typeof optionsOrCb === "function") {
|
|
694
699
|
this.send(command, optionsOrCb);
|
|
695
700
|
}
|
|
696
701
|
else if (typeof cb === "function") {
|
|
697
702
|
if (typeof optionsOrCb !== "object")
|
|
698
|
-
throw new Error(
|
|
703
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
699
704
|
this.send(command, optionsOrCb || {}, cb);
|
|
700
705
|
}
|
|
701
706
|
else {
|
|
702
707
|
return this.send(command, optionsOrCb);
|
|
703
708
|
}
|
|
704
|
-
}
|
|
705
|
-
stopServer(args, optionsOrCb, cb) {
|
|
706
|
-
|
|
709
|
+
};
|
|
710
|
+
Transfer.prototype.stopServer = function (args, optionsOrCb, cb) {
|
|
711
|
+
var command = new StopServerCommand(args);
|
|
707
712
|
if (typeof optionsOrCb === "function") {
|
|
708
713
|
this.send(command, optionsOrCb);
|
|
709
714
|
}
|
|
710
715
|
else if (typeof cb === "function") {
|
|
711
716
|
if (typeof optionsOrCb !== "object")
|
|
712
|
-
throw new Error(
|
|
717
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
713
718
|
this.send(command, optionsOrCb || {}, cb);
|
|
714
719
|
}
|
|
715
720
|
else {
|
|
716
721
|
return this.send(command, optionsOrCb);
|
|
717
722
|
}
|
|
718
|
-
}
|
|
719
|
-
tagResource(args, optionsOrCb, cb) {
|
|
720
|
-
|
|
723
|
+
};
|
|
724
|
+
Transfer.prototype.tagResource = function (args, optionsOrCb, cb) {
|
|
725
|
+
var command = new TagResourceCommand(args);
|
|
721
726
|
if (typeof optionsOrCb === "function") {
|
|
722
727
|
this.send(command, optionsOrCb);
|
|
723
728
|
}
|
|
724
729
|
else if (typeof cb === "function") {
|
|
725
730
|
if (typeof optionsOrCb !== "object")
|
|
726
|
-
throw new Error(
|
|
731
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
727
732
|
this.send(command, optionsOrCb || {}, cb);
|
|
728
733
|
}
|
|
729
734
|
else {
|
|
730
735
|
return this.send(command, optionsOrCb);
|
|
731
736
|
}
|
|
732
|
-
}
|
|
733
|
-
testIdentityProvider(args, optionsOrCb, cb) {
|
|
734
|
-
|
|
737
|
+
};
|
|
738
|
+
Transfer.prototype.testIdentityProvider = function (args, optionsOrCb, cb) {
|
|
739
|
+
var command = new TestIdentityProviderCommand(args);
|
|
735
740
|
if (typeof optionsOrCb === "function") {
|
|
736
741
|
this.send(command, optionsOrCb);
|
|
737
742
|
}
|
|
738
743
|
else if (typeof cb === "function") {
|
|
739
744
|
if (typeof optionsOrCb !== "object")
|
|
740
|
-
throw new Error(
|
|
745
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
741
746
|
this.send(command, optionsOrCb || {}, cb);
|
|
742
747
|
}
|
|
743
748
|
else {
|
|
744
749
|
return this.send(command, optionsOrCb);
|
|
745
750
|
}
|
|
746
|
-
}
|
|
747
|
-
untagResource(args, optionsOrCb, cb) {
|
|
748
|
-
|
|
751
|
+
};
|
|
752
|
+
Transfer.prototype.untagResource = function (args, optionsOrCb, cb) {
|
|
753
|
+
var command = new UntagResourceCommand(args);
|
|
749
754
|
if (typeof optionsOrCb === "function") {
|
|
750
755
|
this.send(command, optionsOrCb);
|
|
751
756
|
}
|
|
752
757
|
else if (typeof cb === "function") {
|
|
753
758
|
if (typeof optionsOrCb !== "object")
|
|
754
|
-
throw new Error(
|
|
759
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
755
760
|
this.send(command, optionsOrCb || {}, cb);
|
|
756
761
|
}
|
|
757
762
|
else {
|
|
758
763
|
return this.send(command, optionsOrCb);
|
|
759
764
|
}
|
|
760
|
-
}
|
|
761
|
-
updateAccess(args, optionsOrCb, cb) {
|
|
762
|
-
|
|
765
|
+
};
|
|
766
|
+
Transfer.prototype.updateAccess = function (args, optionsOrCb, cb) {
|
|
767
|
+
var command = new UpdateAccessCommand(args);
|
|
763
768
|
if (typeof optionsOrCb === "function") {
|
|
764
769
|
this.send(command, optionsOrCb);
|
|
765
770
|
}
|
|
766
771
|
else if (typeof cb === "function") {
|
|
767
772
|
if (typeof optionsOrCb !== "object")
|
|
768
|
-
throw new Error(
|
|
773
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
769
774
|
this.send(command, optionsOrCb || {}, cb);
|
|
770
775
|
}
|
|
771
776
|
else {
|
|
772
777
|
return this.send(command, optionsOrCb);
|
|
773
778
|
}
|
|
774
|
-
}
|
|
775
|
-
updateAgreement(args, optionsOrCb, cb) {
|
|
776
|
-
|
|
779
|
+
};
|
|
780
|
+
Transfer.prototype.updateAgreement = function (args, optionsOrCb, cb) {
|
|
781
|
+
var command = new UpdateAgreementCommand(args);
|
|
777
782
|
if (typeof optionsOrCb === "function") {
|
|
778
783
|
this.send(command, optionsOrCb);
|
|
779
784
|
}
|
|
780
785
|
else if (typeof cb === "function") {
|
|
781
786
|
if (typeof optionsOrCb !== "object")
|
|
782
|
-
throw new Error(
|
|
787
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
783
788
|
this.send(command, optionsOrCb || {}, cb);
|
|
784
789
|
}
|
|
785
790
|
else {
|
|
786
791
|
return this.send(command, optionsOrCb);
|
|
787
792
|
}
|
|
788
|
-
}
|
|
789
|
-
updateCertificate(args, optionsOrCb, cb) {
|
|
790
|
-
|
|
793
|
+
};
|
|
794
|
+
Transfer.prototype.updateCertificate = function (args, optionsOrCb, cb) {
|
|
795
|
+
var command = new UpdateCertificateCommand(args);
|
|
791
796
|
if (typeof optionsOrCb === "function") {
|
|
792
797
|
this.send(command, optionsOrCb);
|
|
793
798
|
}
|
|
794
799
|
else if (typeof cb === "function") {
|
|
795
800
|
if (typeof optionsOrCb !== "object")
|
|
796
|
-
throw new Error(
|
|
801
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
797
802
|
this.send(command, optionsOrCb || {}, cb);
|
|
798
803
|
}
|
|
799
804
|
else {
|
|
800
805
|
return this.send(command, optionsOrCb);
|
|
801
806
|
}
|
|
802
|
-
}
|
|
803
|
-
updateConnector(args, optionsOrCb, cb) {
|
|
804
|
-
|
|
807
|
+
};
|
|
808
|
+
Transfer.prototype.updateConnector = function (args, optionsOrCb, cb) {
|
|
809
|
+
var command = new UpdateConnectorCommand(args);
|
|
805
810
|
if (typeof optionsOrCb === "function") {
|
|
806
811
|
this.send(command, optionsOrCb);
|
|
807
812
|
}
|
|
808
813
|
else if (typeof cb === "function") {
|
|
809
814
|
if (typeof optionsOrCb !== "object")
|
|
810
|
-
throw new Error(
|
|
815
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
811
816
|
this.send(command, optionsOrCb || {}, cb);
|
|
812
817
|
}
|
|
813
818
|
else {
|
|
814
819
|
return this.send(command, optionsOrCb);
|
|
815
820
|
}
|
|
816
|
-
}
|
|
817
|
-
updateHostKey(args, optionsOrCb, cb) {
|
|
818
|
-
|
|
821
|
+
};
|
|
822
|
+
Transfer.prototype.updateHostKey = function (args, optionsOrCb, cb) {
|
|
823
|
+
var command = new UpdateHostKeyCommand(args);
|
|
819
824
|
if (typeof optionsOrCb === "function") {
|
|
820
825
|
this.send(command, optionsOrCb);
|
|
821
826
|
}
|
|
822
827
|
else if (typeof cb === "function") {
|
|
823
828
|
if (typeof optionsOrCb !== "object")
|
|
824
|
-
throw new Error(
|
|
829
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
825
830
|
this.send(command, optionsOrCb || {}, cb);
|
|
826
831
|
}
|
|
827
832
|
else {
|
|
828
833
|
return this.send(command, optionsOrCb);
|
|
829
834
|
}
|
|
830
|
-
}
|
|
831
|
-
updateProfile(args, optionsOrCb, cb) {
|
|
832
|
-
|
|
835
|
+
};
|
|
836
|
+
Transfer.prototype.updateProfile = function (args, optionsOrCb, cb) {
|
|
837
|
+
var command = new UpdateProfileCommand(args);
|
|
833
838
|
if (typeof optionsOrCb === "function") {
|
|
834
839
|
this.send(command, optionsOrCb);
|
|
835
840
|
}
|
|
836
841
|
else if (typeof cb === "function") {
|
|
837
842
|
if (typeof optionsOrCb !== "object")
|
|
838
|
-
throw new Error(
|
|
843
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
839
844
|
this.send(command, optionsOrCb || {}, cb);
|
|
840
845
|
}
|
|
841
846
|
else {
|
|
842
847
|
return this.send(command, optionsOrCb);
|
|
843
848
|
}
|
|
844
|
-
}
|
|
845
|
-
updateServer(args, optionsOrCb, cb) {
|
|
846
|
-
|
|
849
|
+
};
|
|
850
|
+
Transfer.prototype.updateServer = function (args, optionsOrCb, cb) {
|
|
851
|
+
var command = new UpdateServerCommand(args);
|
|
847
852
|
if (typeof optionsOrCb === "function") {
|
|
848
853
|
this.send(command, optionsOrCb);
|
|
849
854
|
}
|
|
850
855
|
else if (typeof cb === "function") {
|
|
851
856
|
if (typeof optionsOrCb !== "object")
|
|
852
|
-
throw new Error(
|
|
857
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
853
858
|
this.send(command, optionsOrCb || {}, cb);
|
|
854
859
|
}
|
|
855
860
|
else {
|
|
856
861
|
return this.send(command, optionsOrCb);
|
|
857
862
|
}
|
|
858
|
-
}
|
|
859
|
-
updateUser(args, optionsOrCb, cb) {
|
|
860
|
-
|
|
863
|
+
};
|
|
864
|
+
Transfer.prototype.updateUser = function (args, optionsOrCb, cb) {
|
|
865
|
+
var command = new UpdateUserCommand(args);
|
|
861
866
|
if (typeof optionsOrCb === "function") {
|
|
862
867
|
this.send(command, optionsOrCb);
|
|
863
868
|
}
|
|
864
869
|
else if (typeof cb === "function") {
|
|
865
870
|
if (typeof optionsOrCb !== "object")
|
|
866
|
-
throw new Error(
|
|
871
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
867
872
|
this.send(command, optionsOrCb || {}, cb);
|
|
868
873
|
}
|
|
869
874
|
else {
|
|
870
875
|
return this.send(command, optionsOrCb);
|
|
871
876
|
}
|
|
872
|
-
}
|
|
873
|
-
|
|
877
|
+
};
|
|
878
|
+
return Transfer;
|
|
879
|
+
}(TransferClient));
|
|
880
|
+
export { Transfer };
|