@aws-sdk/client-datasync 3.36.0 → 3.36.1

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 (92) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/DataSync.js +0 -9
  3. package/dist-cjs/DataSyncClient.js +0 -14
  4. package/dist-cjs/commands/CancelTaskExecutionCommand.js +0 -31
  5. package/dist-cjs/commands/CreateAgentCommand.js +0 -38
  6. package/dist-cjs/commands/CreateLocationEfsCommand.js +0 -24
  7. package/dist-cjs/commands/CreateLocationFsxWindowsCommand.js +0 -24
  8. package/dist-cjs/commands/CreateLocationNfsCommand.js +0 -25
  9. package/dist-cjs/commands/CreateLocationObjectStorageCommand.js +0 -25
  10. package/dist-cjs/commands/CreateLocationS3Command.js +0 -30
  11. package/dist-cjs/commands/CreateLocationSmbCommand.js +0 -25
  12. package/dist-cjs/commands/CreateTaskCommand.js +0 -42
  13. package/dist-cjs/commands/DeleteAgentCommand.js +0 -27
  14. package/dist-cjs/commands/DeleteLocationCommand.js +0 -24
  15. package/dist-cjs/commands/DeleteTaskCommand.js +0 -24
  16. package/dist-cjs/commands/DescribeAgentCommand.js +0 -26
  17. package/dist-cjs/commands/DescribeLocationEfsCommand.js +0 -24
  18. package/dist-cjs/commands/DescribeLocationFsxWindowsCommand.js +0 -25
  19. package/dist-cjs/commands/DescribeLocationNfsCommand.js +0 -24
  20. package/dist-cjs/commands/DescribeLocationObjectStorageCommand.js +0 -25
  21. package/dist-cjs/commands/DescribeLocationS3Command.js +0 -24
  22. package/dist-cjs/commands/DescribeLocationSmbCommand.js +0 -24
  23. package/dist-cjs/commands/DescribeTaskCommand.js +0 -24
  24. package/dist-cjs/commands/DescribeTaskExecutionCommand.js +0 -24
  25. package/dist-cjs/commands/ListAgentsCommand.js +0 -31
  26. package/dist-cjs/commands/ListLocationsCommand.js +0 -27
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  28. package/dist-cjs/commands/ListTaskExecutionsCommand.js +0 -24
  29. package/dist-cjs/commands/ListTasksCommand.js +0 -24
  30. package/dist-cjs/commands/StartTaskExecutionCommand.js +0 -32
  31. package/dist-cjs/commands/TagResourceCommand.js +0 -24
  32. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  33. package/dist-cjs/commands/UpdateAgentCommand.js +0 -24
  34. package/dist-cjs/commands/UpdateLocationNfsCommand.js +0 -25
  35. package/dist-cjs/commands/UpdateLocationObjectStorageCommand.js +0 -26
  36. package/dist-cjs/commands/UpdateLocationSmbCommand.js +0 -26
  37. package/dist-cjs/commands/UpdateTaskCommand.js +0 -24
  38. package/dist-cjs/commands/UpdateTaskExecutionCommand.js +0 -33
  39. package/dist-cjs/models/models_0.js +0 -267
  40. package/dist-cjs/pagination/ListAgentsPaginator.js +0 -10
  41. package/dist-cjs/pagination/ListLocationsPaginator.js +0 -10
  42. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -10
  43. package/dist-cjs/pagination/ListTaskExecutionsPaginator.js +0 -10
  44. package/dist-cjs/pagination/ListTasksPaginator.js +0 -10
  45. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  46. package/dist-cjs/runtimeConfig.browser.js +1 -5
  47. package/dist-cjs/runtimeConfig.js +1 -5
  48. package/dist-cjs/runtimeConfig.native.js +0 -3
  49. package/dist-cjs/runtimeConfig.shared.js +0 -3
  50. package/dist-types/ts3.4/DataSync.d.ts +36 -201
  51. package/dist-types/ts3.4/DataSyncClient.d.ts +24 -95
  52. package/dist-types/ts3.4/commands/CancelTaskExecutionCommand.d.ts +2 -27
  53. package/dist-types/ts3.4/commands/CreateAgentCommand.d.ts +2 -34
  54. package/dist-types/ts3.4/commands/CreateLocationEfsCommand.d.ts +2 -20
  55. package/dist-types/ts3.4/commands/CreateLocationFsxWindowsCommand.d.ts +2 -20
  56. package/dist-types/ts3.4/commands/CreateLocationNfsCommand.d.ts +2 -21
  57. package/dist-types/ts3.4/commands/CreateLocationObjectStorageCommand.d.ts +2 -21
  58. package/dist-types/ts3.4/commands/CreateLocationS3Command.d.ts +2 -26
  59. package/dist-types/ts3.4/commands/CreateLocationSmbCommand.d.ts +2 -21
  60. package/dist-types/ts3.4/commands/CreateTaskCommand.d.ts +2 -38
  61. package/dist-types/ts3.4/commands/DeleteAgentCommand.d.ts +2 -23
  62. package/dist-types/ts3.4/commands/DeleteLocationCommand.d.ts +2 -20
  63. package/dist-types/ts3.4/commands/DeleteTaskCommand.d.ts +2 -20
  64. package/dist-types/ts3.4/commands/DescribeAgentCommand.d.ts +2 -22
  65. package/dist-types/ts3.4/commands/DescribeLocationEfsCommand.d.ts +2 -20
  66. package/dist-types/ts3.4/commands/DescribeLocationFsxWindowsCommand.d.ts +2 -21
  67. package/dist-types/ts3.4/commands/DescribeLocationNfsCommand.d.ts +2 -20
  68. package/dist-types/ts3.4/commands/DescribeLocationObjectStorageCommand.d.ts +2 -21
  69. package/dist-types/ts3.4/commands/DescribeLocationS3Command.d.ts +2 -20
  70. package/dist-types/ts3.4/commands/DescribeLocationSmbCommand.d.ts +2 -20
  71. package/dist-types/ts3.4/commands/DescribeTaskCommand.d.ts +2 -20
  72. package/dist-types/ts3.4/commands/DescribeTaskExecutionCommand.d.ts +2 -20
  73. package/dist-types/ts3.4/commands/ListAgentsCommand.d.ts +2 -27
  74. package/dist-types/ts3.4/commands/ListLocationsCommand.d.ts +2 -23
  75. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  76. package/dist-types/ts3.4/commands/ListTaskExecutionsCommand.d.ts +2 -20
  77. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +2 -20
  78. package/dist-types/ts3.4/commands/StartTaskExecutionCommand.d.ts +2 -28
  79. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  80. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  81. package/dist-types/ts3.4/commands/UpdateAgentCommand.d.ts +2 -20
  82. package/dist-types/ts3.4/commands/UpdateLocationNfsCommand.d.ts +2 -21
  83. package/dist-types/ts3.4/commands/UpdateLocationObjectStorageCommand.d.ts +2 -22
  84. package/dist-types/ts3.4/commands/UpdateLocationSmbCommand.d.ts +2 -22
  85. package/dist-types/ts3.4/commands/UpdateTaskCommand.d.ts +2 -20
  86. package/dist-types/ts3.4/commands/UpdateTaskExecutionCommand.d.ts +2 -29
  87. package/dist-types/ts3.4/models/models_0.d.ts +419 -1922
  88. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  89. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  90. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  91. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  92. package/package.json +3 -3
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Updates some of the parameters of a previously created location for self-managed object
10
- * storage server access. For information about creating a self-managed object storage location,
11
- * see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html">Creating a location for object storage</a>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { DataSyncClient, UpdateLocationObjectStorageCommand } from "@aws-sdk/client-datasync"; // ES Modules import
16
- * // const { DataSyncClient, UpdateLocationObjectStorageCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
17
- * const client = new DataSyncClient(config);
18
- * const command = new UpdateLocationObjectStorageCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link UpdateLocationObjectStorageCommandInput} for command's `input` shape.
23
- * @see {@link UpdateLocationObjectStorageCommandOutput} for command's `response` shape.
24
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class UpdateLocationObjectStorageCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Updates some of the parameters of a previously created location for Server Message Block
10
- * (SMB) file system access. For information about creating an SMB location, see
11
- * <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html">Creating a location for SMB</a>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { DataSyncClient, UpdateLocationSmbCommand } from "@aws-sdk/client-datasync"; // ES Modules import
16
- * // const { DataSyncClient, UpdateLocationSmbCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
17
- * const client = new DataSyncClient(config);
18
- * const command = new UpdateLocationSmbCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link UpdateLocationSmbCommandInput} for command's `input` shape.
23
- * @see {@link UpdateLocationSmbCommandOutput} for command's `response` shape.
24
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class UpdateLocationSmbCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Updates the metadata associated with a task.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DataSyncClient, UpdateTaskCommand } from "@aws-sdk/client-datasync"; // ES Modules import
14
- * // const { DataSyncClient, UpdateTaskCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
15
- * const client = new DataSyncClient(config);
16
- * const command = new UpdateTaskCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateTaskCommandInput} for command's `input` shape.
21
- * @see {@link UpdateTaskCommandOutput} for command's `response` shape.
22
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateTaskCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,44 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Updates execution of a task.</p>
10
- * <p>You can modify bandwidth throttling for a task execution that is running or queued.
11
- * For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#adjust-bandwidth-throttling">Adjusting Bandwidth Throttling for a Task Execution</a>.</p>
12
- *
13
- * <note>
14
- * <p>The only <code>Option</code> that can be modified by <code>UpdateTaskExecution</code>
15
- * is <code>
16
- * <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-BytesPerSecond">BytesPerSecond</a>
17
- * </code>.</p>
18
- * </note>
19
- * @example
20
- * Use a bare-bones client and the command you need to make an API call.
21
- * ```javascript
22
- * import { DataSyncClient, UpdateTaskExecutionCommand } from "@aws-sdk/client-datasync"; // ES Modules import
23
- * // const { DataSyncClient, UpdateTaskExecutionCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
24
- * const client = new DataSyncClient(config);
25
- * const command = new UpdateTaskExecutionCommand(input);
26
- * const response = await client.send(command);
27
- * ```
28
- *
29
- * @see {@link UpdateTaskExecutionCommandInput} for command's `input` shape.
30
- * @see {@link UpdateTaskExecutionCommandOutput} for command's `response` shape.
31
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
32
- *
33
- */
34
8
  class UpdateTaskExecutionCommand extends smithy_client_1.Command {
35
- // Start section: command_properties
36
- // End section: command_properties
37
9
  constructor(input) {
38
- // Start section: command_constructor
39
10
  super();
40
11
  this.input = input;
41
- // End section: command_constructor
42
12
  }
43
- /**
44
- * @internal
45
- */
46
13
  resolveMiddleware(clientStack, configuration, options) {
47
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
48
15
  const stack = clientStack.concat(this.middlewareStack);