@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.
Files changed (84) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/Transfer.js +241 -234
  4. package/dist-es/TransferClient.js +28 -22
  5. package/dist-es/commands/CreateAccessCommand.js +28 -21
  6. package/dist-es/commands/CreateAgreementCommand.js +28 -21
  7. package/dist-es/commands/CreateConnectorCommand.js +28 -21
  8. package/dist-es/commands/CreateProfileCommand.js +28 -21
  9. package/dist-es/commands/CreateServerCommand.js +28 -21
  10. package/dist-es/commands/CreateUserCommand.js +28 -21
  11. package/dist-es/commands/CreateWorkflowCommand.js +28 -21
  12. package/dist-es/commands/DeleteAccessCommand.js +29 -22
  13. package/dist-es/commands/DeleteAgreementCommand.js +29 -22
  14. package/dist-es/commands/DeleteCertificateCommand.js +29 -22
  15. package/dist-es/commands/DeleteConnectorCommand.js +29 -22
  16. package/dist-es/commands/DeleteHostKeyCommand.js +29 -22
  17. package/dist-es/commands/DeleteProfileCommand.js +29 -22
  18. package/dist-es/commands/DeleteServerCommand.js +29 -22
  19. package/dist-es/commands/DeleteSshPublicKeyCommand.js +29 -22
  20. package/dist-es/commands/DeleteUserCommand.js +29 -22
  21. package/dist-es/commands/DeleteWorkflowCommand.js +29 -22
  22. package/dist-es/commands/DescribeAccessCommand.js +28 -21
  23. package/dist-es/commands/DescribeAgreementCommand.js +28 -21
  24. package/dist-es/commands/DescribeCertificateCommand.js +28 -21
  25. package/dist-es/commands/DescribeConnectorCommand.js +28 -21
  26. package/dist-es/commands/DescribeExecutionCommand.js +28 -21
  27. package/dist-es/commands/DescribeHostKeyCommand.js +28 -21
  28. package/dist-es/commands/DescribeProfileCommand.js +28 -21
  29. package/dist-es/commands/DescribeSecurityPolicyCommand.js +28 -21
  30. package/dist-es/commands/DescribeServerCommand.js +28 -21
  31. package/dist-es/commands/DescribeUserCommand.js +28 -21
  32. package/dist-es/commands/DescribeWorkflowCommand.js +28 -21
  33. package/dist-es/commands/ImportCertificateCommand.js +28 -21
  34. package/dist-es/commands/ImportHostKeyCommand.js +28 -21
  35. package/dist-es/commands/ImportSshPublicKeyCommand.js +28 -21
  36. package/dist-es/commands/ListAccessesCommand.js +28 -21
  37. package/dist-es/commands/ListAgreementsCommand.js +28 -21
  38. package/dist-es/commands/ListCertificatesCommand.js +28 -21
  39. package/dist-es/commands/ListConnectorsCommand.js +28 -21
  40. package/dist-es/commands/ListExecutionsCommand.js +28 -21
  41. package/dist-es/commands/ListHostKeysCommand.js +28 -21
  42. package/dist-es/commands/ListProfilesCommand.js +28 -21
  43. package/dist-es/commands/ListSecurityPoliciesCommand.js +28 -21
  44. package/dist-es/commands/ListServersCommand.js +28 -21
  45. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  46. package/dist-es/commands/ListUsersCommand.js +28 -21
  47. package/dist-es/commands/ListWorkflowsCommand.js +28 -21
  48. package/dist-es/commands/SendWorkflowStepStateCommand.js +28 -21
  49. package/dist-es/commands/StartFileTransferCommand.js +28 -21
  50. package/dist-es/commands/StartServerCommand.js +29 -22
  51. package/dist-es/commands/StopServerCommand.js +29 -22
  52. package/dist-es/commands/TagResourceCommand.js +29 -22
  53. package/dist-es/commands/TestIdentityProviderCommand.js +28 -21
  54. package/dist-es/commands/UntagResourceCommand.js +29 -22
  55. package/dist-es/commands/UpdateAccessCommand.js +28 -21
  56. package/dist-es/commands/UpdateAgreementCommand.js +28 -21
  57. package/dist-es/commands/UpdateCertificateCommand.js +28 -21
  58. package/dist-es/commands/UpdateConnectorCommand.js +28 -21
  59. package/dist-es/commands/UpdateHostKeyCommand.js +28 -21
  60. package/dist-es/commands/UpdateProfileCommand.js +28 -21
  61. package/dist-es/commands/UpdateServerCommand.js +28 -21
  62. package/dist-es/commands/UpdateUserCommand.js +28 -21
  63. package/dist-es/endpoints.js +8 -8
  64. package/dist-es/models/TransferServiceException.js +10 -5
  65. package/dist-es/models/models_0.js +263 -572
  66. package/dist-es/pagination/ListAccessesPaginator.js +68 -25
  67. package/dist-es/pagination/ListAgreementsPaginator.js +68 -25
  68. package/dist-es/pagination/ListCertificatesPaginator.js +68 -25
  69. package/dist-es/pagination/ListConnectorsPaginator.js +68 -25
  70. package/dist-es/pagination/ListExecutionsPaginator.js +68 -25
  71. package/dist-es/pagination/ListProfilesPaginator.js +68 -25
  72. package/dist-es/pagination/ListSecurityPoliciesPaginator.js +68 -25
  73. package/dist-es/pagination/ListServersPaginator.js +68 -25
  74. package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
  75. package/dist-es/pagination/ListUsersPaginator.js +68 -25
  76. package/dist-es/pagination/ListWorkflowsPaginator.js +68 -25
  77. package/dist-es/protocols/Aws_json1_1.js +5067 -3961
  78. package/dist-es/runtimeConfig.browser.js +12 -26
  79. package/dist-es/runtimeConfig.js +12 -30
  80. package/dist-es/runtimeConfig.native.js +5 -8
  81. package/dist-es/runtimeConfig.shared.js +11 -8
  82. package/dist-es/waiters/waitForServerOffline.js +56 -36
  83. package/dist-es/waiters/waitForServerOnline.js +56 -36
  84. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListServersRequestFilterSensitiveLog, ListServersResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListServersCommand, serializeAws_json1_1ListServersCommand, } from "../protocols/Aws_json1_1";
