@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 { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.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 = "UntagResourceCommand";
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 = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
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
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -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 { UpdateAccessRequestFilterSensitiveLog, UpdateAccessResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateAccessCommand, serializeAws_json1_1UpdateAccessCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateAccessCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateAccessCommand = (function (_super) {
7
+ __extends(UpdateAccessCommand, _super);
8
+ function UpdateAccessCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateAccessCommand.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 = "UpdateAccessCommand";
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 = "UpdateAccessCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateAccessRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateAccessResponseFilterSensitiveLog,
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
+ UpdateAccessCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateAccessCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateAccessCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateAccessCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateAccessCommand;
38
+ }($Command));
39
+ export { UpdateAccessCommand };
@@ -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 { UpdateAgreementRequestFilterSensitiveLog, UpdateAgreementResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateAgreementCommand, serializeAws_json1_1UpdateAgreementCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateAgreementCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateAgreementCommand = (function (_super) {
7
+ __extends(UpdateAgreementCommand, _super);
8
+ function UpdateAgreementCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateAgreementCommand.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 = "UpdateAgreementCommand";
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 = "UpdateAgreementCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateAgreementRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateAgreementResponseFilterSensitiveLog,
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
+ UpdateAgreementCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateAgreementCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateAgreementCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateAgreementCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateAgreementCommand;
38
+ }($Command));
39
+ export { UpdateAgreementCommand };
@@ -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 { UpdateCertificateRequestFilterSensitiveLog, UpdateCertificateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateCertificateCommand, serializeAws_json1_1UpdateCertificateCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateCertificateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateCertificateCommand = (function (_super) {
7
+ __extends(UpdateCertificateCommand, _super);
8
+ function UpdateCertificateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateCertificateCommand.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 = "UpdateCertificateCommand";
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 = "UpdateCertificateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateCertificateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateCertificateResponseFilterSensitiveLog,
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
+ UpdateCertificateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateCertificateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateCertificateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateCertificateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateCertificateCommand;
38
+ }($Command));
39
+ export { UpdateCertificateCommand };
@@ -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 { UpdateConnectorRequestFilterSensitiveLog, UpdateConnectorResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateConnectorCommand, serializeAws_json1_1UpdateConnectorCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateConnectorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateConnectorCommand = (function (_super) {
7
+ __extends(UpdateConnectorCommand, _super);
8
+ function UpdateConnectorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateConnectorCommand.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 = "UpdateConnectorCommand";
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 = "UpdateConnectorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateConnectorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateConnectorResponseFilterSensitiveLog,
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
+ UpdateConnectorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateConnectorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateConnectorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateConnectorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateConnectorCommand;
38
+ }($Command));
39
+ export { UpdateConnectorCommand };
@@ -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 { UpdateHostKeyRequestFilterSensitiveLog, UpdateHostKeyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateHostKeyCommand, serializeAws_json1_1UpdateHostKeyCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateHostKeyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateHostKeyCommand = (function (_super) {
7
+ __extends(UpdateHostKeyCommand, _super);
8
+ function UpdateHostKeyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateHostKeyCommand.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 = "UpdateHostKeyCommand";
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 = "UpdateHostKeyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateHostKeyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateHostKeyResponseFilterSensitiveLog,
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
+ UpdateHostKeyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateHostKeyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateHostKeyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateHostKeyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateHostKeyCommand;
38
+ }($Command));
39
+ export { UpdateHostKeyCommand };
@@ -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 { UpdateProfileRequestFilterSensitiveLog, UpdateProfileResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateProfileCommand, serializeAws_json1_1UpdateProfileCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateProfileCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateProfileCommand = (function (_super) {
7
+ __extends(UpdateProfileCommand, _super);
8
+ function UpdateProfileCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateProfileCommand.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 = "UpdateProfileCommand";
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 = "UpdateProfileCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateProfileRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateProfileResponseFilterSensitiveLog,
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
+ UpdateProfileCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateProfileCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateProfileCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateProfileCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateProfileCommand;
38
+ }($Command));
39
+ export { UpdateProfileCommand };
@@ -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 { UpdateServerRequestFilterSensitiveLog, UpdateServerResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateServerCommand, serializeAws_json1_1UpdateServerCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateServerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateServerCommand = (function (_super) {
7
+ __extends(UpdateServerCommand, _super);
8
+ function UpdateServerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateServerCommand.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 = "UpdateServerCommand";
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 = "UpdateServerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateServerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateServerResponseFilterSensitiveLog,
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
+ UpdateServerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateServerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateServerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateServerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateServerCommand;
38
+ }($Command));
39
+ export { UpdateServerCommand };
@@ -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 { UpdateUserRequestFilterSensitiveLog, UpdateUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateUserCommand, serializeAws_json1_1UpdateUserCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateUserCommand = (function (_super) {
7
+ __extends(UpdateUserCommand, _super);
8
+ function UpdateUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateUserCommand.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 = "UpdateUserCommand";
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 = "UpdateUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateUserResponseFilterSensitiveLog,
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
+ UpdateUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateUserCommand;
38
+ }($Command));
39
+ export { UpdateUserCommand };
@@ -1,5 +1,6 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
+ var regionHash = {
3
4
  "ca-central-1": {
4
5
  variants: [
5
6
  {
@@ -57,7 +58,7 @@ const regionHash = {
57
58
  ],
58
59
  },
59
60
  };
60
- const partitionHash = {
61
+ var partitionHash = {
61
62
  aws: {
62
63
  regions: [
63
64
  "af-south-1",
@@ -182,9 +183,8 @@ const partitionHash = {
182
183
  ],
183
184
  },
184
185
  };
185
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
186
- ...options,
187
- signingService: "transfer",
188
- regionHash,
189
- partitionHash,
190
- });
186
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
187
+ return __generator(this, function (_a) {
188
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "transfer", regionHash: regionHash, partitionHash: partitionHash }))];
189
+ });
190
+ }); };
@@ -1,7 +1,12 @@
1
+ import { __extends } from "tslib";
1
2
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
- export class TransferServiceException extends __ServiceException {
3
- constructor(options) {
4
- super(options);
5
- Object.setPrototypeOf(this, TransferServiceException.prototype);
3
+ var TransferServiceException = (function (_super) {
4
+ __extends(TransferServiceException, _super);
5
+ function TransferServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, TransferServiceException.prototype);
8
+ return _this;
6
9
  }
7
- }
10
+ return TransferServiceException;
11
+ }(__ServiceException));
12
+ export { TransferServiceException };