@aws-sdk/client-datasync 3.1150.0 → 3.1152.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-cjs/index.js +10 -3
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +3 -2
- package/dist-types/commands/CreateLocationFsxOntapCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationFsxOpenZfsCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationNfsCommand.d.ts +1 -1
- package/dist-types/commands/CreateTaskCommand.d.ts +1 -0
- package/dist-types/commands/DescribeLocationFsxOntapCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationFsxOpenZfsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationNfsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTaskCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTaskExecutionCommand.d.ts +1 -0
- package/dist-types/commands/StartTaskExecutionCommand.d.ts +1 -0
- package/dist-types/commands/UpdateLocationFsxOntapCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLocationFsxOpenZfsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLocationNfsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskCommand.d.ts +1 -0
- package/dist-types/commands/UpdateTaskExecutionCommand.d.ts +1 -0
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +45 -9
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1151.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -400,6 +400,7 @@ const _NN = "NameNodes";
|
|
|
400
400
|
const _NT = "NextToken";
|
|
401
401
|
const _O = "Options";
|
|
402
402
|
const _OM = "OverwriteMode";
|
|
403
|
+
const _OMb = "ObjectMetadata";
|
|
403
404
|
const _OO = "OverrideOptions";
|
|
404
405
|
const _OPC = "OnPremConfig";
|
|
405
406
|
const _OSSK = "ObjectStorageSecretKey";
|
|
@@ -1040,8 +1041,8 @@ var OnPremConfig$ = [3, n0, _OPC,
|
|
|
1040
1041
|
];
|
|
1041
1042
|
var Options$ = [3, n0, _O,
|
|
1042
1043
|
0,
|
|
1043
|
-
[_VM, _OM, _At, _M, _Ui, _G, _PDF, _PD, _PP, _BPS, _TQ, _LL, _TMr, _SDCF, _OT],
|
|
1044
|
-
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0]
|
|
1044
|
+
[_VM, _OM, _At, _M, _Ui, _G, _PDF, _PD, _PP, _BPS, _TQ, _LL, _TMr, _SDCF, _OT, _OMb],
|
|
1045
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0]
|
|
1045
1046
|
];
|
|
1046
1047
|
var Platform$ = [3, n0, _P,
|
|
1047
1048
|
0,
|
|
@@ -1937,6 +1938,7 @@ const NfsVersion = {
|
|
|
1937
1938
|
NFS3: "NFS3",
|
|
1938
1939
|
NFS4_0: "NFS4_0",
|
|
1939
1940
|
NFS4_1: "NFS4_1",
|
|
1941
|
+
NFS4_2: "NFS4_2",
|
|
1940
1942
|
};
|
|
1941
1943
|
const SmbVersion = {
|
|
1942
1944
|
AUTOMATIC: "AUTOMATIC",
|
|
@@ -2003,6 +2005,10 @@ const Mtime = {
|
|
|
2003
2005
|
NONE: "NONE",
|
|
2004
2006
|
PRESERVE: "PRESERVE",
|
|
2005
2007
|
};
|
|
2008
|
+
const ObjectMetadata = {
|
|
2009
|
+
NONE: "NONE",
|
|
2010
|
+
PRESERVE: "PRESERVE",
|
|
2011
|
+
};
|
|
2006
2012
|
const ObjectTags = {
|
|
2007
2013
|
NONE: "NONE",
|
|
2008
2014
|
PRESERVE: "PRESERVE",
|
|
@@ -2308,6 +2314,7 @@ exports.ManifestFormat = ManifestFormat;
|
|
|
2308
2314
|
exports.Mtime = Mtime;
|
|
2309
2315
|
exports.NfsMountOptions$ = NfsMountOptions$;
|
|
2310
2316
|
exports.NfsVersion = NfsVersion;
|
|
2317
|
+
exports.ObjectMetadata = ObjectMetadata;
|
|
2311
2318
|
exports.ObjectStorageServerProtocol = ObjectStorageServerProtocol;
|
|
2312
2319
|
exports.ObjectTags = ObjectTags;
|
|
2313
2320
|
exports.ObjectVersionIds = ObjectVersionIds;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -27,6 +27,7 @@ export const NfsVersion = {
|
|
|
27
27
|
NFS3: "NFS3",
|
|
28
28
|
NFS4_0: "NFS4_0",
|
|
29
29
|
NFS4_1: "NFS4_1",
|
|
30
|
+
NFS4_2: "NFS4_2",
|
|
30
31
|
};
|
|
31
32
|
export const SmbVersion = {
|
|
32
33
|
AUTOMATIC: "AUTOMATIC",
|
|
@@ -93,6 +94,10 @@ export const Mtime = {
|
|
|
93
94
|
NONE: "NONE",
|
|
94
95
|
PRESERVE: "PRESERVE",
|
|
95
96
|
};
|
|
97
|
+
export const ObjectMetadata = {
|
|
98
|
+
NONE: "NONE",
|
|
99
|
+
PRESERVE: "PRESERVE",
|
|
100
|
+
};
|
|
96
101
|
export const ObjectTags = {
|
|
97
102
|
NONE: "NONE",
|
|
98
103
|
PRESERVE: "PRESERVE",
|
|
@@ -226,6 +226,7 @@ const _NN = "NameNodes";
|
|
|
226
226
|
const _NT = "NextToken";
|
|
227
227
|
const _O = "Options";
|
|
228
228
|
const _OM = "OverwriteMode";
|
|
229
|
+
const _OMb = "ObjectMetadata";
|
|
229
230
|
const _OO = "OverrideOptions";
|
|
230
231
|
const _OPC = "OnPremConfig";
|
|
231
232
|
const _OSSK = "ObjectStorageSecretKey";
|
|
@@ -869,8 +870,8 @@ export var OnPremConfig$ = [3, n0, _OPC,
|
|
|
869
870
|
];
|
|
870
871
|
export var Options$ = [3, n0, _O,
|
|
871
872
|
0,
|
|
872
|
-
[_VM, _OM, _At, _M, _Ui, _G, _PDF, _PD, _PP, _BPS, _TQ, _LL, _TMr, _SDCF, _OT],
|
|
873
|
-
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0]
|
|
873
|
+
[_VM, _OM, _At, _M, _Ui, _G, _PDF, _PD, _PP, _BPS, _TQ, _LL, _TMr, _SDCF, _OT, _OMb],
|
|
874
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0]
|
|
874
875
|
];
|
|
875
876
|
export var Platform$ = [3, n0, _P,
|
|
876
877
|
0,
|
|
@@ -41,7 +41,7 @@ declare const CreateLocationFsxOntapCommand_base: {
|
|
|
41
41
|
* Protocol: { // FsxProtocol
|
|
42
42
|
* NFS: { // FsxProtocolNfs
|
|
43
43
|
* MountOptions: { // NfsMountOptions
|
|
44
|
-
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1",
|
|
44
|
+
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1" || "NFS4_2",
|
|
45
45
|
* },
|
|
46
46
|
* },
|
|
47
47
|
* SMB: { // FsxProtocolSmb
|
|
@@ -47,7 +47,7 @@ declare const CreateLocationFsxOpenZfsCommand_base: {
|
|
|
47
47
|
* Protocol: { // FsxProtocol
|
|
48
48
|
* NFS: { // FsxProtocolNfs
|
|
49
49
|
* MountOptions: { // NfsMountOptions
|
|
50
|
-
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1",
|
|
50
|
+
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1" || "NFS4_2",
|
|
51
51
|
* },
|
|
52
52
|
* },
|
|
53
53
|
* SMB: { // FsxProtocolSmb
|
|
@@ -47,7 +47,7 @@ declare const CreateLocationNfsCommand_base: {
|
|
|
47
47
|
* ],
|
|
48
48
|
* },
|
|
49
49
|
* MountOptions: { // NfsMountOptions
|
|
50
|
-
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1",
|
|
50
|
+
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1" || "NFS4_2",
|
|
51
51
|
* },
|
|
52
52
|
* Tags: [ // InputTagList
|
|
53
53
|
* { // TagListEntry
|
|
@@ -63,6 +63,7 @@ declare const CreateTaskCommand_base: {
|
|
|
63
63
|
* TransferMode: "CHANGED" || "ALL",
|
|
64
64
|
* SecurityDescriptorCopyFlags: "NONE" || "OWNER_DACL" || "OWNER_DACL_SACL",
|
|
65
65
|
* ObjectTags: "PRESERVE" || "NONE",
|
|
66
|
+
* ObjectMetadata: "PRESERVE" || "NONE",
|
|
66
67
|
* },
|
|
67
68
|
* Excludes: [ // FilterList
|
|
68
69
|
* { // FilterRule
|
|
@@ -49,7 +49,7 @@ declare const DescribeLocationFsxOntapCommand_base: {
|
|
|
49
49
|
* // Protocol: { // FsxProtocol
|
|
50
50
|
* // NFS: { // FsxProtocolNfs
|
|
51
51
|
* // MountOptions: { // NfsMountOptions
|
|
52
|
-
* // Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1",
|
|
52
|
+
* // Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1" || "NFS4_2",
|
|
53
53
|
* // },
|
|
54
54
|
* // },
|
|
55
55
|
* // SMB: { // FsxProtocolSmb
|
|
@@ -51,7 +51,7 @@ declare const DescribeLocationFsxOpenZfsCommand_base: {
|
|
|
51
51
|
* // Protocol: { // FsxProtocol
|
|
52
52
|
* // NFS: { // FsxProtocolNfs
|
|
53
53
|
* // MountOptions: { // NfsMountOptions
|
|
54
|
-
* // Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1",
|
|
54
|
+
* // Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1" || "NFS4_2",
|
|
55
55
|
* // },
|
|
56
56
|
* // },
|
|
57
57
|
* // SMB: { // FsxProtocolSmb
|
|
@@ -48,7 +48,7 @@ declare const DescribeLocationNfsCommand_base: {
|
|
|
48
48
|
* // ],
|
|
49
49
|
* // },
|
|
50
50
|
* // MountOptions: { // NfsMountOptions
|
|
51
|
-
* // Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1",
|
|
51
|
+
* // Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1" || "NFS4_2",
|
|
52
52
|
* // },
|
|
53
53
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
54
54
|
* // };
|
|
@@ -69,6 +69,7 @@ declare const DescribeTaskCommand_base: {
|
|
|
69
69
|
* // TransferMode: "CHANGED" || "ALL",
|
|
70
70
|
* // SecurityDescriptorCopyFlags: "NONE" || "OWNER_DACL" || "OWNER_DACL_SACL",
|
|
71
71
|
* // ObjectTags: "PRESERVE" || "NONE",
|
|
72
|
+
* // ObjectMetadata: "PRESERVE" || "NONE",
|
|
72
73
|
* // },
|
|
73
74
|
* // Excludes: [ // FilterList
|
|
74
75
|
* // { // FilterRule
|
|
@@ -64,6 +64,7 @@ declare const DescribeTaskExecutionCommand_base: {
|
|
|
64
64
|
* // TransferMode: "CHANGED" || "ALL",
|
|
65
65
|
* // SecurityDescriptorCopyFlags: "NONE" || "OWNER_DACL" || "OWNER_DACL_SACL",
|
|
66
66
|
* // ObjectTags: "PRESERVE" || "NONE",
|
|
67
|
+
* // ObjectMetadata: "PRESERVE" || "NONE",
|
|
67
68
|
* // },
|
|
68
69
|
* // Excludes: [ // FilterList
|
|
69
70
|
* // { // FilterRule
|
|
@@ -59,6 +59,7 @@ declare const StartTaskExecutionCommand_base: {
|
|
|
59
59
|
* TransferMode: "CHANGED" || "ALL",
|
|
60
60
|
* SecurityDescriptorCopyFlags: "NONE" || "OWNER_DACL" || "OWNER_DACL_SACL",
|
|
61
61
|
* ObjectTags: "PRESERVE" || "NONE",
|
|
62
|
+
* ObjectMetadata: "PRESERVE" || "NONE",
|
|
62
63
|
* },
|
|
63
64
|
* Includes: [ // FilterList
|
|
64
65
|
* { // FilterRule
|
|
@@ -41,7 +41,7 @@ declare const UpdateLocationFsxOntapCommand_base: {
|
|
|
41
41
|
* Protocol: { // FsxUpdateProtocol
|
|
42
42
|
* NFS: { // FsxProtocolNfs
|
|
43
43
|
* MountOptions: { // NfsMountOptions
|
|
44
|
-
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1",
|
|
44
|
+
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1" || "NFS4_2",
|
|
45
45
|
* },
|
|
46
46
|
* },
|
|
47
47
|
* SMB: { // FsxUpdateProtocolSmb
|
|
@@ -45,7 +45,7 @@ declare const UpdateLocationFsxOpenZfsCommand_base: {
|
|
|
45
45
|
* Protocol: { // FsxProtocol
|
|
46
46
|
* NFS: { // FsxProtocolNfs
|
|
47
47
|
* MountOptions: { // NfsMountOptions
|
|
48
|
-
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1",
|
|
48
|
+
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1" || "NFS4_2",
|
|
49
49
|
* },
|
|
50
50
|
* },
|
|
51
51
|
* SMB: { // FsxProtocolSmb
|
|
@@ -46,7 +46,7 @@ declare const UpdateLocationNfsCommand_base: {
|
|
|
46
46
|
* ],
|
|
47
47
|
* },
|
|
48
48
|
* MountOptions: { // NfsMountOptions
|
|
49
|
-
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1",
|
|
49
|
+
* Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1" || "NFS4_2",
|
|
50
50
|
* },
|
|
51
51
|
* };
|
|
52
52
|
* const command = new UpdateLocationNfsCommand(input);
|
|
@@ -52,6 +52,7 @@ declare const UpdateTaskCommand_base: {
|
|
|
52
52
|
* TransferMode: "CHANGED" || "ALL",
|
|
53
53
|
* SecurityDescriptorCopyFlags: "NONE" || "OWNER_DACL" || "OWNER_DACL_SACL",
|
|
54
54
|
* ObjectTags: "PRESERVE" || "NONE",
|
|
55
|
+
* ObjectMetadata: "PRESERVE" || "NONE",
|
|
55
56
|
* },
|
|
56
57
|
* Excludes: [ // FilterList
|
|
57
58
|
* { // FilterRule
|
|
@@ -58,6 +58,7 @@ declare const UpdateTaskExecutionCommand_base: {
|
|
|
58
58
|
* TransferMode: "CHANGED" || "ALL",
|
|
59
59
|
* SecurityDescriptorCopyFlags: "NONE" || "OWNER_DACL" || "OWNER_DACL_SACL",
|
|
60
60
|
* ObjectTags: "PRESERVE" || "NONE",
|
|
61
|
+
* ObjectMetadata: "PRESERVE" || "NONE",
|
|
61
62
|
* },
|
|
62
63
|
* };
|
|
63
64
|
* const command = new UpdateTaskExecutionCommand(input);
|
|
@@ -79,6 +79,7 @@ export declare const NfsVersion: {
|
|
|
79
79
|
readonly NFS3: "NFS3";
|
|
80
80
|
readonly NFS4_0: "NFS4_0";
|
|
81
81
|
readonly NFS4_1: "NFS4_1";
|
|
82
|
+
readonly NFS4_2: "NFS4_2";
|
|
82
83
|
};
|
|
83
84
|
/**
|
|
84
85
|
* @public
|
|
@@ -253,6 +254,18 @@ export declare const Mtime: {
|
|
|
253
254
|
* @public
|
|
254
255
|
*/
|
|
255
256
|
export type Mtime = (typeof Mtime)[keyof typeof Mtime];
|
|
257
|
+
/**
|
|
258
|
+
* @public
|
|
259
|
+
* @enum
|
|
260
|
+
*/
|
|
261
|
+
export declare const ObjectMetadata: {
|
|
262
|
+
readonly NONE: "NONE";
|
|
263
|
+
readonly PRESERVE: "PRESERVE";
|
|
264
|
+
};
|
|
265
|
+
/**
|
|
266
|
+
* @public
|
|
267
|
+
*/
|
|
268
|
+
export type ObjectMetadata = (typeof ObjectMetadata)[keyof typeof ObjectMetadata];
|
|
256
269
|
/**
|
|
257
270
|
* @public
|
|
258
271
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgentStatus, Atime, AzureAccessTier, AzureBlobAuthenticationType, AzureBlobType, EfsInTransitEncryption, EndpointType, FilterType, Gid, HdfsAuthenticationType, HdfsDataTransferProtection, HdfsRpcProtection, LocationFilterName, LogLevel, ManifestAction, ManifestFormat, Mtime, NfsVersion, ObjectStorageServerProtocol, ObjectTags, ObjectVersionIds, Operator, OverwriteMode, PhaseStatus, PosixPermissions, PreserveDeletedFiles, PreserveDevices, ReportLevel, ReportOutputType, S3StorageClass, ScheduleDisabledBy, ScheduleStatus, SmbAuthenticationType, SmbSecurityDescriptorCopyFlags, SmbVersion, TaskExecutionStatus, TaskFilterName, TaskMode, TaskQueueing, TaskStatus, TransferMode, Uid, VerifyMode } from "./enums";
|
|
1
|
+
import type { AgentStatus, Atime, AzureAccessTier, AzureBlobAuthenticationType, AzureBlobType, EfsInTransitEncryption, EndpointType, FilterType, Gid, HdfsAuthenticationType, HdfsDataTransferProtection, HdfsRpcProtection, LocationFilterName, LogLevel, ManifestAction, ManifestFormat, Mtime, NfsVersion, ObjectMetadata, ObjectStorageServerProtocol, ObjectTags, ObjectVersionIds, Operator, OverwriteMode, PhaseStatus, PosixPermissions, PreserveDeletedFiles, PreserveDevices, ReportLevel, ReportOutputType, S3StorageClass, ScheduleDisabledBy, ScheduleStatus, SmbAuthenticationType, SmbSecurityDescriptorCopyFlags, SmbVersion, TaskExecutionStatus, TaskFilterName, TaskMode, TaskQueueing, TaskStatus, TransferMode, Uid, VerifyMode } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>The platform-related details about the DataSync agent, such as the version
|
|
4
4
|
* number.</p>
|
|
@@ -157,18 +157,28 @@ export interface CreateAgentRequest {
|
|
|
157
157
|
* <p>The VPC service endpoint you use must include the DataSync service name (for
|
|
158
158
|
* example, <code>com.amazonaws.us-east-2.datasync</code>).</p>
|
|
159
159
|
* </important>
|
|
160
|
+
* <p>The endpoint ID is informational. DataSync doesn't verify it or use it to connect
|
|
161
|
+
* to your agent. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/choose-service-endpoint.html#vpc-endpoint-multiple-subnets">Using a single VPC service endpoint across multiple subnets</a>.</p>
|
|
160
162
|
* @public
|
|
161
163
|
*/
|
|
162
164
|
VpcEndpointId?: string | undefined;
|
|
163
165
|
/**
|
|
164
|
-
* <p>Specifies the ARN of the subnet where
|
|
165
|
-
*
|
|
166
|
+
* <p>Specifies the ARN of the subnet where DataSync creates the <a href="https://docs.aws.amazon.com/datasync/latest/userguide/required-network-interfaces.html">network
|
|
167
|
+
* interfaces</a> that handle data transfer traffic for your tasks. You can only specify one
|
|
168
|
+
* ARN.</p>
|
|
169
|
+
* <p>The subnet doesn't have to be the subnet that contains your VPC service endpoint. The
|
|
170
|
+
* subnet can be one that another Amazon Web Services account shared with you through <a href="https://docs.aws.amazon.com/ram/latest/userguide/what-is.html">RAM</a>, in
|
|
171
|
+
* which case the ARN must specify the account that owns the subnet. For more information, see
|
|
172
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/choose-service-endpoint.html#vpc-endpoint-multiple-subnets">Using a single VPC service endpoint across multiple subnets</a>.</p>
|
|
166
173
|
* @public
|
|
167
174
|
*/
|
|
168
175
|
SubnetArns?: string[] | undefined;
|
|
169
176
|
/**
|
|
170
177
|
* <p>Specifies the Amazon Resource Name (ARN) of the security group that allows traffic between
|
|
171
178
|
* your agent and VPC service endpoint. You can only specify one ARN.</p>
|
|
179
|
+
* <p>The ARN must specify your own account, even when the security group was shared with you
|
|
180
|
+
* from the account that owns the VPC. The security group must belong to the same VPC as the
|
|
181
|
+
* subnet that you specify in <code>SubnetArns</code>.</p>
|
|
172
182
|
* @public
|
|
173
183
|
*/
|
|
174
184
|
SecurityGroupArns?: string[] | undefined;
|
|
@@ -484,7 +494,9 @@ export interface NfsMountOptions {
|
|
|
484
494
|
* <ul>
|
|
485
495
|
* <li>
|
|
486
496
|
* <p>
|
|
487
|
-
* <code>AUTOMATIC</code> (default): DataSync chooses NFS version 4.1
|
|
497
|
+
* <code>AUTOMATIC</code> (default): DataSync chooses NFS version 4.1. For
|
|
498
|
+
* Amazon FSx for OpenZFS locations, DataSync first attempts to use NFS
|
|
499
|
+
* version 4.2, then falls back to version 4.1, and then to earlier versions if needed.</p>
|
|
488
500
|
* </li>
|
|
489
501
|
* <li>
|
|
490
502
|
* <p>
|
|
@@ -502,6 +514,13 @@ export interface NfsMountOptions {
|
|
|
502
514
|
* delegations, and parallel data processing. NFS version 4.1 also includes all features
|
|
503
515
|
* available in version 4.0.</p>
|
|
504
516
|
* </li>
|
|
517
|
+
* <li>
|
|
518
|
+
* <p>
|
|
519
|
+
* <code>NFSv4_2</code>: Stateful protocol version that supports sparse file
|
|
520
|
+
* operations, space reservation, and server-side copy operations, in addition to all
|
|
521
|
+
* features available in version 4.1. Selecting NFS version 4.2 requires an Enhanced mode
|
|
522
|
+
* task.</p>
|
|
523
|
+
* </li>
|
|
505
524
|
* </ul>
|
|
506
525
|
* <note>
|
|
507
526
|
* <p>DataSync currently only supports NFS version 3 with Amazon FSx for NetApp ONTAP locations.</p>
|
|
@@ -2031,6 +2050,17 @@ export interface Options {
|
|
|
2031
2050
|
* @public
|
|
2032
2051
|
*/
|
|
2033
2052
|
ObjectTags?: ObjectTags | undefined;
|
|
2053
|
+
/**
|
|
2054
|
+
* <p>Specifies whether you want DataSync to <code>PRESERVE</code> object metadata
|
|
2055
|
+
* (default behavior) when transferring between object storage systems. If you want your
|
|
2056
|
+
* DataSync task to ignore object metadata, specify the <code>NONE</code> value.</p>
|
|
2057
|
+
* <note>
|
|
2058
|
+
* <p>Even if you specify <code>NONE</code>, metadata for the last modified time is still
|
|
2059
|
+
* preserved.</p>
|
|
2060
|
+
* </note>
|
|
2061
|
+
* @public
|
|
2062
|
+
*/
|
|
2063
|
+
ObjectMetadata?: ObjectMetadata | undefined;
|
|
2034
2064
|
}
|
|
2035
2065
|
/**
|
|
2036
2066
|
* <p>Configures your DataSync task to run on a <a href="https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html">schedule</a>
|
|
@@ -2409,7 +2439,10 @@ export interface DescribeAgentRequest {
|
|
|
2409
2439
|
*/
|
|
2410
2440
|
export interface PrivateLinkConfig {
|
|
2411
2441
|
/**
|
|
2412
|
-
* <p>Specifies the ID of the VPC endpoint that your agent
|
|
2442
|
+
* <p>Specifies the ID of the VPC service endpoint that's recorded for your agent. The endpoint ID
|
|
2443
|
+
* is informational and isn't verified by DataSync. Your agent communicates through the
|
|
2444
|
+
* private IP address in <code>PrivateLinkEndpoint</code>, which is set when you activate the
|
|
2445
|
+
* agent.</p>
|
|
2413
2446
|
* @public
|
|
2414
2447
|
*/
|
|
2415
2448
|
VpcEndpointId?: string | undefined;
|
|
@@ -2419,8 +2452,9 @@ export interface PrivateLinkConfig {
|
|
|
2419
2452
|
*/
|
|
2420
2453
|
PrivateLinkEndpoint?: string | undefined;
|
|
2421
2454
|
/**
|
|
2422
|
-
* <p>Specifies the ARN of the subnet where
|
|
2423
|
-
* one ARN.</p>
|
|
2455
|
+
* <p>Specifies the ARN of the subnet where DataSync creates the network interfaces
|
|
2456
|
+
* that handle data transfer traffic for your tasks. You can only specify one ARN.</p>
|
|
2457
|
+
* <p>The subnet doesn't have to be the subnet that contains your VPC endpoint.</p>
|
|
2424
2458
|
* @public
|
|
2425
2459
|
*/
|
|
2426
2460
|
SubnetArns?: string[] | undefined;
|
|
@@ -4893,11 +4927,13 @@ export interface UpdateLocationHdfsRequest {
|
|
|
4893
4927
|
* <p>The number of NameNodes you can specify depends on the task mode:</p>
|
|
4894
4928
|
* <ul>
|
|
4895
4929
|
* <li>
|
|
4896
|
-
* <p>
|
|
4930
|
+
* <p>
|
|
4931
|
+
* <b>Enhanced mode</b> – You can specify multiple NameNodes for HDFS High Availability (HA)
|
|
4897
4932
|
* configurations.</p>
|
|
4898
4933
|
* </li>
|
|
4899
4934
|
* <li>
|
|
4900
|
-
* <p>
|
|
4935
|
+
* <p>
|
|
4936
|
+
* <b>Basic mode</b> – You can specify only one NameNode.</p>
|
|
4901
4937
|
* </li>
|
|
4902
4938
|
* </ul>
|
|
4903
4939
|
* @public
|
|
@@ -35,6 +35,7 @@ export declare const NfsVersion: {
|
|
|
35
35
|
readonly NFS3: "NFS3";
|
|
36
36
|
readonly NFS4_0: "NFS4_0";
|
|
37
37
|
readonly NFS4_1: "NFS4_1";
|
|
38
|
+
readonly NFS4_2: "NFS4_2";
|
|
38
39
|
};
|
|
39
40
|
export type NfsVersion = (typeof NfsVersion)[keyof typeof NfsVersion];
|
|
40
41
|
export declare const SmbVersion: {
|
|
@@ -119,6 +120,11 @@ export declare const Mtime: {
|
|
|
119
120
|
readonly PRESERVE: "PRESERVE";
|
|
120
121
|
};
|
|
121
122
|
export type Mtime = (typeof Mtime)[keyof typeof Mtime];
|
|
123
|
+
export declare const ObjectMetadata: {
|
|
124
|
+
readonly NONE: "NONE";
|
|
125
|
+
readonly PRESERVE: "PRESERVE";
|
|
126
|
+
};
|
|
127
|
+
export type ObjectMetadata = (typeof ObjectMetadata)[keyof typeof ObjectMetadata];
|
|
122
128
|
export declare const ObjectTags: {
|
|
123
129
|
readonly NONE: "NONE";
|
|
124
130
|
readonly PRESERVE: "PRESERVE";
|
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
ManifestFormat,
|
|
18
18
|
Mtime,
|
|
19
19
|
NfsVersion,
|
|
20
|
+
ObjectMetadata,
|
|
20
21
|
ObjectStorageServerProtocol,
|
|
21
22
|
ObjectTags,
|
|
22
23
|
ObjectVersionIds,
|
|
@@ -307,6 +308,7 @@ export interface Options {
|
|
|
307
308
|
TransferMode?: TransferMode | undefined;
|
|
308
309
|
SecurityDescriptorCopyFlags?: SmbSecurityDescriptorCopyFlags | undefined;
|
|
309
310
|
ObjectTags?: ObjectTags | undefined;
|
|
311
|
+
ObjectMetadata?: ObjectMetadata | undefined;
|
|
310
312
|
}
|
|
311
313
|
export interface TaskSchedule {
|
|
312
314
|
ScheduleExpression: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-datasync",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1152.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Datasync Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-datasync",
|
|
6
6
|
"license": "Apache-2.0",
|