@aws-sdk/client-datasync 3.39.0 → 3.43.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.
- package/CHANGELOG.md +39 -0
- package/dist-cjs/DataSync.js +45 -0
- package/dist-cjs/commands/CreateLocationHdfsCommand.js +36 -0
- package/dist-cjs/commands/DescribeLocationHdfsCommand.js +36 -0
- package/dist-cjs/commands/UpdateLocationHdfsCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoints.js +151 -26
- package/dist-cjs/models/models_0.js +70 -3
- package/dist-cjs/protocols/Aws_json1_1.js +336 -2
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/DataSync.js +45 -0
- package/dist-es/commands/CreateLocationHdfsCommand.js +39 -0
- package/dist-es/commands/DescribeLocationHdfsCommand.js +39 -0
- package/dist-es/commands/UpdateLocationHdfsCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoints.js +151 -26
- package/dist-es/models/models_0.js +51 -0
- package/dist-es/protocols/Aws_json1_1.js +328 -0
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/DataSync.d.ts +23 -0
- package/dist-types/DataSyncClient.d.ts +13 -2
- package/dist-types/commands/CancelTaskExecutionCommand.d.ts +1 -1
- package/dist-types/commands/CreateAgentCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationEfsCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationFsxWindowsCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationHdfsCommand.d.ts +35 -0
- package/dist-types/commands/CreateLocationNfsCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationObjectStorageCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationS3Command.d.ts +1 -1
- package/dist-types/commands/CreateLocationSmbCommand.d.ts +1 -1
- package/dist-types/commands/CreateTaskCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAgentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLocationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAgentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationEfsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationFsxWindowsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationHdfsCommand.d.ts +36 -0
- package/dist-types/commands/DescribeLocationNfsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationObjectStorageCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationS3Command.d.ts +1 -1
- package/dist-types/commands/DescribeLocationSmbCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTaskExecutionCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentsCommand.d.ts +1 -1
- package/dist-types/commands/ListLocationsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTaskExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTasksCommand.d.ts +1 -1
- package/dist-types/commands/StartTaskExecutionCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLocationHdfsCommand.d.ts +36 -0
- package/dist-types/commands/UpdateLocationNfsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLocationSmbCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskExecutionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +343 -25
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/DataSync.d.ts +15 -0
- package/dist-types/ts3.4/DataSyncClient.d.ts +9 -2
- package/dist-types/ts3.4/commands/CreateLocationHdfsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeLocationHdfsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateLocationHdfsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +154 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
|
@@ -20,7 +20,7 @@ export interface CreateLocationEfsCommandOutput extends CreateLocationEfsRespons
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateLocationEfsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateLocationEfsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateLocationEfsCommand extends $Command<CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateLocationFsxWindowsCommandOutput extends CreateLocationFsx
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateLocationFsxWindowsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateLocationFsxWindowsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateLocationFsxWindowsCommand extends $Command<CreateLocationFsxWindowsCommandInput, CreateLocationFsxWindowsCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
4
|
+
import { CreateLocationHdfsRequest, CreateLocationHdfsResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateLocationHdfsCommandInput extends CreateLocationHdfsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateLocationHdfsCommandOutput extends CreateLocationHdfsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates an endpoint for a Hadoop Distributed File System (HDFS). </p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { DataSyncClient, CreateLocationHdfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
15
|
+
* // const { DataSyncClient, CreateLocationHdfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
16
|
+
* const client = new DataSyncClient(config);
|
|
17
|
+
* const command = new CreateLocationHdfsCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link CreateLocationHdfsCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link CreateLocationHdfsCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class CreateLocationHdfsCommand extends $Command<CreateLocationHdfsCommandInput, CreateLocationHdfsCommandOutput, DataSyncClientResolvedConfig> {
|
|
27
|
+
readonly input: CreateLocationHdfsCommandInput;
|
|
28
|
+
constructor(input: CreateLocationHdfsCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLocationHdfsCommandInput, CreateLocationHdfsCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -21,7 +21,7 @@ export interface CreateLocationNfsCommandOutput extends CreateLocationNfsRespons
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link CreateLocationNfsCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link CreateLocationNfsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class CreateLocationNfsCommand extends $Command<CreateLocationNfsCommandInput, CreateLocationNfsCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface CreateLocationObjectStorageCommandOutput extends CreateLocation
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link CreateLocationObjectStorageCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link CreateLocationObjectStorageCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class CreateLocationObjectStorageCommand extends $Command<CreateLocationObjectStorageCommandInput, CreateLocationObjectStorageCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -26,7 +26,7 @@ export interface CreateLocationS3CommandOutput extends CreateLocationS3Response,
|
|
|
26
26
|
*
|
|
27
27
|
* @see {@link CreateLocationS3CommandInput} for command's `input` shape.
|
|
28
28
|
* @see {@link CreateLocationS3CommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
29
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
export declare class CreateLocationS3Command extends $Command<CreateLocationS3CommandInput, CreateLocationS3CommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface CreateLocationSmbCommandOutput extends CreateLocationSmbRespons
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link CreateLocationSmbCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link CreateLocationSmbCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class CreateLocationSmbCommand extends $Command<CreateLocationSmbCommandInput, CreateLocationSmbCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -38,7 +38,7 @@ export interface CreateTaskCommandOutput extends CreateTaskResponse, __MetadataB
|
|
|
38
38
|
*
|
|
39
39
|
* @see {@link CreateTaskCommandInput} for command's `input` shape.
|
|
40
40
|
* @see {@link CreateTaskCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
41
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
42
42
|
*
|
|
43
43
|
*/
|
|
44
44
|
export declare class CreateTaskCommand extends $Command<CreateTaskCommandInput, CreateTaskCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -23,7 +23,7 @@ export interface DeleteAgentCommandOutput extends DeleteAgentResponse, __Metadat
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link DeleteAgentCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link DeleteAgentCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class DeleteAgentCommand extends $Command<DeleteAgentCommandInput, DeleteAgentCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteLocationCommandOutput extends DeleteLocationResponse, __M
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteLocationCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteLocationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteLocationCommand extends $Command<DeleteLocationCommandInput, DeleteLocationCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteTaskCommandOutput extends DeleteTaskResponse, __MetadataB
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteTaskCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteTaskCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteTaskCommand extends $Command<DeleteTaskCommandInput, DeleteTaskCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface DescribeAgentCommandOutput extends DescribeAgentResponse, __Met
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link DescribeAgentCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link DescribeAgentCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class DescribeAgentCommand extends $Command<DescribeAgentCommandInput, DescribeAgentCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeLocationEfsCommandOutput extends DescribeLocationEfsRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeLocationEfsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeLocationEfsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeLocationEfsCommand extends $Command<DescribeLocationEfsCommandInput, DescribeLocationEfsCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface DescribeLocationFsxWindowsCommandOutput extends DescribeLocatio
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link DescribeLocationFsxWindowsCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link DescribeLocationFsxWindowsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class DescribeLocationFsxWindowsCommand extends $Command<DescribeLocationFsxWindowsCommandInput, DescribeLocationFsxWindowsCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
4
|
+
import { DescribeLocationHdfsRequest, DescribeLocationHdfsResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeLocationHdfsCommandInput extends DescribeLocationHdfsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeLocationHdfsCommandOutput extends DescribeLocationHdfsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns metadata, such as the authentication information about the Hadoop Distributed File
|
|
11
|
+
* System (HDFS) location. </p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { DataSyncClient, DescribeLocationHdfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
16
|
+
* // const { DataSyncClient, DescribeLocationHdfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
17
|
+
* const client = new DataSyncClient(config);
|
|
18
|
+
* const command = new DescribeLocationHdfsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DescribeLocationHdfsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DescribeLocationHdfsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DescribeLocationHdfsCommand extends $Command<DescribeLocationHdfsCommandInput, DescribeLocationHdfsCommandOutput, DataSyncClientResolvedConfig> {
|
|
28
|
+
readonly input: DescribeLocationHdfsCommandInput;
|
|
29
|
+
constructor(input: DescribeLocationHdfsCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeLocationHdfsCommandInput, DescribeLocationHdfsCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface DescribeLocationNfsCommandOutput extends DescribeLocationNfsRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeLocationNfsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeLocationNfsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeLocationNfsCommand extends $Command<DescribeLocationNfsCommandInput, DescribeLocationNfsCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface DescribeLocationObjectStorageCommandOutput extends DescribeLoca
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link DescribeLocationObjectStorageCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link DescribeLocationObjectStorageCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class DescribeLocationObjectStorageCommand extends $Command<DescribeLocationObjectStorageCommandInput, DescribeLocationObjectStorageCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeLocationS3CommandOutput extends DescribeLocationS3Respo
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeLocationS3CommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeLocationS3CommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeLocationS3Command extends $Command<DescribeLocationS3CommandInput, DescribeLocationS3CommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeLocationSmbCommandOutput extends DescribeLocationSmbRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeLocationSmbCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeLocationSmbCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeLocationSmbCommand extends $Command<DescribeLocationSmbCommandInput, DescribeLocationSmbCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeTaskCommandOutput extends DescribeTaskResponse, __Metad
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeTaskCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeTaskCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeTaskCommand extends $Command<DescribeTaskCommandInput, DescribeTaskCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeTaskExecutionCommandOutput extends DescribeTaskExecutio
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeTaskExecutionCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeTaskExecutionCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeTaskExecutionCommand extends $Command<DescribeTaskExecutionCommandInput, DescribeTaskExecutionCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ export interface ListAgentsCommandOutput extends ListAgentsResponse, __MetadataB
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link ListAgentsCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link ListAgentsCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class ListAgentsCommand extends $Command<ListAgentsCommandInput, ListAgentsCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -23,7 +23,7 @@ export interface ListLocationsCommandOutput extends ListLocationsResponse, __Met
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link ListLocationsCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link ListLocationsCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class ListLocationsCommand extends $Command<ListLocationsCommandInput, ListLocationsCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface ListTaskExecutionsCommandOutput extends ListTaskExecutionsRespo
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ListTaskExecutionsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ListTaskExecutionsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ListTaskExecutionsCommand extends $Command<ListTaskExecutionsCommandInput, ListTaskExecutionsCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBea
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ListTasksCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ListTasksCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ListTasksCommand extends $Command<ListTasksCommandInput, ListTasksCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -28,7 +28,7 @@ export interface StartTaskExecutionCommandOutput extends StartTaskExecutionRespo
|
|
|
28
28
|
*
|
|
29
29
|
* @see {@link StartTaskExecutionCommandInput} for command's `input` shape.
|
|
30
30
|
* @see {@link StartTaskExecutionCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
31
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
32
32
|
*
|
|
33
33
|
*/
|
|
34
34
|
export declare class StartTaskExecutionCommand extends $Command<StartTaskExecutionCommandInput, StartTaskExecutionCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateAgentCommandOutput extends UpdateAgentResponse, __Metadat
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateAgentCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateAgentCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateAgentCommand extends $Command<UpdateAgentCommandInput, UpdateAgentCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
4
|
+
import { UpdateLocationHdfsRequest, UpdateLocationHdfsResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateLocationHdfsCommandInput extends UpdateLocationHdfsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateLocationHdfsCommandOutput extends UpdateLocationHdfsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates some parameters of a previously created location for a Hadoop Distributed File
|
|
11
|
+
* System cluster.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { DataSyncClient, UpdateLocationHdfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
16
|
+
* // const { DataSyncClient, UpdateLocationHdfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
17
|
+
* const client = new DataSyncClient(config);
|
|
18
|
+
* const command = new UpdateLocationHdfsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link UpdateLocationHdfsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link UpdateLocationHdfsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class UpdateLocationHdfsCommand extends $Command<UpdateLocationHdfsCommandInput, UpdateLocationHdfsCommandOutput, DataSyncClientResolvedConfig> {
|
|
28
|
+
readonly input: UpdateLocationHdfsCommandInput;
|
|
29
|
+
constructor(input: UpdateLocationHdfsCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateLocationHdfsCommandInput, UpdateLocationHdfsCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -21,7 +21,7 @@ export interface UpdateLocationNfsCommandOutput extends UpdateLocationNfsRespons
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link UpdateLocationNfsCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link UpdateLocationNfsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class UpdateLocationNfsCommand extends $Command<UpdateLocationNfsCommandInput, UpdateLocationNfsCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface UpdateLocationObjectStorageCommandOutput extends UpdateLocation
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link UpdateLocationObjectStorageCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link UpdateLocationObjectStorageCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class UpdateLocationObjectStorageCommand extends $Command<UpdateLocationObjectStorageCommandInput, UpdateLocationObjectStorageCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface UpdateLocationSmbCommandOutput extends UpdateLocationSmbRespons
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link UpdateLocationSmbCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link UpdateLocationSmbCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class UpdateLocationSmbCommand extends $Command<UpdateLocationSmbCommandInput, UpdateLocationSmbCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateTaskCommandOutput extends UpdateTaskResponse, __MetadataB
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateTaskCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateTaskCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateTaskCommand extends $Command<UpdateTaskCommandInput, UpdateTaskCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -29,7 +29,7 @@ export interface UpdateTaskExecutionCommandOutput extends UpdateTaskExecutionRes
|
|
|
29
29
|
*
|
|
30
30
|
* @see {@link UpdateTaskExecutionCommandInput} for command's `input` shape.
|
|
31
31
|
* @see {@link UpdateTaskExecutionCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
32
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
33
33
|
*
|
|
34
34
|
*/
|
|
35
35
|
export declare class UpdateTaskExecutionCommand extends $Command<UpdateTaskExecutionCommandInput, UpdateTaskExecutionCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -2,6 +2,7 @@ export * from "./CancelTaskExecutionCommand";
|
|
|
2
2
|
export * from "./CreateAgentCommand";
|
|
3
3
|
export * from "./CreateLocationEfsCommand";
|
|
4
4
|
export * from "./CreateLocationFsxWindowsCommand";
|
|
5
|
+
export * from "./CreateLocationHdfsCommand";
|
|
5
6
|
export * from "./CreateLocationNfsCommand";
|
|
6
7
|
export * from "./CreateLocationObjectStorageCommand";
|
|
7
8
|
export * from "./CreateLocationS3Command";
|
|
@@ -13,6 +14,7 @@ export * from "./DeleteTaskCommand";
|
|
|
13
14
|
export * from "./DescribeAgentCommand";
|
|
14
15
|
export * from "./DescribeLocationEfsCommand";
|
|
15
16
|
export * from "./DescribeLocationFsxWindowsCommand";
|
|
17
|
+
export * from "./DescribeLocationHdfsCommand";
|
|
16
18
|
export * from "./DescribeLocationNfsCommand";
|
|
17
19
|
export * from "./DescribeLocationObjectStorageCommand";
|
|
18
20
|
export * from "./DescribeLocationS3Command";
|
|
@@ -28,6 +30,7 @@ export * from "./StartTaskExecutionCommand";
|
|
|
28
30
|
export * from "./TagResourceCommand";
|
|
29
31
|
export * from "./UntagResourceCommand";
|
|
30
32
|
export * from "./UpdateAgentCommand";
|
|
33
|
+
export * from "./UpdateLocationHdfsCommand";
|
|
31
34
|
export * from "./UpdateLocationNfsCommand";
|
|
32
35
|
export * from "./UpdateLocationObjectStorageCommand";
|
|
33
36
|
export * from "./UpdateLocationSmbCommand";
|