@aws-sdk/client-datasync 3.298.0 → 3.300.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/dist-types/commands/CancelTaskExecutionCommand.d.ts +3 -0
- package/dist-types/commands/CreateAgentCommand.d.ts +17 -0
- package/dist-types/commands/CreateLocationEfsCommand.d.ts +19 -0
- package/dist-types/commands/CreateLocationFsxLustreCommand.d.ts +13 -0
- package/dist-types/commands/CreateLocationFsxOntapCommand.d.ts +28 -0
- package/dist-types/commands/CreateLocationFsxOpenZfsCommand.d.ts +28 -0
- package/dist-types/commands/CreateLocationFsxWindowsCommand.d.ts +16 -0
- package/dist-types/commands/CreateLocationHdfsCommand.d.ts +30 -0
- package/dist-types/commands/CreateLocationNfsCommand.d.ts +18 -0
- package/dist-types/commands/CreateLocationObjectStorageCommand.d.ts +19 -0
- package/dist-types/commands/CreateLocationS3Command.d.ts +17 -0
- package/dist-types/commands/CreateLocationSmbCommand.d.ts +19 -0
- package/dist-types/commands/CreateTaskCommand.d.ts +44 -0
- package/dist-types/commands/DeleteAgentCommand.d.ts +3 -0
- package/dist-types/commands/DeleteLocationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTaskCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAgentCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLocationEfsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLocationFsxLustreCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLocationFsxOntapCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLocationFsxOpenZfsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLocationFsxWindowsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLocationHdfsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLocationNfsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLocationObjectStorageCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLocationS3Command.d.ts +3 -0
- package/dist-types/commands/DescribeLocationSmbCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTaskCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTaskExecutionCommand.d.ts +3 -0
- package/dist-types/commands/ListAgentsCommand.d.ts +4 -0
- package/dist-types/commands/ListLocationsCommand.d.ts +13 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
- package/dist-types/commands/ListTaskExecutionsCommand.d.ts +5 -0
- package/dist-types/commands/ListTasksCommand.d.ts +13 -0
- package/dist-types/commands/StartTaskExecutionCommand.d.ts +38 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +4 -0
- package/dist-types/commands/UpdateLocationHdfsCommand.d.ts +25 -0
- package/dist-types/commands/UpdateLocationNfsCommand.d.ts +12 -0
- package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +12 -0
- package/dist-types/commands/UpdateLocationSmbCommand.d.ts +13 -0
- package/dist-types/commands/UpdateTaskCommand.d.ts +37 -0
- package/dist-types/commands/UpdateTaskExecutionCommand.d.ts +20 -0
- package/package.json +12 -12
|
@@ -32,6 +32,9 @@ export interface CancelTaskExecutionCommandOutput extends CancelTaskExecutionRes
|
|
|
32
32
|
* import { DataSyncClient, CancelTaskExecutionCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
33
33
|
* // const { DataSyncClient, CancelTaskExecutionCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
34
34
|
* const client = new DataSyncClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* TaskExecutionArn: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
35
38
|
* const command = new CancelTaskExecutionCommand(input);
|
|
36
39
|
* const response = await client.send(command);
|
|
37
40
|
* ```
|
|
@@ -37,6 +37,23 @@ export interface CreateAgentCommandOutput extends CreateAgentResponse, __Metadat
|
|
|
37
37
|
* import { DataSyncClient, CreateAgentCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
38
38
|
* // const { DataSyncClient, CreateAgentCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
39
39
|
* const client = new DataSyncClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* ActivationKey: "STRING_VALUE", // required
|
|
42
|
+
* AgentName: "STRING_VALUE",
|
|
43
|
+
* Tags: [
|
|
44
|
+
* {
|
|
45
|
+
* Key: "STRING_VALUE", // required
|
|
46
|
+
* Value: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* VpcEndpointId: "STRING_VALUE",
|
|
50
|
+
* SubnetArns: [
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* SecurityGroupArns: [
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* };
|
|
40
57
|
* const command = new CreateAgentCommand(input);
|
|
41
58
|
* const response = await client.send(command);
|
|
42
59
|
* ```
|
|
@@ -27,6 +27,25 @@ export interface CreateLocationEfsCommandOutput extends CreateLocationEfsRespons
|
|
|
27
27
|
* import { DataSyncClient, CreateLocationEfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
28
28
|
* // const { DataSyncClient, CreateLocationEfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
29
29
|
* const client = new DataSyncClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Subdirectory: "STRING_VALUE",
|
|
32
|
+
* EfsFilesystemArn: "STRING_VALUE", // required
|
|
33
|
+
* Ec2Config: {
|
|
34
|
+
* SubnetArn: "STRING_VALUE", // required
|
|
35
|
+
* SecurityGroupArns: [ // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* Tags: [
|
|
40
|
+
* {
|
|
41
|
+
* Key: "STRING_VALUE", // required
|
|
42
|
+
* Value: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* AccessPointArn: "STRING_VALUE",
|
|
46
|
+
* FileSystemAccessRoleArn: "STRING_VALUE",
|
|
47
|
+
* InTransitEncryption: "NONE" || "TLS1_2",
|
|
48
|
+
* };
|
|
30
49
|
* const command = new CreateLocationEfsCommand(input);
|
|
31
50
|
* const response = await client.send(command);
|
|
32
51
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface CreateLocationFsxLustreCommandOutput extends CreateLocationFsxL
|
|
|
26
26
|
* import { DataSyncClient, CreateLocationFsxLustreCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, CreateLocationFsxLustreCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FsxFilesystemArn: "STRING_VALUE", // required
|
|
31
|
+
* SecurityGroupArns: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* Subdirectory: "STRING_VALUE",
|
|
35
|
+
* Tags: [
|
|
36
|
+
* {
|
|
37
|
+
* Key: "STRING_VALUE", // required
|
|
38
|
+
* Value: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
29
42
|
* const command = new CreateLocationFsxLustreCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -27,6 +27,34 @@ export interface CreateLocationFsxOntapCommandOutput extends CreateLocationFsxOn
|
|
|
27
27
|
* import { DataSyncClient, CreateLocationFsxOntapCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
28
28
|
* // const { DataSyncClient, CreateLocationFsxOntapCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
29
29
|
* const client = new DataSyncClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Protocol: {
|
|
32
|
+
* NFS: {
|
|
33
|
+
* MountOptions: {
|
|
34
|
+
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1",
|
|
35
|
+
* },
|
|
36
|
+
* },
|
|
37
|
+
* SMB: {
|
|
38
|
+
* Domain: "STRING_VALUE",
|
|
39
|
+
* MountOptions: {
|
|
40
|
+
* Version: "AUTOMATIC" || "SMB2" || "SMB3" || "SMB1" || "SMB2_0",
|
|
41
|
+
* },
|
|
42
|
+
* Password: "STRING_VALUE", // required
|
|
43
|
+
* User: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* SecurityGroupArns: [ // required
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* StorageVirtualMachineArn: "STRING_VALUE", // required
|
|
50
|
+
* Subdirectory: "STRING_VALUE",
|
|
51
|
+
* Tags: [
|
|
52
|
+
* {
|
|
53
|
+
* Key: "STRING_VALUE", // required
|
|
54
|
+
* Value: "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* };
|
|
30
58
|
* const command = new CreateLocationFsxOntapCommand(input);
|
|
31
59
|
* const response = await client.send(command);
|
|
32
60
|
* ```
|
|
@@ -31,6 +31,34 @@ export interface CreateLocationFsxOpenZfsCommandOutput extends CreateLocationFsx
|
|
|
31
31
|
* import { DataSyncClient, CreateLocationFsxOpenZfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
32
32
|
* // const { DataSyncClient, CreateLocationFsxOpenZfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
33
33
|
* const client = new DataSyncClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* FsxFilesystemArn: "STRING_VALUE", // required
|
|
36
|
+
* Protocol: {
|
|
37
|
+
* NFS: {
|
|
38
|
+
* MountOptions: {
|
|
39
|
+
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1",
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* SMB: {
|
|
43
|
+
* Domain: "STRING_VALUE",
|
|
44
|
+
* MountOptions: {
|
|
45
|
+
* Version: "AUTOMATIC" || "SMB2" || "SMB3" || "SMB1" || "SMB2_0",
|
|
46
|
+
* },
|
|
47
|
+
* Password: "STRING_VALUE", // required
|
|
48
|
+
* User: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* SecurityGroupArns: [ // required
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* Subdirectory: "STRING_VALUE",
|
|
55
|
+
* Tags: [
|
|
56
|
+
* {
|
|
57
|
+
* Key: "STRING_VALUE", // required
|
|
58
|
+
* Value: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* };
|
|
34
62
|
* const command = new CreateLocationFsxOpenZfsCommand(input);
|
|
35
63
|
* const response = await client.send(command);
|
|
36
64
|
* ```
|
|
@@ -26,6 +26,22 @@ export interface CreateLocationFsxWindowsCommandOutput extends CreateLocationFsx
|
|
|
26
26
|
* import { DataSyncClient, CreateLocationFsxWindowsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, CreateLocationFsxWindowsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Subdirectory: "STRING_VALUE",
|
|
31
|
+
* FsxFilesystemArn: "STRING_VALUE", // required
|
|
32
|
+
* SecurityGroupArns: [ // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* Tags: [
|
|
36
|
+
* {
|
|
37
|
+
* Key: "STRING_VALUE", // required
|
|
38
|
+
* Value: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* User: "STRING_VALUE", // required
|
|
42
|
+
* Domain: "STRING_VALUE",
|
|
43
|
+
* Password: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
29
45
|
* const command = new CreateLocationFsxWindowsCommand(input);
|
|
30
46
|
* const response = await client.send(command);
|
|
31
47
|
* ```
|
|
@@ -26,6 +26,36 @@ export interface CreateLocationHdfsCommandOutput extends CreateLocationHdfsRespo
|
|
|
26
26
|
* import { DataSyncClient, CreateLocationHdfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, CreateLocationHdfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Subdirectory: "STRING_VALUE",
|
|
31
|
+
* NameNodes: [ // required
|
|
32
|
+
* {
|
|
33
|
+
* Hostname: "STRING_VALUE", // required
|
|
34
|
+
* Port: Number("int"), // required
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* BlockSize: Number("int"),
|
|
38
|
+
* ReplicationFactor: Number("int"),
|
|
39
|
+
* KmsKeyProviderUri: "STRING_VALUE",
|
|
40
|
+
* QopConfiguration: {
|
|
41
|
+
* RpcProtection: "DISABLED" || "AUTHENTICATION" || "INTEGRITY" || "PRIVACY",
|
|
42
|
+
* DataTransferProtection: "DISABLED" || "AUTHENTICATION" || "INTEGRITY" || "PRIVACY",
|
|
43
|
+
* },
|
|
44
|
+
* AuthenticationType: "SIMPLE" || "KERBEROS", // required
|
|
45
|
+
* SimpleUser: "STRING_VALUE",
|
|
46
|
+
* KerberosPrincipal: "STRING_VALUE",
|
|
47
|
+
* KerberosKeytab: "BLOB_VALUE",
|
|
48
|
+
* KerberosKrb5Conf: "BLOB_VALUE",
|
|
49
|
+
* AgentArns: [ // required
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* Tags: [
|
|
53
|
+
* {
|
|
54
|
+
* Key: "STRING_VALUE", // required
|
|
55
|
+
* Value: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* };
|
|
29
59
|
* const command = new CreateLocationHdfsCommand(input);
|
|
30
60
|
* const response = await client.send(command);
|
|
31
61
|
* ```
|
|
@@ -27,6 +27,24 @@ export interface CreateLocationNfsCommandOutput extends CreateLocationNfsRespons
|
|
|
27
27
|
* import { DataSyncClient, CreateLocationNfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
28
28
|
* // const { DataSyncClient, CreateLocationNfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
29
29
|
* const client = new DataSyncClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Subdirectory: "STRING_VALUE", // required
|
|
32
|
+
* ServerHostname: "STRING_VALUE", // required
|
|
33
|
+
* OnPremConfig: {
|
|
34
|
+
* AgentArns: [ // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* },
|
|
38
|
+
* MountOptions: {
|
|
39
|
+
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1",
|
|
40
|
+
* },
|
|
41
|
+
* Tags: [
|
|
42
|
+
* {
|
|
43
|
+
* Key: "STRING_VALUE", // required
|
|
44
|
+
* Value: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
30
48
|
* const command = new CreateLocationNfsCommand(input);
|
|
31
49
|
* const response = await client.send(command);
|
|
32
50
|
* ```
|
|
@@ -26,6 +26,25 @@ export interface CreateLocationObjectStorageCommandOutput extends CreateLocation
|
|
|
26
26
|
* import { DataSyncClient, CreateLocationObjectStorageCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, CreateLocationObjectStorageCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ServerHostname: "STRING_VALUE", // required
|
|
31
|
+
* ServerPort: Number("int"),
|
|
32
|
+
* ServerProtocol: "HTTPS" || "HTTP",
|
|
33
|
+
* Subdirectory: "STRING_VALUE",
|
|
34
|
+
* BucketName: "STRING_VALUE", // required
|
|
35
|
+
* AccessKey: "STRING_VALUE",
|
|
36
|
+
* SecretKey: "STRING_VALUE",
|
|
37
|
+
* AgentArns: [ // required
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* Tags: [
|
|
41
|
+
* {
|
|
42
|
+
* Key: "STRING_VALUE", // required
|
|
43
|
+
* Value: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* ServerCertificate: "BLOB_VALUE",
|
|
47
|
+
* };
|
|
29
48
|
* const command = new CreateLocationObjectStorageCommand(input);
|
|
30
49
|
* const response = await client.send(command);
|
|
31
50
|
* ```
|
|
@@ -27,6 +27,23 @@ export interface CreateLocationS3CommandOutput extends CreateLocationS3Response,
|
|
|
27
27
|
* import { DataSyncClient, CreateLocationS3Command } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
28
28
|
* // const { DataSyncClient, CreateLocationS3Command } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
29
29
|
* const client = new DataSyncClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Subdirectory: "STRING_VALUE",
|
|
32
|
+
* S3BucketArn: "STRING_VALUE", // required
|
|
33
|
+
* S3StorageClass: "STANDARD" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_INSTANT_RETRIEVAL",
|
|
34
|
+
* S3Config: {
|
|
35
|
+
* BucketAccessRoleArn: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* AgentArns: [
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* Tags: [
|
|
41
|
+
* {
|
|
42
|
+
* Key: "STRING_VALUE", // required
|
|
43
|
+
* Value: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
30
47
|
* const command = new CreateLocationS3Command(input);
|
|
31
48
|
* const response = await client.send(command);
|
|
32
49
|
* ```
|
|
@@ -26,6 +26,25 @@ export interface CreateLocationSmbCommandOutput extends CreateLocationSmbRespons
|
|
|
26
26
|
* import { DataSyncClient, CreateLocationSmbCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, CreateLocationSmbCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Subdirectory: "STRING_VALUE", // required
|
|
31
|
+
* ServerHostname: "STRING_VALUE", // required
|
|
32
|
+
* User: "STRING_VALUE", // required
|
|
33
|
+
* Domain: "STRING_VALUE",
|
|
34
|
+
* Password: "STRING_VALUE", // required
|
|
35
|
+
* AgentArns: [ // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* MountOptions: {
|
|
39
|
+
* Version: "AUTOMATIC" || "SMB2" || "SMB3" || "SMB1" || "SMB2_0",
|
|
40
|
+
* },
|
|
41
|
+
* Tags: [
|
|
42
|
+
* {
|
|
43
|
+
* Key: "STRING_VALUE", // required
|
|
44
|
+
* Value: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
29
48
|
* const command = new CreateLocationSmbCommand(input);
|
|
30
49
|
* const response = await client.send(command);
|
|
31
50
|
* ```
|
|
@@ -30,6 +30,50 @@ export interface CreateTaskCommandOutput extends CreateTaskResponse, __MetadataB
|
|
|
30
30
|
* import { DataSyncClient, CreateTaskCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
31
31
|
* // const { DataSyncClient, CreateTaskCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
32
32
|
* const client = new DataSyncClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* SourceLocationArn: "STRING_VALUE", // required
|
|
35
|
+
* DestinationLocationArn: "STRING_VALUE", // required
|
|
36
|
+
* CloudWatchLogGroupArn: "STRING_VALUE",
|
|
37
|
+
* Name: "STRING_VALUE",
|
|
38
|
+
* Options: {
|
|
39
|
+
* VerifyMode: "POINT_IN_TIME_CONSISTENT" || "ONLY_FILES_TRANSFERRED" || "NONE",
|
|
40
|
+
* OverwriteMode: "ALWAYS" || "NEVER",
|
|
41
|
+
* Atime: "NONE" || "BEST_EFFORT",
|
|
42
|
+
* Mtime: "NONE" || "PRESERVE",
|
|
43
|
+
* Uid: "NONE" || "INT_VALUE" || "NAME" || "BOTH",
|
|
44
|
+
* Gid: "NONE" || "INT_VALUE" || "NAME" || "BOTH",
|
|
45
|
+
* PreserveDeletedFiles: "PRESERVE" || "REMOVE",
|
|
46
|
+
* PreserveDevices: "NONE" || "PRESERVE",
|
|
47
|
+
* PosixPermissions: "NONE" || "PRESERVE",
|
|
48
|
+
* BytesPerSecond: Number("long"),
|
|
49
|
+
* TaskQueueing: "ENABLED" || "DISABLED",
|
|
50
|
+
* LogLevel: "OFF" || "BASIC" || "TRANSFER",
|
|
51
|
+
* TransferMode: "CHANGED" || "ALL",
|
|
52
|
+
* SecurityDescriptorCopyFlags: "NONE" || "OWNER_DACL" || "OWNER_DACL_SACL",
|
|
53
|
+
* ObjectTags: "PRESERVE" || "NONE",
|
|
54
|
+
* },
|
|
55
|
+
* Excludes: [
|
|
56
|
+
* {
|
|
57
|
+
* FilterType: "SIMPLE_PATTERN",
|
|
58
|
+
* Value: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* Schedule: {
|
|
62
|
+
* ScheduleExpression: "STRING_VALUE", // required
|
|
63
|
+
* },
|
|
64
|
+
* Tags: [
|
|
65
|
+
* {
|
|
66
|
+
* Key: "STRING_VALUE", // required
|
|
67
|
+
* Value: "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* Includes: [
|
|
71
|
+
* {
|
|
72
|
+
* FilterType: "SIMPLE_PATTERN",
|
|
73
|
+
* Value: "STRING_VALUE",
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
76
|
+
* };
|
|
33
77
|
* const command = new CreateTaskCommand(input);
|
|
34
78
|
* const response = await client.send(command);
|
|
35
79
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteAgentCommandOutput extends DeleteAgentResponse, __Metadat
|
|
|
29
29
|
* import { DataSyncClient, DeleteAgentCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
30
30
|
* // const { DataSyncClient, DeleteAgentCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
31
31
|
* const client = new DataSyncClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* AgentArn: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteAgentCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteLocationCommandOutput extends DeleteLocationResponse, __M
|
|
|
26
26
|
* import { DataSyncClient, DeleteLocationCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, DeleteLocationCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LocationArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteLocationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteTaskCommandOutput extends DeleteTaskResponse, __MetadataB
|
|
|
26
26
|
* import { DataSyncClient, DeleteTaskCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, DeleteTaskCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TaskArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteTaskCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeAgentCommandOutput extends DescribeAgentResponse, __Met
|
|
|
26
26
|
* import { DataSyncClient, DescribeAgentCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, DescribeAgentCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AgentArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeAgentCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeLocationEfsCommandOutput extends DescribeLocationEfsRes
|
|
|
26
26
|
* import { DataSyncClient, DescribeLocationEfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, DescribeLocationEfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LocationArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeLocationEfsCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeLocationFsxLustreCommandOutput extends DescribeLocation
|
|
|
26
26
|
* import { DataSyncClient, DescribeLocationFsxLustreCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, DescribeLocationFsxLustreCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LocationArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeLocationFsxLustreCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DescribeLocationFsxOntapCommandOutput extends DescribeLocationF
|
|
|
30
30
|
* import { DataSyncClient, DescribeLocationFsxOntapCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
31
31
|
* // const { DataSyncClient, DescribeLocationFsxOntapCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
32
32
|
* const client = new DataSyncClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* LocationArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DescribeLocationFsxOntapCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DescribeLocationFsxOpenZfsCommandOutput extends DescribeLocatio
|
|
|
30
30
|
* import { DataSyncClient, DescribeLocationFsxOpenZfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
31
31
|
* // const { DataSyncClient, DescribeLocationFsxOpenZfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
32
32
|
* const client = new DataSyncClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* LocationArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DescribeLocationFsxOpenZfsCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DescribeLocationFsxWindowsCommandOutput extends DescribeLocatio
|
|
|
27
27
|
* import { DataSyncClient, DescribeLocationFsxWindowsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
28
28
|
* // const { DataSyncClient, DescribeLocationFsxWindowsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
29
29
|
* const client = new DataSyncClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* LocationArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DescribeLocationFsxWindowsCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DescribeLocationHdfsCommandOutput extends DescribeLocationHdfsR
|
|
|
27
27
|
* import { DataSyncClient, DescribeLocationHdfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
28
28
|
* // const { DataSyncClient, DescribeLocationHdfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
29
29
|
* const client = new DataSyncClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* LocationArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DescribeLocationHdfsCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeLocationNfsCommandOutput extends DescribeLocationNfsRes
|
|
|
26
26
|
* import { DataSyncClient, DescribeLocationNfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, DescribeLocationNfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LocationArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeLocationNfsCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeLocationObjectStorageCommandOutput extends DescribeLoca
|
|
|
26
26
|
* import { DataSyncClient, DescribeLocationObjectStorageCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, DescribeLocationObjectStorageCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LocationArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeLocationObjectStorageCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeLocationS3CommandOutput extends DescribeLocationS3Respo
|
|
|
26
26
|
* import { DataSyncClient, DescribeLocationS3Command } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, DescribeLocationS3Command } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LocationArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeLocationS3Command(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeLocationSmbCommandOutput extends DescribeLocationSmbRes
|
|
|
26
26
|
* import { DataSyncClient, DescribeLocationSmbCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, DescribeLocationSmbCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LocationArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeLocationSmbCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeTaskCommandOutput extends DescribeTaskResponse, __Metad
|
|
|
26
26
|
* import { DataSyncClient, DescribeTaskCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, DescribeTaskCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TaskArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeTaskCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeTaskExecutionCommandOutput extends DescribeTaskExecutio
|
|
|
26
26
|
* import { DataSyncClient, DescribeTaskExecutionCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, DescribeTaskExecutionCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TaskExecutionArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeTaskExecutionCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -36,6 +36,10 @@ export interface ListAgentsCommandOutput extends ListAgentsResponse, __MetadataB
|
|
|
36
36
|
* import { DataSyncClient, ListAgentsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
37
37
|
* // const { DataSyncClient, ListAgentsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
38
38
|
* const client = new DataSyncClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
39
43
|
* const command = new ListAgentsCommand(input);
|
|
40
44
|
* const response = await client.send(command);
|
|
41
45
|
* ```
|
|
@@ -29,6 +29,19 @@ export interface ListLocationsCommandOutput extends ListLocationsResponse, __Met
|
|
|
29
29
|
* import { DataSyncClient, ListLocationsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
30
30
|
* // const { DataSyncClient, ListLocationsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
31
31
|
* const client = new DataSyncClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* Filters: [
|
|
36
|
+
* {
|
|
37
|
+
* Name: "LocationUri" || "LocationType" || "CreationTime", // required
|
|
38
|
+
* Values: [ // required
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* Operator: "Equals" || "NotEquals" || "In" || "LessThanOrEqual" || "LessThan" || "GreaterThanOrEqual" || "GreaterThan" || "Contains" || "NotContains" || "BeginsWith", // required
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
32
45
|
* const command = new ListLocationsCommand(input);
|
|
33
46
|
* const response = await client.send(command);
|
|
34
47
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { DataSyncClient, ListTagsForResourceCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, ListTagsForResourceCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListTaskExecutionsCommandOutput extends ListTaskExecutionsRespo
|
|
|
26
26
|
* import { DataSyncClient, ListTaskExecutionsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, ListTaskExecutionsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TaskArn: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListTaskExecutionsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBea
|
|
|
26
26
|
* import { DataSyncClient, ListTasksCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, ListTasksCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* Filters: [
|
|
33
|
+
* {
|
|
34
|
+
* Name: "LocationId" || "CreationTime", // required
|
|
35
|
+
* Values: [ // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* Operator: "Equals" || "NotEquals" || "In" || "LessThanOrEqual" || "LessThan" || "GreaterThanOrEqual" || "GreaterThan" || "Contains" || "NotContains" || "BeginsWith", // required
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
29
42
|
* const command = new ListTasksCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -27,6 +27,44 @@ export interface StartTaskExecutionCommandOutput extends StartTaskExecutionRespo
|
|
|
27
27
|
* import { DataSyncClient, StartTaskExecutionCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
28
28
|
* // const { DataSyncClient, StartTaskExecutionCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
29
29
|
* const client = new DataSyncClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* TaskArn: "STRING_VALUE", // required
|
|
32
|
+
* OverrideOptions: {
|
|
33
|
+
* VerifyMode: "POINT_IN_TIME_CONSISTENT" || "ONLY_FILES_TRANSFERRED" || "NONE",
|
|
34
|
+
* OverwriteMode: "ALWAYS" || "NEVER",
|
|
35
|
+
* Atime: "NONE" || "BEST_EFFORT",
|
|
36
|
+
* Mtime: "NONE" || "PRESERVE",
|
|
37
|
+
* Uid: "NONE" || "INT_VALUE" || "NAME" || "BOTH",
|
|
38
|
+
* Gid: "NONE" || "INT_VALUE" || "NAME" || "BOTH",
|
|
39
|
+
* PreserveDeletedFiles: "PRESERVE" || "REMOVE",
|
|
40
|
+
* PreserveDevices: "NONE" || "PRESERVE",
|
|
41
|
+
* PosixPermissions: "NONE" || "PRESERVE",
|
|
42
|
+
* BytesPerSecond: Number("long"),
|
|
43
|
+
* TaskQueueing: "ENABLED" || "DISABLED",
|
|
44
|
+
* LogLevel: "OFF" || "BASIC" || "TRANSFER",
|
|
45
|
+
* TransferMode: "CHANGED" || "ALL",
|
|
46
|
+
* SecurityDescriptorCopyFlags: "NONE" || "OWNER_DACL" || "OWNER_DACL_SACL",
|
|
47
|
+
* ObjectTags: "PRESERVE" || "NONE",
|
|
48
|
+
* },
|
|
49
|
+
* Includes: [
|
|
50
|
+
* {
|
|
51
|
+
* FilterType: "SIMPLE_PATTERN",
|
|
52
|
+
* Value: "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* Excludes: [
|
|
56
|
+
* {
|
|
57
|
+
* FilterType: "SIMPLE_PATTERN",
|
|
58
|
+
* Value: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* Tags: [
|
|
62
|
+
* {
|
|
63
|
+
* Key: "STRING_VALUE", // required
|
|
64
|
+
* Value: "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* };
|
|
30
68
|
* const command = new StartTaskExecutionCommand(input);
|
|
31
69
|
* const response = await client.send(command);
|
|
32
70
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
28
28
|
* import { DataSyncClient, TagResourceCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
29
29
|
* // const { DataSyncClient, TagResourceCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
30
30
|
* const client = new DataSyncClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
33
|
+
* Tags: [ // required
|
|
34
|
+
* {
|
|
35
|
+
* Key: "STRING_VALUE", // required
|
|
36
|
+
* Value: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
31
40
|
* const command = new TagResourceCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { DataSyncClient, UntagResourceCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, UntagResourceCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* Keys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface UpdateAgentCommandOutput extends UpdateAgentResponse, __Metadat
|
|
|
26
26
|
* import { DataSyncClient, UpdateAgentCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, UpdateAgentCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AgentArn: "STRING_VALUE", // required
|
|
31
|
+
* Name: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new UpdateAgentCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,31 @@ export interface UpdateLocationHdfsCommandOutput extends UpdateLocationHdfsRespo
|
|
|
27
27
|
* import { DataSyncClient, UpdateLocationHdfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
28
28
|
* // const { DataSyncClient, UpdateLocationHdfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
29
29
|
* const client = new DataSyncClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* LocationArn: "STRING_VALUE", // required
|
|
32
|
+
* Subdirectory: "STRING_VALUE",
|
|
33
|
+
* NameNodes: [
|
|
34
|
+
* {
|
|
35
|
+
* Hostname: "STRING_VALUE", // required
|
|
36
|
+
* Port: Number("int"), // required
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* BlockSize: Number("int"),
|
|
40
|
+
* ReplicationFactor: Number("int"),
|
|
41
|
+
* KmsKeyProviderUri: "STRING_VALUE",
|
|
42
|
+
* QopConfiguration: {
|
|
43
|
+
* RpcProtection: "DISABLED" || "AUTHENTICATION" || "INTEGRITY" || "PRIVACY",
|
|
44
|
+
* DataTransferProtection: "DISABLED" || "AUTHENTICATION" || "INTEGRITY" || "PRIVACY",
|
|
45
|
+
* },
|
|
46
|
+
* AuthenticationType: "SIMPLE" || "KERBEROS",
|
|
47
|
+
* SimpleUser: "STRING_VALUE",
|
|
48
|
+
* KerberosPrincipal: "STRING_VALUE",
|
|
49
|
+
* KerberosKeytab: "BLOB_VALUE",
|
|
50
|
+
* KerberosKrb5Conf: "BLOB_VALUE",
|
|
51
|
+
* AgentArns: [
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* };
|
|
30
55
|
* const command = new UpdateLocationHdfsCommand(input);
|
|
31
56
|
* const response = await client.send(command);
|
|
32
57
|
* ```
|
|
@@ -27,6 +27,18 @@ export interface UpdateLocationNfsCommandOutput extends UpdateLocationNfsRespons
|
|
|
27
27
|
* import { DataSyncClient, UpdateLocationNfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
28
28
|
* // const { DataSyncClient, UpdateLocationNfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
29
29
|
* const client = new DataSyncClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* LocationArn: "STRING_VALUE", // required
|
|
32
|
+
* Subdirectory: "STRING_VALUE",
|
|
33
|
+
* OnPremConfig: {
|
|
34
|
+
* AgentArns: [ // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* },
|
|
38
|
+
* MountOptions: {
|
|
39
|
+
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1",
|
|
40
|
+
* },
|
|
41
|
+
* };
|
|
30
42
|
* const command = new UpdateLocationNfsCommand(input);
|
|
31
43
|
* const response = await client.send(command);
|
|
32
44
|
* ```
|
|
@@ -29,6 +29,18 @@ export interface UpdateLocationObjectStorageCommandOutput extends UpdateLocation
|
|
|
29
29
|
* import { DataSyncClient, UpdateLocationObjectStorageCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
30
30
|
* // const { DataSyncClient, UpdateLocationObjectStorageCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
31
31
|
* const client = new DataSyncClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* LocationArn: "STRING_VALUE", // required
|
|
34
|
+
* ServerPort: Number("int"),
|
|
35
|
+
* ServerProtocol: "HTTPS" || "HTTP",
|
|
36
|
+
* Subdirectory: "STRING_VALUE",
|
|
37
|
+
* AccessKey: "STRING_VALUE",
|
|
38
|
+
* SecretKey: "STRING_VALUE",
|
|
39
|
+
* AgentArns: [
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* ServerCertificate: "BLOB_VALUE",
|
|
43
|
+
* };
|
|
32
44
|
* const command = new UpdateLocationObjectStorageCommand(input);
|
|
33
45
|
* const response = await client.send(command);
|
|
34
46
|
* ```
|
|
@@ -28,6 +28,19 @@ export interface UpdateLocationSmbCommandOutput extends UpdateLocationSmbRespons
|
|
|
28
28
|
* import { DataSyncClient, UpdateLocationSmbCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
29
29
|
* // const { DataSyncClient, UpdateLocationSmbCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
30
30
|
* const client = new DataSyncClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* LocationArn: "STRING_VALUE", // required
|
|
33
|
+
* Subdirectory: "STRING_VALUE",
|
|
34
|
+
* User: "STRING_VALUE",
|
|
35
|
+
* Domain: "STRING_VALUE",
|
|
36
|
+
* Password: "STRING_VALUE",
|
|
37
|
+
* AgentArns: [
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* MountOptions: {
|
|
41
|
+
* Version: "AUTOMATIC" || "SMB2" || "SMB3" || "SMB1" || "SMB2_0",
|
|
42
|
+
* },
|
|
43
|
+
* };
|
|
31
44
|
* const command = new UpdateLocationSmbCommand(input);
|
|
32
45
|
* const response = await client.send(command);
|
|
33
46
|
* ```
|
|
@@ -26,6 +26,43 @@ export interface UpdateTaskCommandOutput extends UpdateTaskResponse, __MetadataB
|
|
|
26
26
|
* import { DataSyncClient, UpdateTaskCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
27
27
|
* // const { DataSyncClient, UpdateTaskCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
28
28
|
* const client = new DataSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TaskArn: "STRING_VALUE", // required
|
|
31
|
+
* Options: {
|
|
32
|
+
* VerifyMode: "POINT_IN_TIME_CONSISTENT" || "ONLY_FILES_TRANSFERRED" || "NONE",
|
|
33
|
+
* OverwriteMode: "ALWAYS" || "NEVER",
|
|
34
|
+
* Atime: "NONE" || "BEST_EFFORT",
|
|
35
|
+
* Mtime: "NONE" || "PRESERVE",
|
|
36
|
+
* Uid: "NONE" || "INT_VALUE" || "NAME" || "BOTH",
|
|
37
|
+
* Gid: "NONE" || "INT_VALUE" || "NAME" || "BOTH",
|
|
38
|
+
* PreserveDeletedFiles: "PRESERVE" || "REMOVE",
|
|
39
|
+
* PreserveDevices: "NONE" || "PRESERVE",
|
|
40
|
+
* PosixPermissions: "NONE" || "PRESERVE",
|
|
41
|
+
* BytesPerSecond: Number("long"),
|
|
42
|
+
* TaskQueueing: "ENABLED" || "DISABLED",
|
|
43
|
+
* LogLevel: "OFF" || "BASIC" || "TRANSFER",
|
|
44
|
+
* TransferMode: "CHANGED" || "ALL",
|
|
45
|
+
* SecurityDescriptorCopyFlags: "NONE" || "OWNER_DACL" || "OWNER_DACL_SACL",
|
|
46
|
+
* ObjectTags: "PRESERVE" || "NONE",
|
|
47
|
+
* },
|
|
48
|
+
* Excludes: [
|
|
49
|
+
* {
|
|
50
|
+
* FilterType: "SIMPLE_PATTERN",
|
|
51
|
+
* Value: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* Schedule: {
|
|
55
|
+
* ScheduleExpression: "STRING_VALUE", // required
|
|
56
|
+
* },
|
|
57
|
+
* Name: "STRING_VALUE",
|
|
58
|
+
* CloudWatchLogGroupArn: "STRING_VALUE",
|
|
59
|
+
* Includes: [
|
|
60
|
+
* {
|
|
61
|
+
* FilterType: "SIMPLE_PATTERN",
|
|
62
|
+
* Value: "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* };
|
|
29
66
|
* const command = new UpdateTaskCommand(input);
|
|
30
67
|
* const response = await client.send(command);
|
|
31
68
|
* ```
|
|
@@ -34,6 +34,26 @@ export interface UpdateTaskExecutionCommandOutput extends UpdateTaskExecutionRes
|
|
|
34
34
|
* import { DataSyncClient, UpdateTaskExecutionCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
35
35
|
* // const { DataSyncClient, UpdateTaskExecutionCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
36
36
|
* const client = new DataSyncClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* TaskExecutionArn: "STRING_VALUE", // required
|
|
39
|
+
* Options: {
|
|
40
|
+
* VerifyMode: "POINT_IN_TIME_CONSISTENT" || "ONLY_FILES_TRANSFERRED" || "NONE",
|
|
41
|
+
* OverwriteMode: "ALWAYS" || "NEVER",
|
|
42
|
+
* Atime: "NONE" || "BEST_EFFORT",
|
|
43
|
+
* Mtime: "NONE" || "PRESERVE",
|
|
44
|
+
* Uid: "NONE" || "INT_VALUE" || "NAME" || "BOTH",
|
|
45
|
+
* Gid: "NONE" || "INT_VALUE" || "NAME" || "BOTH",
|
|
46
|
+
* PreserveDeletedFiles: "PRESERVE" || "REMOVE",
|
|
47
|
+
* PreserveDevices: "NONE" || "PRESERVE",
|
|
48
|
+
* PosixPermissions: "NONE" || "PRESERVE",
|
|
49
|
+
* BytesPerSecond: Number("long"),
|
|
50
|
+
* TaskQueueing: "ENABLED" || "DISABLED",
|
|
51
|
+
* LogLevel: "OFF" || "BASIC" || "TRANSFER",
|
|
52
|
+
* TransferMode: "CHANGED" || "ALL",
|
|
53
|
+
* SecurityDescriptorCopyFlags: "NONE" || "OWNER_DACL" || "OWNER_DACL_SACL",
|
|
54
|
+
* ObjectTags: "PRESERVE" || "NONE",
|
|
55
|
+
* },
|
|
56
|
+
* };
|
|
37
57
|
* const command = new UpdateTaskExecutionCommand(input);
|
|
38
58
|
* const response = await client.send(command);
|
|
39
59
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-datasync",
|
|
3
3
|
"description": "AWS SDK for JavaScript Datasync Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,23 +21,23 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|