@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,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class TransferClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var TransferClient = (function (_super) {
13
+ __extends(TransferClient, _super);
14
+ function TransferClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ TransferClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return TransferClient;
38
+ }(__Client));
39
+ export { TransferClient };
@@ -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 { CreateAccessRequestFilterSensitiveLog, CreateAccessResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateAccessCommand, serializeAws_json1_1CreateAccessCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateAccessCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateAccessCommand = (function (_super) {
7
+ __extends(CreateAccessCommand, _super);
8
+ function CreateAccessCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateAccessCommand.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 = "CreateAccessCommand";
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 = "CreateAccessCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateAccessRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateAccessResponseFilterSensitiveLog,
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
+ CreateAccessCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateAccessCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateAccessCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateAccessCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateAccessCommand;
38
+ }($Command));
39
+ export { CreateAccessCommand };
@@ -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 { CreateAgreementRequestFilterSensitiveLog, CreateAgreementResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateAgreementCommand, serializeAws_json1_1CreateAgreementCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateAgreementCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateAgreementCommand = (function (_super) {
7
+ __extends(CreateAgreementCommand, _super);
8
+ function CreateAgreementCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateAgreementCommand.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 = "CreateAgreementCommand";
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 = "CreateAgreementCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateAgreementRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateAgreementResponseFilterSensitiveLog,
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
+ CreateAgreementCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateAgreementCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateAgreementCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateAgreementCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateAgreementCommand;
38
+ }($Command));
39
+ export { CreateAgreementCommand };
@@ -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 { CreateConnectorRequestFilterSensitiveLog, CreateConnectorResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateConnectorCommand, serializeAws_json1_1CreateConnectorCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateConnectorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateConnectorCommand = (function (_super) {
7
+ __extends(CreateConnectorCommand, _super);
8
+ function CreateConnectorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateConnectorCommand.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 = "CreateConnectorCommand";
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 = "CreateConnectorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateConnectorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateConnectorResponseFilterSensitiveLog,
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
+ CreateConnectorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateConnectorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateConnectorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateConnectorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateConnectorCommand;
38
+ }($Command));
39
+ export { CreateConnectorCommand };
@@ -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 { CreateProfileRequestFilterSensitiveLog, CreateProfileResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateProfileCommand, serializeAws_json1_1CreateProfileCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateProfileCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateProfileCommand = (function (_super) {
7
+ __extends(CreateProfileCommand, _super);
8
+ function CreateProfileCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateProfileCommand.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 = "CreateProfileCommand";
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 = "CreateProfileCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateProfileRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateProfileResponseFilterSensitiveLog,
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
+ CreateProfileCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateProfileCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateProfileCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateProfileCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateProfileCommand;
38
+ }($Command));
39
+ export { CreateProfileCommand };
@@ -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 { CreateServerRequestFilterSensitiveLog, CreateServerResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateServerCommand, serializeAws_json1_1CreateServerCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateServerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateServerCommand = (function (_super) {
7
+ __extends(CreateServerCommand, _super);
8
+ function CreateServerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateServerCommand.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 = "CreateServerCommand";
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 = "CreateServerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateServerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateServerResponseFilterSensitiveLog,
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
+ CreateServerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateServerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateServerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateServerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateServerCommand;
38
+ }($Command));
39
+ export { CreateServerCommand };
@@ -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 { CreateUserRequestFilterSensitiveLog, CreateUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateUserCommand, serializeAws_json1_1CreateUserCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateUserCommand = (function (_super) {
7
+ __extends(CreateUserCommand, _super);
8
+ function CreateUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateUserCommand.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 = "CreateUserCommand";
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 = "CreateUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateUserResponseFilterSensitiveLog,
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
+ CreateUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateUserCommand;
38
+ }($Command));
39
+ export { CreateUserCommand };
@@ -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 { CreateWorkflowRequestFilterSensitiveLog, CreateWorkflowResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateWorkflowCommand, serializeAws_json1_1CreateWorkflowCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateWorkflowCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateWorkflowCommand = (function (_super) {
7
+ __extends(CreateWorkflowCommand, _super);
8
+ function CreateWorkflowCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateWorkflowCommand.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 = "CreateWorkflowCommand";
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 = "CreateWorkflowCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateWorkflowRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateWorkflowResponseFilterSensitiveLog,
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
+ CreateWorkflowCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateWorkflowCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateWorkflowCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateWorkflowCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateWorkflowCommand;
38
+ }($Command));
39
+ export { CreateWorkflowCommand };
@@ -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 { DeleteAccessRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteAccessCommand, serializeAws_json1_1DeleteAccessCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteAccessCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteAccessCommand = (function (_super) {
7
+ __extends(DeleteAccessCommand, _super);
8
+ function DeleteAccessCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteAccessCommand.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 = "DeleteAccessCommand";
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 = "DeleteAccessCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteAccessRequestFilterSensitiveLog,
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
+ DeleteAccessCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteAccessCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteAccessCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteAccessCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteAccessCommand;
38
+ }($Command));
39
+ export { DeleteAccessCommand };
@@ -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 { DeleteAgreementRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteAgreementCommand, serializeAws_json1_1DeleteAgreementCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteAgreementCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteAgreementCommand = (function (_super) {
7
+ __extends(DeleteAgreementCommand, _super);
8
+ function DeleteAgreementCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteAgreementCommand.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 = "DeleteAgreementCommand";
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 = "DeleteAgreementCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteAgreementRequestFilterSensitiveLog,
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
+ DeleteAgreementCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteAgreementCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteAgreementCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteAgreementCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteAgreementCommand;
38
+ }($Command));
39
+ export { DeleteAgreementCommand };