@aws-sdk/client-transfer 3.181.0 → 3.183.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.
Files changed (83) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/Transfer.js +234 -241
  3. package/dist-es/TransferClient.js +22 -28
  4. package/dist-es/commands/CreateAccessCommand.js +21 -28
  5. package/dist-es/commands/CreateAgreementCommand.js +21 -28
  6. package/dist-es/commands/CreateConnectorCommand.js +21 -28
  7. package/dist-es/commands/CreateProfileCommand.js +21 -28
  8. package/dist-es/commands/CreateServerCommand.js +21 -28
  9. package/dist-es/commands/CreateUserCommand.js +21 -28
  10. package/dist-es/commands/CreateWorkflowCommand.js +21 -28
  11. package/dist-es/commands/DeleteAccessCommand.js +22 -29
  12. package/dist-es/commands/DeleteAgreementCommand.js +22 -29
  13. package/dist-es/commands/DeleteCertificateCommand.js +22 -29
  14. package/dist-es/commands/DeleteConnectorCommand.js +22 -29
  15. package/dist-es/commands/DeleteHostKeyCommand.js +22 -29
  16. package/dist-es/commands/DeleteProfileCommand.js +22 -29
  17. package/dist-es/commands/DeleteServerCommand.js +22 -29
  18. package/dist-es/commands/DeleteSshPublicKeyCommand.js +22 -29
  19. package/dist-es/commands/DeleteUserCommand.js +22 -29
  20. package/dist-es/commands/DeleteWorkflowCommand.js +22 -29
  21. package/dist-es/commands/DescribeAccessCommand.js +21 -28
  22. package/dist-es/commands/DescribeAgreementCommand.js +21 -28
  23. package/dist-es/commands/DescribeCertificateCommand.js +21 -28
  24. package/dist-es/commands/DescribeConnectorCommand.js +21 -28
  25. package/dist-es/commands/DescribeExecutionCommand.js +21 -28
  26. package/dist-es/commands/DescribeHostKeyCommand.js +21 -28
  27. package/dist-es/commands/DescribeProfileCommand.js +21 -28
  28. package/dist-es/commands/DescribeSecurityPolicyCommand.js +21 -28
  29. package/dist-es/commands/DescribeServerCommand.js +21 -28
  30. package/dist-es/commands/DescribeUserCommand.js +21 -28
  31. package/dist-es/commands/DescribeWorkflowCommand.js +21 -28
  32. package/dist-es/commands/ImportCertificateCommand.js +21 -28
  33. package/dist-es/commands/ImportHostKeyCommand.js +21 -28
  34. package/dist-es/commands/ImportSshPublicKeyCommand.js +21 -28
  35. package/dist-es/commands/ListAccessesCommand.js +21 -28
  36. package/dist-es/commands/ListAgreementsCommand.js +21 -28
  37. package/dist-es/commands/ListCertificatesCommand.js +21 -28
  38. package/dist-es/commands/ListConnectorsCommand.js +21 -28
  39. package/dist-es/commands/ListExecutionsCommand.js +21 -28
  40. package/dist-es/commands/ListHostKeysCommand.js +21 -28
  41. package/dist-es/commands/ListProfilesCommand.js +21 -28
  42. package/dist-es/commands/ListSecurityPoliciesCommand.js +21 -28
  43. package/dist-es/commands/ListServersCommand.js +21 -28
  44. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  45. package/dist-es/commands/ListUsersCommand.js +21 -28
  46. package/dist-es/commands/ListWorkflowsCommand.js +21 -28
  47. package/dist-es/commands/SendWorkflowStepStateCommand.js +21 -28
  48. package/dist-es/commands/StartFileTransferCommand.js +21 -28
  49. package/dist-es/commands/StartServerCommand.js +22 -29
  50. package/dist-es/commands/StopServerCommand.js +22 -29
  51. package/dist-es/commands/TagResourceCommand.js +22 -29
  52. package/dist-es/commands/TestIdentityProviderCommand.js +21 -28
  53. package/dist-es/commands/UntagResourceCommand.js +22 -29
  54. package/dist-es/commands/UpdateAccessCommand.js +21 -28
  55. package/dist-es/commands/UpdateAgreementCommand.js +21 -28
  56. package/dist-es/commands/UpdateCertificateCommand.js +21 -28
  57. package/dist-es/commands/UpdateConnectorCommand.js +21 -28
  58. package/dist-es/commands/UpdateHostKeyCommand.js +21 -28
  59. package/dist-es/commands/UpdateProfileCommand.js +21 -28
  60. package/dist-es/commands/UpdateServerCommand.js +21 -28
  61. package/dist-es/commands/UpdateUserCommand.js +21 -28
  62. package/dist-es/endpoints.js +8 -8
  63. package/dist-es/models/TransferServiceException.js +5 -10
  64. package/dist-es/models/models_0.js +572 -263
  65. package/dist-es/pagination/ListAccessesPaginator.js +25 -68
  66. package/dist-es/pagination/ListAgreementsPaginator.js +25 -68
  67. package/dist-es/pagination/ListCertificatesPaginator.js +25 -68
  68. package/dist-es/pagination/ListConnectorsPaginator.js +25 -68
  69. package/dist-es/pagination/ListExecutionsPaginator.js +25 -68
  70. package/dist-es/pagination/ListProfilesPaginator.js +25 -68
  71. package/dist-es/pagination/ListSecurityPoliciesPaginator.js +25 -68
  72. package/dist-es/pagination/ListServersPaginator.js +25 -68
  73. package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
  74. package/dist-es/pagination/ListUsersPaginator.js +25 -68
  75. package/dist-es/pagination/ListWorkflowsPaginator.js +25 -68
  76. package/dist-es/protocols/Aws_json1_1.js +3961 -5067
  77. package/dist-es/runtimeConfig.browser.js +26 -12
  78. package/dist-es/runtimeConfig.js +30 -12
  79. package/dist-es/runtimeConfig.native.js +8 -5
  80. package/dist-es/runtimeConfig.shared.js +8 -11
  81. package/dist-es/waiters/waitForServerOffline.js +36 -56
  82. package/dist-es/waiters/waitForServerOnline.js +36 -56
  83. package/package.json +34 -34
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteCertificateRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteCertificateCommand, serializeAws_json1_1DeleteCertificateCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteCertificateCommand = (function (_super) {
7
- __extends(DeleteCertificateCommand, _super);
8
- function DeleteCertificateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteCertificateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteCertificateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "DeleteCertificateCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TransferClient";
15
+ const commandName = "DeleteCertificateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteCertificateRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteCertificateCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteCertificateCommand(input, context);
33
- };
34
- DeleteCertificateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteCertificateCommand(output, context);
36
- };
37
- return DeleteCertificateCommand;
38
- }($Command));
39
- export { DeleteCertificateCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteConnectorRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteConnectorCommand, serializeAws_json1_1DeleteConnectorCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteConnectorCommand = (function (_super) {
7
- __extends(DeleteConnectorCommand, _super);
8
- function DeleteConnectorCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteConnectorCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteConnectorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "DeleteConnectorCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TransferClient";
15
+ const commandName = "DeleteConnectorCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteConnectorRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteConnectorCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteConnectorCommand(input, context);
33
- };
34
- DeleteConnectorCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteConnectorCommand(output, context);
36
- };
37
- return DeleteConnectorCommand;
38
- }($Command));
39
- export { DeleteConnectorCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteHostKeyRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteHostKeyCommand, serializeAws_json1_1DeleteHostKeyCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteHostKeyCommand = (function (_super) {
7
- __extends(DeleteHostKeyCommand, _super);
8
- function DeleteHostKeyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteHostKeyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteHostKeyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "DeleteHostKeyCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TransferClient";
15
+ const commandName = "DeleteHostKeyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteHostKeyRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteHostKeyCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteHostKeyCommand(input, context);
33
- };
34
- DeleteHostKeyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteHostKeyCommand(output, context);
36
- };
37
- return DeleteHostKeyCommand;
38
- }($Command));
39
- export { DeleteHostKeyCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteProfileRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteProfileCommand, serializeAws_json1_1DeleteProfileCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteProfileCommand = (function (_super) {
7
- __extends(DeleteProfileCommand, _super);
8
- function DeleteProfileCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteProfileCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "DeleteProfileCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TransferClient";
15
+ const commandName = "DeleteProfileCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteProfileRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteProfileCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteProfileCommand(input, context);
33
- };
34
- DeleteProfileCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteProfileCommand(output, context);
36
- };
37
- return DeleteProfileCommand;
38
- }($Command));
39
- export { DeleteProfileCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteServerRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteServerCommand, serializeAws_json1_1DeleteServerCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteServerCommand = (function (_super) {
7
- __extends(DeleteServerCommand, _super);
8
- function DeleteServerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteServerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteServerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "DeleteServerCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TransferClient";
15
+ const commandName = "DeleteServerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteServerRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteServerCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteServerCommand(input, context);
33
- };
34
- DeleteServerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteServerCommand(output, context);
36
- };
37
- return DeleteServerCommand;
38
- }($Command));
39
- export { DeleteServerCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteSshPublicKeyRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteSshPublicKeyCommand, serializeAws_json1_1DeleteSshPublicKeyCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteSshPublicKeyCommand = (function (_super) {
7
- __extends(DeleteSshPublicKeyCommand, _super);
8
- function DeleteSshPublicKeyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteSshPublicKeyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteSshPublicKeyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "DeleteSshPublicKeyCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TransferClient";
15
+ const commandName = "DeleteSshPublicKeyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteSshPublicKeyRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteSshPublicKeyCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteSshPublicKeyCommand(input, context);
33
- };
34
- DeleteSshPublicKeyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteSshPublicKeyCommand(output, context);
36
- };
37
- return DeleteSshPublicKeyCommand;
38
- }($Command));
39
- export { DeleteSshPublicKeyCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteUserRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteUserCommand, serializeAws_json1_1DeleteUserCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteUserCommand = (function (_super) {
7
- __extends(DeleteUserCommand, _super);
8
- function DeleteUserCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteUserCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "DeleteUserCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TransferClient";
15
+ const commandName = "DeleteUserCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteUserRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteUserCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteUserCommand(input, context);
33
- };
34
- DeleteUserCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteUserCommand(output, context);
36
- };
37
- return DeleteUserCommand;
38
- }($Command));
39
- export { DeleteUserCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteWorkflowRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteWorkflowCommand, serializeAws_json1_1DeleteWorkflowCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteWorkflowCommand = (function (_super) {
7
- __extends(DeleteWorkflowCommand, _super);
8
- function DeleteWorkflowCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteWorkflowCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteWorkflowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "DeleteWorkflowCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TransferClient";
15
+ const commandName = "DeleteWorkflowCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteWorkflowRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteWorkflowCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteWorkflowCommand(input, context);
33
- };
34
- DeleteWorkflowCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteWorkflowCommand(output, context);
36
- };
37
- return DeleteWorkflowCommand;
38
- }($Command));
39
- export { DeleteWorkflowCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeAccessRequestFilterSensitiveLog, DescribeAccessResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeAccessCommand, serializeAws_json1_1DescribeAccessCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeAccessCommand = (function (_super) {
7
- __extends(DescribeAccessCommand, _super);
8
- function DescribeAccessCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeAccessCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeAccessCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "DescribeAccessCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TransferClient";
15
+ const commandName = "DescribeAccessCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeAccessRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeAccessResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeAccessCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeAccessCommand(input, context);
33
- };
34
- DescribeAccessCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeAccessCommand(output, context);
36
- };
37
- return DescribeAccessCommand;
38
- }($Command));
39
- export { DescribeAccessCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeAgreementRequestFilterSensitiveLog, DescribeAgreementResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeAgreementCommand, serializeAws_json1_1DescribeAgreementCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeAgreementCommand = (function (_super) {
7
- __extends(DescribeAgreementCommand, _super);
8
- function DescribeAgreementCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeAgreementCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeAgreementCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "DescribeAgreementCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TransferClient";
15
+ const commandName = "DescribeAgreementCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeAgreementRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeAgreementResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeAgreementCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeAgreementCommand(input, context);
33
- };
34
- DescribeAgreementCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeAgreementCommand(output, context);
36
- };
37
- return DescribeAgreementCommand;
38
- }($Command));
39
- export { DescribeAgreementCommand };
31
+ }
32
+ }