@aws-sdk/client-datasync 3.370.0 → 3.377.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/README.md +24 -0
- package/dist-cjs/DataSync.js +6 -0
- package/dist-cjs/commands/CreateLocationAzureBlobCommand.js +47 -0
- package/dist-cjs/commands/DescribeLocationAzureBlobCommand.js +46 -0
- package/dist-cjs/commands/UpdateLocationAzureBlobCommand.js +47 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +28 -2
- package/dist-cjs/protocols/Aws_json1_1.js +143 -3
- package/dist-es/DataSync.js +6 -0
- package/dist-es/commands/CreateLocationAzureBlobCommand.js +43 -0
- package/dist-es/commands/DescribeLocationAzureBlobCommand.js +42 -0
- package/dist-es/commands/UpdateLocationAzureBlobCommand.js +43 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +23 -0
- package/dist-es/protocols/Aws_json1_1.js +134 -0
- package/dist-types/DataSync.d.ts +21 -0
- package/dist-types/DataSyncClient.d.ts +5 -2
- package/dist-types/commands/CreateLocationAzureBlobCommand.d.ts +98 -0
- package/dist-types/commands/CreateLocationNfsCommand.d.ts +2 -2
- package/dist-types/commands/CreateLocationSmbCommand.d.ts +3 -1
- package/dist-types/commands/DescribeLocationAzureBlobCommand.d.ts +88 -0
- package/dist-types/commands/DescribeTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTaskExecutionCommand.d.ts +2 -1
- package/dist-types/commands/UpdateLocationAzureBlobCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +240 -45
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/DataSync.d.ts +51 -0
- package/dist-types/ts3.4/DataSyncClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateLocationAzureBlobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeLocationAzureBlobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateLocationAzureBlobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +63 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +2 -2
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
5
|
+
import { DescribeLocationAzureBlobRequest, DescribeLocationAzureBlobResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeLocationAzureBlobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeLocationAzureBlobCommandInput extends DescribeLocationAzureBlobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeLocationAzureBlobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeLocationAzureBlobCommandOutput extends DescribeLocationAzureBlobResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Provides details about how an DataSync transfer location for Microsoft Azure Blob Storage is configured.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { DataSyncClient, DescribeLocationAzureBlobCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
31
|
+
* // const { DataSyncClient, DescribeLocationAzureBlobCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
32
|
+
* const client = new DataSyncClient(config);
|
|
33
|
+
* const input = { // DescribeLocationAzureBlobRequest
|
|
34
|
+
* LocationArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DescribeLocationAzureBlobCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // DescribeLocationAzureBlobResponse
|
|
39
|
+
* // LocationArn: "STRING_VALUE",
|
|
40
|
+
* // LocationUri: "STRING_VALUE",
|
|
41
|
+
* // AuthenticationType: "SAS",
|
|
42
|
+
* // BlobType: "BLOCK",
|
|
43
|
+
* // AccessTier: "HOT" || "COOL" || "ARCHIVE",
|
|
44
|
+
* // AgentArns: [ // AgentArnList
|
|
45
|
+
* // "STRING_VALUE",
|
|
46
|
+
* // ],
|
|
47
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DescribeLocationAzureBlobCommandInput - {@link DescribeLocationAzureBlobCommandInput}
|
|
53
|
+
* @returns {@link DescribeLocationAzureBlobCommandOutput}
|
|
54
|
+
* @see {@link DescribeLocationAzureBlobCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DescribeLocationAzureBlobCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalException} (server fault)
|
|
59
|
+
* <p>This exception is thrown when an error occurs in the DataSync
|
|
60
|
+
* service.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
63
|
+
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link DataSyncServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from DataSync service.</p>
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
export declare class DescribeLocationAzureBlobCommand extends $Command<DescribeLocationAzureBlobCommandInput, DescribeLocationAzureBlobCommandOutput, DataSyncClientResolvedConfig> {
|
|
70
|
+
readonly input: DescribeLocationAzureBlobCommandInput;
|
|
71
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
constructor(input: DescribeLocationAzureBlobCommandInput);
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeLocationAzureBlobCommandInput, DescribeLocationAzureBlobCommandOutput>;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private serialize;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private deserialize;
|
|
88
|
+
}
|
|
@@ -23,7 +23,7 @@ export interface DescribeTaskCommandOutput extends DescribeTaskResponse, __Metad
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p>Provides information about an DataSync transfer task.</p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -23,7 +23,8 @@ export interface DescribeTaskExecutionCommandOutput extends DescribeTaskExecutio
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p>Provides information about an DataSync transfer task that's
|
|
27
|
+
* running.</p>
|
|
27
28
|
* @example
|
|
28
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
30
|
* ```javascript
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
5
|
+
import { UpdateLocationAzureBlobRequest, UpdateLocationAzureBlobResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateLocationAzureBlobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateLocationAzureBlobCommandInput extends UpdateLocationAzureBlobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateLocationAzureBlobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateLocationAzureBlobCommandOutput extends UpdateLocationAzureBlobResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Modifies some configurations of the Microsoft Azure Blob Storage transfer location that you're using with DataSync.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { DataSyncClient, UpdateLocationAzureBlobCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
31
|
+
* // const { DataSyncClient, UpdateLocationAzureBlobCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
32
|
+
* const client = new DataSyncClient(config);
|
|
33
|
+
* const input = { // UpdateLocationAzureBlobRequest
|
|
34
|
+
* LocationArn: "STRING_VALUE", // required
|
|
35
|
+
* Subdirectory: "STRING_VALUE",
|
|
36
|
+
* AuthenticationType: "SAS",
|
|
37
|
+
* SasConfiguration: { // AzureBlobSasConfiguration
|
|
38
|
+
* Token: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* BlobType: "BLOCK",
|
|
41
|
+
* AccessTier: "HOT" || "COOL" || "ARCHIVE",
|
|
42
|
+
* AgentArns: [ // AgentArnList
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
46
|
+
* const command = new UpdateLocationAzureBlobCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param UpdateLocationAzureBlobCommandInput - {@link UpdateLocationAzureBlobCommandInput}
|
|
53
|
+
* @returns {@link UpdateLocationAzureBlobCommandOutput}
|
|
54
|
+
* @see {@link UpdateLocationAzureBlobCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link UpdateLocationAzureBlobCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalException} (server fault)
|
|
59
|
+
* <p>This exception is thrown when an error occurs in the DataSync
|
|
60
|
+
* service.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
63
|
+
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link DataSyncServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from DataSync service.</p>
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
export declare class UpdateLocationAzureBlobCommand extends $Command<UpdateLocationAzureBlobCommandInput, UpdateLocationAzureBlobCommandOutput, DataSyncClientResolvedConfig> {
|
|
70
|
+
readonly input: UpdateLocationAzureBlobCommandInput;
|
|
71
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
constructor(input: UpdateLocationAzureBlobCommandInput);
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateLocationAzureBlobCommandInput, UpdateLocationAzureBlobCommandOutput>;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private serialize;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private deserialize;
|
|
88
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AddStorageSystemCommand";
|
|
2
2
|
export * from "./CancelTaskExecutionCommand";
|
|
3
3
|
export * from "./CreateAgentCommand";
|
|
4
|
+
export * from "./CreateLocationAzureBlobCommand";
|
|
4
5
|
export * from "./CreateLocationEfsCommand";
|
|
5
6
|
export * from "./CreateLocationFsxLustreCommand";
|
|
6
7
|
export * from "./CreateLocationFsxOntapCommand";
|
|
@@ -17,6 +18,7 @@ export * from "./DeleteLocationCommand";
|
|
|
17
18
|
export * from "./DeleteTaskCommand";
|
|
18
19
|
export * from "./DescribeAgentCommand";
|
|
19
20
|
export * from "./DescribeDiscoveryJobCommand";
|
|
21
|
+
export * from "./DescribeLocationAzureBlobCommand";
|
|
20
22
|
export * from "./DescribeLocationEfsCommand";
|
|
21
23
|
export * from "./DescribeLocationFsxLustreCommand";
|
|
22
24
|
export * from "./DescribeLocationFsxOntapCommand";
|
|
@@ -48,6 +50,7 @@ export * from "./TagResourceCommand";
|
|
|
48
50
|
export * from "./UntagResourceCommand";
|
|
49
51
|
export * from "./UpdateAgentCommand";
|
|
50
52
|
export * from "./UpdateDiscoveryJobCommand";
|
|
53
|
+
export * from "./UpdateLocationAzureBlobCommand";
|
|
51
54
|
export * from "./UpdateLocationHdfsCommand";
|
|
52
55
|
export * from "./UpdateLocationNfsCommand";
|
|
53
56
|
export * from "./UpdateLocationObjectStorageCommand";
|