@aws-sdk/client-transfer 3.53.0 → 3.55.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 (76) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/TransferClient.js +13 -13
  3. package/dist-cjs/commands/CreateAccessCommand.js +3 -3
  4. package/dist-cjs/commands/CreateServerCommand.js +3 -3
  5. package/dist-cjs/commands/CreateUserCommand.js +3 -3
  6. package/dist-cjs/commands/CreateWorkflowCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteAccessCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteServerCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteSshPublicKeyCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteUserCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteWorkflowCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeAccessCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeExecutionCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeSecurityPolicyCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeServerCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeUserCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeWorkflowCommand.js +3 -3
  18. package/dist-cjs/commands/ImportSshPublicKeyCommand.js +3 -3
  19. package/dist-cjs/commands/ListAccessesCommand.js +3 -3
  20. package/dist-cjs/commands/ListExecutionsCommand.js +3 -3
  21. package/dist-cjs/commands/ListSecurityPoliciesCommand.js +3 -3
  22. package/dist-cjs/commands/ListServersCommand.js +3 -3
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  24. package/dist-cjs/commands/ListUsersCommand.js +3 -3
  25. package/dist-cjs/commands/ListWorkflowsCommand.js +3 -3
  26. package/dist-cjs/commands/SendWorkflowStepStateCommand.js +3 -3
  27. package/dist-cjs/commands/StartServerCommand.js +3 -3
  28. package/dist-cjs/commands/StopServerCommand.js +3 -3
  29. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  30. package/dist-cjs/commands/TestIdentityProviderCommand.js +3 -3
  31. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  32. package/dist-cjs/commands/UpdateAccessCommand.js +3 -3
  33. package/dist-cjs/commands/UpdateServerCommand.js +3 -3
  34. package/dist-cjs/commands/UpdateUserCommand.js +3 -3
  35. package/dist-cjs/endpoints.js +1 -1
  36. package/dist-cjs/index.js +1 -0
  37. package/dist-cjs/models/models_0.js +7 -0
  38. package/dist-cjs/protocols/Aws_json1_1.js +198 -198
  39. package/dist-cjs/runtimeConfig.browser.js +4 -4
  40. package/dist-cjs/runtimeConfig.js +9 -9
  41. package/dist-cjs/runtimeConfig.native.js +1 -1
  42. package/dist-cjs/waiters/index.js +5 -0
  43. package/dist-cjs/waiters/waitForServerOffline.js +45 -0
  44. package/dist-cjs/waiters/waitForServerOnline.js +45 -0
  45. package/dist-es/Transfer.js +32 -32
  46. package/dist-es/index.js +1 -0
  47. package/dist-es/models/models_0.js +7 -0
  48. package/dist-es/pagination/ListAccessesPaginator.js +4 -4
  49. package/dist-es/pagination/ListExecutionsPaginator.js +4 -4
  50. package/dist-es/pagination/ListSecurityPoliciesPaginator.js +4 -4
  51. package/dist-es/pagination/ListServersPaginator.js +4 -4
  52. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
  53. package/dist-es/pagination/ListUsersPaginator.js +4 -4
  54. package/dist-es/pagination/ListWorkflowsPaginator.js +4 -4
  55. package/dist-es/waiters/index.js +2 -0
  56. package/dist-es/waiters/waitForServerOffline.js +60 -0
  57. package/dist-es/waiters/waitForServerOnline.js +60 -0
  58. package/dist-types/TransferClient.d.ts +2 -2
  59. package/dist-types/index.d.ts +1 -0
  60. package/dist-types/models/models_0.d.ts +96 -3
  61. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  62. package/dist-types/runtimeConfig.d.ts +1 -1
  63. package/dist-types/runtimeConfig.native.d.ts +3 -3
  64. package/dist-types/ts3.4/TransferClient.d.ts +2 -2
  65. package/dist-types/ts3.4/index.d.ts +1 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +14 -1
  67. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  68. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  69. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  70. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  71. package/dist-types/ts3.4/waiters/waitForServerOffline.d.ts +7 -0
  72. package/dist-types/ts3.4/waiters/waitForServerOnline.d.ts +7 -0
  73. package/dist-types/waiters/index.d.ts +2 -0
  74. package/dist-types/waiters/waitForServerOffline.d.ts +14 -0
  75. package/dist-types/waiters/waitForServerOnline.d.ts +14 -0
  76. package/package.json +35 -34
