@aws-sdk/client-datasync 3.50.0 → 3.53.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 (73) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/DataSyncServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +32 -3
  5. package/dist-cjs/protocols/Aws_json1_1.js +274 -903
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/DataSyncServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +28 -1
  9. package/dist-es/protocols/Aws_json1_1.js +675 -1060
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/DataSyncServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +16 -9
  13. package/dist-types/ts3.4/DataSync.d.ts +205 -0
  14. package/dist-types/ts3.4/DataSyncClient.d.ts +113 -0
  15. package/dist-types/ts3.4/commands/CancelTaskExecutionCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateAgentCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateLocationEfsCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateLocationFsxLustreCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateLocationFsxWindowsCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateLocationHdfsCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreateLocationNfsCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/CreateLocationObjectStorageCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/CreateLocationS3Command.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/CreateLocationSmbCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/CreateTaskCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DeleteAgentCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DeleteLocationCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DeleteTaskCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DescribeAgentCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DescribeLocationEfsCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DescribeLocationFsxLustreCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/DescribeLocationFsxWindowsCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/DescribeLocationHdfsCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/DescribeLocationNfsCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DescribeLocationObjectStorageCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DescribeLocationS3Command.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/DescribeLocationSmbCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DescribeTaskCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/DescribeTaskExecutionCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/ListAgentsCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/ListLocationsCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/ListTaskExecutionsCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/StartTaskExecutionCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/UpdateAgentCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/UpdateLocationHdfsCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/UpdateLocationNfsCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/UpdateLocationObjectStorageCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/UpdateLocationSmbCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/UpdateTaskCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/UpdateTaskExecutionCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/index.d.ts +40 -0
  56. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  57. package/dist-types/ts3.4/index.d.ts +6 -0
  58. package/dist-types/ts3.4/models/DataSyncServiceException.d.ts +6 -0
  59. package/dist-types/ts3.4/models/index.d.ts +1 -0
  60. package/dist-types/ts3.4/models/models_0.d.ts +1464 -0
  61. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  62. package/dist-types/ts3.4/pagination/ListAgentsPaginator.d.ts +4 -0
  63. package/dist-types/ts3.4/pagination/ListLocationsPaginator.d.ts +4 -0
  64. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  65. package/dist-types/ts3.4/pagination/ListTaskExecutionsPaginator.d.ts +4 -0
  66. package/dist-types/ts3.4/pagination/ListTasksPaginator.d.ts +4 -0
  67. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  68. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +122 -0
  69. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  70. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  71. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  72. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  73. package/package.json +33 -33
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./DataSyncClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { DataSyncServiceException } from "./models/DataSyncServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var DataSyncServiceException = (function (_super) {
4
+ __extends(DataSyncServiceException, _super);
5
+ function DataSyncServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, DataSyncServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return DataSyncServiceException;
11
+ }(__ServiceException));
12
+ export { DataSyncServiceException };
@@ -1,5 +1,6 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { DataSyncServiceException as __BaseException } from "./DataSyncServiceException";
3
4
  export var AgentStatus;
4
5
  (function (AgentStatus) {
5
6
  AgentStatus["OFFLINE"] = "OFFLINE";
@@ -22,6 +23,32 @@ export var CancelTaskExecutionResponse;
22
23
  (function (CancelTaskExecutionResponse) {
23
24
  CancelTaskExecutionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
24
25
  })(CancelTaskExecutionResponse || (CancelTaskExecutionResponse = {}));
26
+ var InternalException = (function (_super) {
27
+ __extends(InternalException, _super);
28
+ function InternalException(opts) {
29
+ var _this = _super.call(this, __assign({ name: "InternalException", $fault: "server" }, opts)) || this;
30
+ _this.name = "InternalException";
31
+ _this.$fault = "server";
32
+ Object.setPrototypeOf(_this, InternalException.prototype);
33
+ _this.errorCode = opts.errorCode;
34
+ return _this;
35
+ }
36
+ return InternalException;
37
+ }(__BaseException));
38
+ export { InternalException };
39
+ var InvalidRequestException = (function (_super) {
40
+ __extends(InvalidRequestException, _super);
41
+ function InvalidRequestException(opts) {
42
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
43
+ _this.name = "InvalidRequestException";
44
+ _this.$fault = "client";
45
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
46
+ _this.errorCode = opts.errorCode;
47
+ return _this;
48
+ }
49
+ return InvalidRequestException;
50
+ }(__BaseException));
51
+ export { InvalidRequestException };
25
52
  export var TagListEntry;
26
53
  (function (TagListEntry) {
27
54
  TagListEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };