@aws-sdk/client-datasync 3.714.0 → 3.715.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 (41) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +246 -0
  3. package/dist-es/DataSync.js +12 -0
  4. package/dist-es/commands/UpdateLocationEfsCommand.js +22 -0
  5. package/dist-es/commands/UpdateLocationFsxLustreCommand.js +22 -0
  6. package/dist-es/commands/UpdateLocationFsxOntapCommand.js +23 -0
  7. package/dist-es/commands/UpdateLocationFsxOpenZfsCommand.js +23 -0
  8. package/dist-es/commands/UpdateLocationFsxWindowsCommand.js +23 -0
  9. package/dist-es/commands/UpdateLocationS3Command.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_0.js +20 -0
  12. package/dist-es/protocols/Aws_json1_1.js +114 -0
  13. package/dist-types/DataSync.d.ts +42 -0
  14. package/dist-types/DataSyncClient.d.ts +8 -2
  15. package/dist-types/commands/CreateLocationNfsCommand.d.ts +0 -5
  16. package/dist-types/commands/UpdateLocationAzureBlobCommand.d.ts +2 -1
  17. package/dist-types/commands/UpdateLocationEfsCommand.d.ts +81 -0
  18. package/dist-types/commands/UpdateLocationFsxLustreCommand.d.ts +78 -0
  19. package/dist-types/commands/UpdateLocationFsxOntapCommand.d.ts +93 -0
  20. package/dist-types/commands/UpdateLocationFsxOpenZfsCommand.d.ts +97 -0
  21. package/dist-types/commands/UpdateLocationFsxWindowsCommand.d.ts +81 -0
  22. package/dist-types/commands/UpdateLocationHdfsCommand.d.ts +3 -2
  23. package/dist-types/commands/UpdateLocationNfsCommand.d.ts +2 -3
  24. package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +2 -2
  25. package/dist-types/commands/UpdateLocationS3Command.d.ts +97 -0
  26. package/dist-types/commands/UpdateLocationSmbCommand.d.ts +3 -2
  27. package/dist-types/commands/index.d.ts +6 -0
  28. package/dist-types/models/models_0.d.ts +326 -26
  29. package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
  30. package/dist-types/ts3.4/DataSync.d.ts +102 -0
  31. package/dist-types/ts3.4/DataSyncClient.d.ts +36 -0
  32. package/dist-types/ts3.4/commands/UpdateLocationEfsCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/UpdateLocationFsxLustreCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/UpdateLocationFsxOntapCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/UpdateLocationFsxOpenZfsCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/UpdateLocationFsxWindowsCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/UpdateLocationS3Command.d.ts +50 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +65 -0
  40. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
  41. package/package.json +1 -1