@@ -11,7 +11,7 @@ class StartServerCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "TransferClient";
@@ -27,10 +27,10 @@ class StartServerCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1StartServerCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StartServerCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StartServerCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StartServerCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartServerCommand = StartServerCommand;
@@ -11,7 +11,7 @@ class StopServerCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "TransferClient";
@@ -27,10 +27,10 @@ class StopServerCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1StopServerCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StopServerCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StopServerCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StopServerCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StopServerCommand = StopServerCommand;
@@ -11,7 +11,7 @@ class TagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "TransferClient";
@@ -27,10 +27,10 @@ class TagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1TagResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1TagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.TagResourceCommand = TagResourceCommand;
@@ -11,7 +11,7 @@ class TestIdentityProviderCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "TransferClient";
@@ -27,10 +27,10 @@ class TestIdentityProviderCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1TestIdentityProviderCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1TestIdentityProviderCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1TestIdentityProviderCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1TestIdentityProviderCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.TestIdentityProviderCommand = TestIdentityProviderCommand;
@@ -11,7 +11,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "TransferClient";
@@ -27,10 +27,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -11,7 +11,7 @@ class UpdateAccessCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "TransferClient";
@@ -27,10 +27,10 @@ class UpdateAccessCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1UpdateAccessCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateAccessCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateAccessCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateAccessCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateAccessCommand = UpdateAccessCommand;
@@ -11,7 +11,7 @@ class UpdateServerCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "TransferClient";
@@ -27,10 +27,10 @@ class UpdateServerCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1UpdateServerCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateServerCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateServerCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateServerCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateServerCommand = UpdateServerCommand;
@@ -11,7 +11,7 @@ class UpdateUserCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "TransferClient";
@@ -27,10 +27,10 @@ class UpdateUserCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1UpdateUserCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateUserCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateUserCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateUserCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateUserCommand = UpdateUserCommand;
@@ -184,7 +184,7 @@ const partitionHash = {
184
184
  ],
185
185
  },
186
186
  };
187
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
187
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
188
188
  ...options,
189
189
  signingService: "transfer",
190
190
  regionHash,
package/dist-cjs/index.js CHANGED
@@ -7,5 +7,6 @@ tslib_1.__exportStar(require("./TransferClient"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
8
  tslib_1.__exportStar(require("./models"), exports);
9
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ tslib_1.__exportStar(require("./waiters"), exports);
10
11
  var TransferServiceException_1 = require("./models/TransferServiceException");
11
12
  Object.defineProperty(exports, "TransferServiceException", { enumerable: true, get: function () { return TransferServiceException_1.TransferServiceException; } });
@@ -392,7 +392,14 @@ var LoggingConfiguration;
392
392
  })(LoggingConfiguration = exports.LoggingConfiguration || (exports.LoggingConfiguration = {}));
393
393
  var ExecutionErrorType;
394
394
  (function (ExecutionErrorType) {
395
+ ExecutionErrorType["ALREADY_EXISTS"] = "ALREADY_EXISTS";
396
+ ExecutionErrorType["BAD_REQUEST"] = "BAD_REQUEST";
397
+ ExecutionErrorType["CUSTOM_STEP_FAILED"] = "CUSTOM_STEP_FAILED";
398
+ ExecutionErrorType["INTERNAL_SERVER_ERROR"] = "INTERNAL_SERVER_ERROR";
399
+ ExecutionErrorType["NOT_FOUND"] = "NOT_FOUND";
395
400
  ExecutionErrorType["PERMISSION_DENIED"] = "PERMISSION_DENIED";
401
+ ExecutionErrorType["THROTTLED"] = "THROTTLED";
402
+ ExecutionErrorType["TIMEOUT"] = "TIMEOUT";
396
403
  })(ExecutionErrorType = exports.ExecutionErrorType || (exports.ExecutionErrorType = {}));
397
404
  var ExecutionError;
398
405
  (function (ExecutionError) {