5
- export class ListServersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListServersCommand = (function (_super) {
7
+ __extends(ListServersCommand, _super);
8
+ function ListServersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListServersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "TransferClient";
15
- const commandName = "ListServersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TransferClient";
18
+ var commandName = "ListServersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListServersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListServersResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListServersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListServersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListServersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListServersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListServersCommand;
38
+ }($Command));
39
+ export { ListServersCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "TransferClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TransferClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListUsersRequestFilterSensitiveLog, ListUsersResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListUsersCommand, serializeAws_json1_1ListUsersCommand } from "../protocols/Aws_json1_1";
5
- export class ListUsersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListUsersCommand = (function (_super) {
7
+ __extends(ListUsersCommand, _super);
8
+ function ListUsersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListUsersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "TransferClient";
15
- const commandName = "ListUsersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TransferClient";
18
+ var commandName = "ListUsersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListUsersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListUsersResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListUsersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListUsersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListUsersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListUsersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListUsersCommand;
38
+ }($Command));
39
+ export { ListUsersCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListWorkflowsRequestFilterSensitiveLog, ListWorkflowsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListWorkflowsCommand, serializeAws_json1_1ListWorkflowsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListWorkflowsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListWorkflowsCommand = (function (_super) {
7
+ __extends(ListWorkflowsCommand, _super);
8
+ function ListWorkflowsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListWorkflowsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "TransferClient";
15
- const commandName = "ListWorkflowsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TransferClient";
18
+ var commandName = "ListWorkflowsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListWorkflowsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListWorkflowsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListWorkflowsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListWorkflowsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListWorkflowsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListWorkflowsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListWorkflowsCommand;
38
+ }($Command));
39
+ export { ListWorkflowsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { SendWorkflowStepStateRequestFilterSensitiveLog, SendWorkflowStepStateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1SendWorkflowStepStateCommand, serializeAws_json1_1SendWorkflowStepStateCommand, } from "../protocols/Aws_json1_1";
5
- export class SendWorkflowStepStateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SendWorkflowStepStateCommand = (function (_super) {
7
+ __extends(SendWorkflowStepStateCommand, _super);
8
+ function SendWorkflowStepStateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SendWorkflowStepStateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "TransferClient";
15
- const commandName = "SendWorkflowStepStateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TransferClient";
18
+ var commandName = "SendWorkflowStepStateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SendWorkflowStepStateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SendWorkflowStepStateResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ SendWorkflowStepStateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1SendWorkflowStepStateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SendWorkflowStepStateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1SendWorkflowStepStateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SendWorkflowStepStateCommand;
38
+ }($Command));
39
+ export { SendWorkflowStepStateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StartFileTransferRequestFilterSensitiveLog, StartFileTransferResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StartFileTransferCommand, serializeAws_json1_1StartFileTransferCommand, } from "../protocols/Aws_json1_1";
5
- export class StartFileTransferCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartFileTransferCommand = (function (_super) {
7
+ __extends(StartFileTransferCommand, _super);
8
+ function StartFileTransferCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartFileTransferCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "TransferClient";
15
- const commandName = "StartFileTransferCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TransferClient";
18
+ var commandName = "StartFileTransferCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartFileTransferRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartFileTransferResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartFileTransferCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StartFileTransferCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartFileTransferCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StartFileTransferCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartFileTransferCommand;
38
+ }($Command));
39
+ export { StartFileTransferCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StartServerRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StartServerCommand, serializeAws_json1_1StartServerCommand, } from "../protocols/Aws_json1_1";
5
- export class StartServerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartServerCommand = (function (_super) {
7
+ __extends(StartServerCommand, _super);
8
+ function StartServerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartServerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "TransferClient";
15
- const commandName = "StartServerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TransferClient";
18
+ var commandName = "StartServerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartServerRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartServerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StartServerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartServerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StartServerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartServerCommand;
38
+ }($Command));
39
+ export { StartServerCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StopServerRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StopServerCommand, serializeAws_json1_1StopServerCommand, } from "../protocols/Aws_json1_1";
5
- export class StopServerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StopServerCommand = (function (_super) {
7
+ __extends(StopServerCommand, _super);
8
+ function StopServerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StopServerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "TransferClient";
15
- const commandName = "StopServerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TransferClient";
18
+ var commandName = "StopServerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StopServerRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StopServerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StopServerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StopServerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StopServerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StopServerCommand;
38
+ }($Command));
39
+ export { StopServerCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "TransferClient";
15
- const commandName = "TagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TransferClient";
18
+ var commandName = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { TestIdentityProviderRequestFilterSensitiveLog, TestIdentityProviderResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1TestIdentityProviderCommand, serializeAws_json1_1TestIdentityProviderCommand, } from "../protocols/Aws_json1_1";
5
- export class TestIdentityProviderCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TestIdentityProviderCommand = (function (_super) {
7
+ __extends(TestIdentityProviderCommand, _super);
8
+ function TestIdentityProviderCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TestIdentityProviderCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "TransferClient";
15
- const commandName = "TestIdentityProviderCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TransferClient";
18
+ var commandName = "TestIdentityProviderCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TestIdentityProviderRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TestIdentityProviderResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TestIdentityProviderCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1TestIdentityProviderCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TestIdentityProviderCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1TestIdentityProviderCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TestIdentityProviderCommand;
38
+ }($Command));
39
+ export { TestIdentityProviderCommand };