@@ -0,0 +1,81 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
+ import { UpdateLocationFsxWindowsRequest, UpdateLocationFsxWindowsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateLocationFsxWindowsCommand}.
14
+ */
15
+ export interface UpdateLocationFsxWindowsCommandInput extends UpdateLocationFsxWindowsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateLocationFsxWindowsCommand}.
21
+ */
22
+ export interface UpdateLocationFsxWindowsCommandOutput extends UpdateLocationFsxWindowsResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateLocationFsxWindowsCommand_base: {
25
+ new (input: UpdateLocationFsxWindowsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLocationFsxWindowsCommandInput, UpdateLocationFsxWindowsCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateLocationFsxWindowsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLocationFsxWindowsCommandInput, UpdateLocationFsxWindowsCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Modifies the following configuration parameters of the Amazon FSx for Windows File Server transfer location that you're using with DataSync.</p>
31
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html">Configuring DataSync transfers with FSx for Windows File Server</a>.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { DataSyncClient, UpdateLocationFsxWindowsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
36
+ * // const { DataSyncClient, UpdateLocationFsxWindowsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
37
+ * const client = new DataSyncClient(config);
38
+ * const input = { // UpdateLocationFsxWindowsRequest
39
+ * LocationArn: "STRING_VALUE", // required
40
+ * Subdirectory: "STRING_VALUE",
41
+ * Domain: "STRING_VALUE",
42
+ * User: "STRING_VALUE",
43
+ * Password: "STRING_VALUE",
44
+ * };
45
+ * const command = new UpdateLocationFsxWindowsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param UpdateLocationFsxWindowsCommandInput - {@link UpdateLocationFsxWindowsCommandInput}
52
+ * @returns {@link UpdateLocationFsxWindowsCommandOutput}
53
+ * @see {@link UpdateLocationFsxWindowsCommandInput} for command's `input` shape.
54
+ * @see {@link UpdateLocationFsxWindowsCommandOutput} for command's `response` shape.
55
+ * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
56
+ *
57
+ * @throws {@link InternalException} (server fault)
58
+ * <p>This exception is thrown when an error occurs in the DataSync
59
+ * service.</p>
60
+ *
61
+ * @throws {@link InvalidRequestException} (client fault)
62
+ * <p>This exception is thrown when the client submits a malformed request.</p>
63
+ *
64
+ * @throws {@link DataSyncServiceException}
65
+ * <p>Base exception class for all service exceptions from DataSync service.</p>
66
+ *
67
+ * @public
68
+ */
69
+ export declare class UpdateLocationFsxWindowsCommand extends UpdateLocationFsxWindowsCommand_base {
70
+ /** @internal type navigation helper, not in runtime. */
71
+ protected static __types: {
72
+ api: {
73
+ input: UpdateLocationFsxWindowsRequest;
74
+ output: {};
75
+ };
76
+ sdk: {
77
+ input: UpdateLocationFsxWindowsCommandInput;
78
+ output: UpdateLocationFsxWindowsCommandOutput;
79
+ };
80
+ };
81
+ }
@@ -27,8 +27,9 @@ declare const UpdateLocationHdfsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Updates some parameters of a previously created location for a Hadoop Distributed File
31
- * System cluster.</p>
30
+ * <p>Modifies the following configuration parameters of the Hadoop Distributed File
31
+ * System (HDFS) transfer location that you're using with DataSync.</p>
32
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-hdfs-location.html">Configuring DataSync transfers with an HDFS cluster</a>.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -27,9 +27,8 @@ declare const UpdateLocationNfsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Modifies some configurations of the Network File System (NFS) transfer location that
31
- * you're using with DataSync.</p>
32
- * <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html">Configuring transfers to or from an
30
+ * <p>Modifies the following configuration parameters of the Network File System (NFS) transfer location that you're using with DataSync.</p>
31
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html">Configuring transfers with an
33
32
  * NFS file server</a>.</p>
34
33
  * @example
35
34
  * Use a bare-bones client and the command you need to make an API call.
@@ -27,8 +27,8 @@ declare const UpdateLocationObjectStorageCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Updates some parameters of an existing DataSync location for an object
31
- * storage system.</p>
30
+ * <p>Modifies the following configuration parameters of the object storage transfer location that you're using with DataSync.</p>
31
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html">Configuring DataSync transfers with an object storage system</a>.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
@@ -0,0 +1,97 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
+ import { UpdateLocationS3Request, UpdateLocationS3Response } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateLocationS3Command}.
14
+ */
15
+ export interface UpdateLocationS3CommandInput extends UpdateLocationS3Request {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateLocationS3Command}.
21
+ */
22
+ export interface UpdateLocationS3CommandOutput extends UpdateLocationS3Response, __MetadataBearer {
23
+ }
24
+ declare const UpdateLocationS3Command_base: {
25
+ new (input: UpdateLocationS3CommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLocationS3CommandInput, UpdateLocationS3CommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateLocationS3CommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLocationS3CommandInput, UpdateLocationS3CommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Modifies the following configuration parameters of the Amazon S3 transfer location that you're using with DataSync.</p>
31
+ * <important>
32
+ * <p>Before you begin, make sure that you read the following topics:</p>
33
+ * <ul>
34
+ * <li>
35
+ * <p>
36
+ * <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes">Storage
37
+ * class considerations with Amazon S3 locations</a>
38
+ * </p>
39
+ * </li>
40
+ * <li>
41
+ * <p>
42
+ * <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-s3-requests">Evaluating S3 request costs when using DataSync</a>
43
+ * </p>
44
+ * </li>
45
+ * </ul>
46
+ * </important>
47
+ * @example
48
+ * Use a bare-bones client and the command you need to make an API call.
49
+ * ```javascript
50
+ * import { DataSyncClient, UpdateLocationS3Command } from "@aws-sdk/client-datasync"; // ES Modules import
51
+ * // const { DataSyncClient, UpdateLocationS3Command } = require("@aws-sdk/client-datasync"); // CommonJS import
52
+ * const client = new DataSyncClient(config);
53
+ * const input = { // UpdateLocationS3Request
54
+ * LocationArn: "STRING_VALUE", // required
55
+ * Subdirectory: "STRING_VALUE",
56
+ * S3StorageClass: "STANDARD" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_INSTANT_RETRIEVAL",
57
+ * S3Config: { // S3Config
58
+ * BucketAccessRoleArn: "STRING_VALUE", // required
59
+ * },
60
+ * };
61
+ * const command = new UpdateLocationS3Command(input);
62
+ * const response = await client.send(command);
63
+ * // {};
64
+ *
65
+ * ```
66
+ *
67
+ * @param UpdateLocationS3CommandInput - {@link UpdateLocationS3CommandInput}
68
+ * @returns {@link UpdateLocationS3CommandOutput}
69
+ * @see {@link UpdateLocationS3CommandInput} for command's `input` shape.
70
+ * @see {@link UpdateLocationS3CommandOutput} for command's `response` shape.
71
+ * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
72
+ *
73
+ * @throws {@link InternalException} (server fault)
74
+ * <p>This exception is thrown when an error occurs in the DataSync
75
+ * service.</p>
76
+ *
77
+ * @throws {@link InvalidRequestException} (client fault)
78
+ * <p>This exception is thrown when the client submits a malformed request.</p>
79
+ *
80
+ * @throws {@link DataSyncServiceException}
81
+ * <p>Base exception class for all service exceptions from DataSync service.</p>
82
+ *
83
+ * @public
84
+ */
85
+ export declare class UpdateLocationS3Command extends UpdateLocationS3Command_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: UpdateLocationS3Request;
90
+ output: {};
91
+ };
92
+ sdk: {
93
+ input: UpdateLocationS3CommandInput;
94
+ output: UpdateLocationS3CommandOutput;
95
+ };
96
+ };
97
+ }
@@ -27,8 +27,9 @@ declare const UpdateLocationSmbCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Updates some of the parameters of a Server Message Block
31
- * (SMB) file server location that you can use for DataSync transfers.</p>
30
+ * <p>Modifies the following configuration parameters of the Server Message Block
31
+ * (SMB) transfer location that you're using with DataSync.</p>
32
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html">Configuring DataSync transfers with an SMB file server</a>.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -51,9 +51,15 @@ export * from "./UntagResourceCommand";
51
51
  export * from "./UpdateAgentCommand";
52
52
  export * from "./UpdateDiscoveryJobCommand";
53
53
  export * from "./UpdateLocationAzureBlobCommand";
54
+ export * from "./UpdateLocationEfsCommand";
55
+ export * from "./UpdateLocationFsxLustreCommand";
56
+ export * from "./UpdateLocationFsxOntapCommand";
57
+ export * from "./UpdateLocationFsxOpenZfsCommand";
58
+ export * from "./UpdateLocationFsxWindowsCommand";
54
59
  export * from "./UpdateLocationHdfsCommand";
55
60
  export * from "./UpdateLocationNfsCommand";
56
61
  export * from "./UpdateLocationObjectStorageCommand";
62
+ export * from "./UpdateLocationS3Command";
57
63
  export * from "./UpdateLocationSmbCommand";
58
64
  export * from "./UpdateStorageSystemCommand";
59
65
  export * from "./UpdateTaskCommand";