@aws-sdk/client-datasync 3.398.0 → 3.405.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/models/models_0.js +14 -2
- package/dist-cjs/protocols/Aws_json1_1.js +7 -0
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/protocols/Aws_json1_1.js +7 -0
- package/dist-types/commands/CreateTaskCommand.d.ts +28 -2
- package/dist-types/commands/DeleteTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTaskCommand.d.ts +26 -0
- package/dist-types/commands/DescribeTaskExecutionCommand.d.ts +38 -2
- package/dist-types/commands/StartTaskExecutionCommand.d.ts +28 -2
- package/dist-types/commands/UpdateTaskCommand.d.ts +27 -1
- package/dist-types/commands/UpdateTaskExecutionCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +293 -44
- package/dist-types/ts3.4/models/models_0.d.ts +56 -0
- package/package.json +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateStorageSystemRequestFilterSensitiveLog = exports.UpdateLocationSmbRequestFilterSensitiveLog = exports.UpdateLocationObjectStorageRequestFilterSensitiveLog = exports.UpdateLocationAzureBlobRequestFilterSensitiveLog = exports.DescribeLocationFsxOpenZfsResponseFilterSensitiveLog = exports.DescribeLocationFsxOntapResponseFilterSensitiveLog = exports.CreateLocationSmbRequestFilterSensitiveLog = exports.CreateLocationObjectStorageRequestFilterSensitiveLog = exports.CreateLocationFsxWindowsRequestFilterSensitiveLog = void 0;
|
|
3
|
+
exports.FsxProtocolSmbFilterSensitiveLog = exports.CreateLocationAzureBlobRequestFilterSensitiveLog = exports.AzureBlobSasConfigurationFilterSensitiveLog = exports.AddStorageSystemRequestFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.TaskFilterName = exports.Operator = exports.LocationFilterName = exports.TaskExecutionStatus = exports.PhaseStatus = exports.TaskStatus = exports.RecommendationStatus = exports.DiscoveryResourceFilter = exports.DiscoveryResourceType = exports.StorageSystemConnectivityStatus = exports.DiscoveryJobStatus = exports.EndpointType = exports.ReportLevel = exports.ReportOutputType = exports.ObjectVersionIds = exports.VerifyMode = exports.Uid = exports.TransferMode = exports.TaskQueueing = exports.SmbSecurityDescriptorCopyFlags = exports.PreserveDevices = exports.PreserveDeletedFiles = exports.PosixPermissions = exports.OverwriteMode = exports.ObjectTags = exports.Mtime = exports.LogLevel = exports.Gid = exports.FilterType = exports.S3StorageClass = exports.ObjectStorageServerProtocol = exports.HdfsRpcProtection = exports.HdfsDataTransferProtection = exports.HdfsAuthenticationType = exports.SmbVersion = exports.NfsVersion = exports.EfsInTransitEncryption = exports.AzureBlobType = exports.AzureBlobAuthenticationType = exports.AzureAccessTier = exports.Atime = exports.AgentStatus = exports.InvalidRequestException = exports.InternalException = exports.DiscoverySystemType = void 0;
|
|
4
|
+
exports.UpdateStorageSystemRequestFilterSensitiveLog = exports.UpdateLocationSmbRequestFilterSensitiveLog = exports.UpdateLocationObjectStorageRequestFilterSensitiveLog = exports.UpdateLocationAzureBlobRequestFilterSensitiveLog = exports.DescribeLocationFsxOpenZfsResponseFilterSensitiveLog = exports.DescribeLocationFsxOntapResponseFilterSensitiveLog = exports.CreateLocationSmbRequestFilterSensitiveLog = exports.CreateLocationObjectStorageRequestFilterSensitiveLog = exports.CreateLocationFsxWindowsRequestFilterSensitiveLog = exports.CreateLocationFsxOpenZfsRequestFilterSensitiveLog = exports.CreateLocationFsxOntapRequestFilterSensitiveLog = exports.FsxProtocolFilterSensitiveLog = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const DataSyncServiceException_1 = require("./DataSyncServiceException");
|
|
7
7
|
exports.DiscoverySystemType = {
|
|
@@ -164,6 +164,18 @@ exports.VerifyMode = {
|
|
|
164
164
|
ONLY_FILES_TRANSFERRED: "ONLY_FILES_TRANSFERRED",
|
|
165
165
|
POINT_IN_TIME_CONSISTENT: "POINT_IN_TIME_CONSISTENT",
|
|
166
166
|
};
|
|
167
|
+
exports.ObjectVersionIds = {
|
|
168
|
+
INCLUDE: "INCLUDE",
|
|
169
|
+
NONE: "NONE",
|
|
170
|
+
};
|
|
171
|
+
exports.ReportOutputType = {
|
|
172
|
+
STANDARD: "STANDARD",
|
|
173
|
+
SUMMARY_ONLY: "SUMMARY_ONLY",
|
|
174
|
+
};
|
|
175
|
+
exports.ReportLevel = {
|
|
176
|
+
ERRORS_ONLY: "ERRORS_ONLY",
|
|
177
|
+
SUCCESSES_AND_ERRORS: "SUCCESSES_AND_ERRORS",
|
|
178
|
+
};
|
|
167
179
|
exports.EndpointType = {
|
|
168
180
|
FIPS: "FIPS",
|
|
169
181
|
PRIVATE_LINK: "PRIVATE_LINK",
|
|
@@ -2959,15 +2959,21 @@ const de_DescribeTaskExecutionResponse = (output, context) => {
|
|
|
2959
2959
|
BytesTransferred: smithy_client_1.expectLong,
|
|
2960
2960
|
BytesWritten: smithy_client_1.expectLong,
|
|
2961
2961
|
EstimatedBytesToTransfer: smithy_client_1.expectLong,
|
|
2962
|
+
EstimatedFilesToDelete: smithy_client_1.expectLong,
|
|
2962
2963
|
EstimatedFilesToTransfer: smithy_client_1.expectLong,
|
|
2963
2964
|
Excludes: smithy_client_1._json,
|
|
2965
|
+
FilesDeleted: smithy_client_1.expectLong,
|
|
2966
|
+
FilesSkipped: smithy_client_1.expectLong,
|
|
2964
2967
|
FilesTransferred: smithy_client_1.expectLong,
|
|
2968
|
+
FilesVerified: smithy_client_1.expectLong,
|
|
2965
2969
|
Includes: smithy_client_1._json,
|
|
2966
2970
|
Options: smithy_client_1._json,
|
|
2971
|
+
ReportResult: smithy_client_1._json,
|
|
2967
2972
|
Result: smithy_client_1._json,
|
|
2968
2973
|
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2969
2974
|
Status: smithy_client_1.expectString,
|
|
2970
2975
|
TaskExecutionArn: smithy_client_1.expectString,
|
|
2976
|
+
TaskReportConfig: smithy_client_1._json,
|
|
2971
2977
|
});
|
|
2972
2978
|
};
|
|
2973
2979
|
const de_DescribeTaskResponse = (output, context) => {
|
|
@@ -2988,6 +2994,7 @@ const de_DescribeTaskResponse = (output, context) => {
|
|
|
2988
2994
|
SourceNetworkInterfaceArns: smithy_client_1._json,
|
|
2989
2995
|
Status: smithy_client_1.expectString,
|
|
2990
2996
|
TaskArn: smithy_client_1.expectString,
|
|
2997
|
+
TaskReportConfig: smithy_client_1._json,
|
|
2991
2998
|
});
|
|
2992
2999
|
};
|
|
2993
3000
|
const de_IOPS = (output, context) => {
|
|
@@ -158,6 +158,18 @@ export const VerifyMode = {
|
|
|
158
158
|
ONLY_FILES_TRANSFERRED: "ONLY_FILES_TRANSFERRED",
|
|
159
159
|
POINT_IN_TIME_CONSISTENT: "POINT_IN_TIME_CONSISTENT",
|
|
160
160
|
};
|
|
161
|
+
export const ObjectVersionIds = {
|
|
162
|
+
INCLUDE: "INCLUDE",
|
|
163
|
+
NONE: "NONE",
|
|
164
|
+
};
|
|
165
|
+
export const ReportOutputType = {
|
|
166
|
+
STANDARD: "STANDARD",
|
|
167
|
+
SUMMARY_ONLY: "SUMMARY_ONLY",
|
|
168
|
+
};
|
|
169
|
+
export const ReportLevel = {
|
|
170
|
+
ERRORS_ONLY: "ERRORS_ONLY",
|
|
171
|
+
SUCCESSES_AND_ERRORS: "SUCCESSES_AND_ERRORS",
|
|
172
|
+
};
|
|
161
173
|
export const EndpointType = {
|
|
162
174
|
FIPS: "FIPS",
|
|
163
175
|
PRIVATE_LINK: "PRIVATE_LINK",
|
|
@@ -2834,15 +2834,21 @@ const de_DescribeTaskExecutionResponse = (output, context) => {
|
|
|
2834
2834
|
BytesTransferred: __expectLong,
|
|
2835
2835
|
BytesWritten: __expectLong,
|
|
2836
2836
|
EstimatedBytesToTransfer: __expectLong,
|
|
2837
|
+
EstimatedFilesToDelete: __expectLong,
|
|
2837
2838
|
EstimatedFilesToTransfer: __expectLong,
|
|
2838
2839
|
Excludes: _json,
|
|
2840
|
+
FilesDeleted: __expectLong,
|
|
2841
|
+
FilesSkipped: __expectLong,
|
|
2839
2842
|
FilesTransferred: __expectLong,
|
|
2843
|
+
FilesVerified: __expectLong,
|
|
2840
2844
|
Includes: _json,
|
|
2841
2845
|
Options: _json,
|
|
2846
|
+
ReportResult: _json,
|
|
2842
2847
|
Result: _json,
|
|
2843
2848
|
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2844
2849
|
Status: __expectString,
|
|
2845
2850
|
TaskExecutionArn: __expectString,
|
|
2851
|
+
TaskReportConfig: _json,
|
|
2846
2852
|
});
|
|
2847
2853
|
};
|
|
2848
2854
|
const de_DescribeTaskResponse = (output, context) => {
|
|
@@ -2863,6 +2869,7 @@ const de_DescribeTaskResponse = (output, context) => {
|
|
|
2863
2869
|
SourceNetworkInterfaceArns: _json,
|
|
2864
2870
|
Status: __expectString,
|
|
2865
2871
|
TaskArn: __expectString,
|
|
2872
|
+
TaskReportConfig: _json,
|
|
2866
2873
|
});
|
|
2867
2874
|
};
|
|
2868
2875
|
const de_IOPS = (output, context) => {
|
|
@@ -23,9 +23,9 @@ export interface CreateTaskCommandOutput extends CreateTaskResponse, __MetadataB
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Configures a task, which defines where and how DataSync
|
|
26
|
+
* <p>Configures a transfer task, which defines where and how DataSync moves your
|
|
27
27
|
* data.</p>
|
|
28
|
-
* <p>A task includes a source location,
|
|
28
|
+
* <p>A task includes a source location, destination location, and the options for how and
|
|
29
29
|
* when you want to transfer your data (such as bandwidth limits, scheduling, among other
|
|
30
30
|
* options).</p>
|
|
31
31
|
* <important>
|
|
@@ -83,6 +83,32 @@ export interface CreateTaskCommandOutput extends CreateTaskResponse, __MetadataB
|
|
|
83
83
|
* Value: "STRING_VALUE",
|
|
84
84
|
* },
|
|
85
85
|
* ],
|
|
86
|
+
* TaskReportConfig: { // TaskReportConfig
|
|
87
|
+
* Destination: { // ReportDestination
|
|
88
|
+
* S3: { // ReportDestinationS3
|
|
89
|
+
* Subdirectory: "STRING_VALUE",
|
|
90
|
+
* S3BucketArn: "STRING_VALUE", // required
|
|
91
|
+
* BucketAccessRoleArn: "STRING_VALUE", // required
|
|
92
|
+
* },
|
|
93
|
+
* },
|
|
94
|
+
* OutputType: "SUMMARY_ONLY" || "STANDARD",
|
|
95
|
+
* ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
96
|
+
* ObjectVersionIds: "INCLUDE" || "NONE",
|
|
97
|
+
* Overrides: { // ReportOverrides
|
|
98
|
+
* Transferred: { // ReportOverride
|
|
99
|
+
* ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
100
|
+
* },
|
|
101
|
+
* Verified: {
|
|
102
|
+
* ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
103
|
+
* },
|
|
104
|
+
* Deleted: {
|
|
105
|
+
* ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
106
|
+
* },
|
|
107
|
+
* Skipped: {
|
|
108
|
+
* ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
109
|
+
* },
|
|
110
|
+
* },
|
|
111
|
+
* },
|
|
86
112
|
* };
|
|
87
113
|
* const command = new CreateTaskCommand(input);
|
|
88
114
|
* const response = await client.send(command);
|
|
@@ -23,7 +23,7 @@ export interface DeleteTaskCommandOutput extends DeleteTaskResponse, __MetadataB
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Deletes an DataSync task.</p>
|
|
26
|
+
* <p>Deletes 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
|
|
@@ -84,6 +84,32 @@ export interface DescribeTaskCommandOutput extends DescribeTaskResponse, __Metad
|
|
|
84
84
|
* // Value: "STRING_VALUE",
|
|
85
85
|
* // },
|
|
86
86
|
* // ],
|
|
87
|
+
* // TaskReportConfig: { // TaskReportConfig
|
|
88
|
+
* // Destination: { // ReportDestination
|
|
89
|
+
* // S3: { // ReportDestinationS3
|
|
90
|
+
* // Subdirectory: "STRING_VALUE",
|
|
91
|
+
* // S3BucketArn: "STRING_VALUE", // required
|
|
92
|
+
* // BucketAccessRoleArn: "STRING_VALUE", // required
|
|
93
|
+
* // },
|
|
94
|
+
* // },
|
|
95
|
+
* // OutputType: "SUMMARY_ONLY" || "STANDARD",
|
|
96
|
+
* // ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
97
|
+
* // ObjectVersionIds: "INCLUDE" || "NONE",
|
|
98
|
+
* // Overrides: { // ReportOverrides
|
|
99
|
+
* // Transferred: { // ReportOverride
|
|
100
|
+
* // ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
101
|
+
* // },
|
|
102
|
+
* // Verified: {
|
|
103
|
+
* // ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
104
|
+
* // },
|
|
105
|
+
* // Deleted: {
|
|
106
|
+
* // ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
107
|
+
* // },
|
|
108
|
+
* // Skipped: {
|
|
109
|
+
* // ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
110
|
+
* // },
|
|
111
|
+
* // },
|
|
112
|
+
* // },
|
|
87
113
|
* // };
|
|
88
114
|
*
|
|
89
115
|
* ```
|
|
@@ -23,8 +23,9 @@ export interface DescribeTaskExecutionCommandOutput extends DescribeTaskExecutio
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Provides information about an DataSync
|
|
27
|
-
*
|
|
26
|
+
* <p>Provides information about an execution of your DataSync task. You can
|
|
27
|
+
* use this operation to help monitor the progress of an ongoing transfer or check the results of
|
|
28
|
+
* the transfer.</p>
|
|
28
29
|
* @example
|
|
29
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
31
|
* ```javascript
|
|
@@ -86,6 +87,41 @@ export interface DescribeTaskExecutionCommandOutput extends DescribeTaskExecutio
|
|
|
86
87
|
* // ErrorDetail: "STRING_VALUE",
|
|
87
88
|
* // },
|
|
88
89
|
* // BytesCompressed: Number("long"),
|
|
90
|
+
* // TaskReportConfig: { // TaskReportConfig
|
|
91
|
+
* // Destination: { // ReportDestination
|
|
92
|
+
* // S3: { // ReportDestinationS3
|
|
93
|
+
* // Subdirectory: "STRING_VALUE",
|
|
94
|
+
* // S3BucketArn: "STRING_VALUE", // required
|
|
95
|
+
* // BucketAccessRoleArn: "STRING_VALUE", // required
|
|
96
|
+
* // },
|
|
97
|
+
* // },
|
|
98
|
+
* // OutputType: "SUMMARY_ONLY" || "STANDARD",
|
|
99
|
+
* // ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
100
|
+
* // ObjectVersionIds: "INCLUDE" || "NONE",
|
|
101
|
+
* // Overrides: { // ReportOverrides
|
|
102
|
+
* // Transferred: { // ReportOverride
|
|
103
|
+
* // ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
104
|
+
* // },
|
|
105
|
+
* // Verified: {
|
|
106
|
+
* // ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
107
|
+
* // },
|
|
108
|
+
* // Deleted: {
|
|
109
|
+
* // ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
110
|
+
* // },
|
|
111
|
+
* // Skipped: {
|
|
112
|
+
* // ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
113
|
+
* // },
|
|
114
|
+
* // },
|
|
115
|
+
* // },
|
|
116
|
+
* // FilesDeleted: Number("long"),
|
|
117
|
+
* // FilesSkipped: Number("long"),
|
|
118
|
+
* // FilesVerified: Number("long"),
|
|
119
|
+
* // ReportResult: { // ReportResult
|
|
120
|
+
* // Status: "PENDING" || "SUCCESS" || "ERROR",
|
|
121
|
+
* // ErrorCode: "STRING_VALUE",
|
|
122
|
+
* // ErrorDetail: "STRING_VALUE",
|
|
123
|
+
* // },
|
|
124
|
+
* // EstimatedFilesToDelete: Number("long"),
|
|
89
125
|
* // };
|
|
90
126
|
*
|
|
91
127
|
* ```
|
|
@@ -23,8 +23,8 @@ export interface StartTaskExecutionCommandOutput extends StartTaskExecutionRespo
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Starts an DataSync task. For each task, you can only run one task
|
|
27
|
-
* at a time.</p>
|
|
26
|
+
* <p>Starts an DataSync transfer task. For each task, you can only run one task
|
|
27
|
+
* execution at a time.</p>
|
|
28
28
|
* <p>There are several phases to a task execution. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#understand-task-execution-statuses">Task execution statuses</a>.</p>
|
|
29
29
|
* <important>
|
|
30
30
|
* <p>If you're planning to transfer data to or from an Amazon S3 location, review
|
|
@@ -75,6 +75,32 @@ export interface StartTaskExecutionCommandOutput extends StartTaskExecutionRespo
|
|
|
75
75
|
* Value: "STRING_VALUE",
|
|
76
76
|
* },
|
|
77
77
|
* ],
|
|
78
|
+
* TaskReportConfig: { // TaskReportConfig
|
|
79
|
+
* Destination: { // ReportDestination
|
|
80
|
+
* S3: { // ReportDestinationS3
|
|
81
|
+
* Subdirectory: "STRING_VALUE",
|
|
82
|
+
* S3BucketArn: "STRING_VALUE", // required
|
|
83
|
+
* BucketAccessRoleArn: "STRING_VALUE", // required
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* OutputType: "SUMMARY_ONLY" || "STANDARD",
|
|
87
|
+
* ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
88
|
+
* ObjectVersionIds: "INCLUDE" || "NONE",
|
|
89
|
+
* Overrides: { // ReportOverrides
|
|
90
|
+
* Transferred: { // ReportOverride
|
|
91
|
+
* ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
92
|
+
* },
|
|
93
|
+
* Verified: {
|
|
94
|
+
* ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
95
|
+
* },
|
|
96
|
+
* Deleted: {
|
|
97
|
+
* ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
98
|
+
* },
|
|
99
|
+
* Skipped: {
|
|
100
|
+
* ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
101
|
+
* },
|
|
102
|
+
* },
|
|
103
|
+
* },
|
|
78
104
|
* };
|
|
79
105
|
* const command = new StartTaskExecutionCommand(input);
|
|
80
106
|
* const response = await client.send(command);
|
|
@@ -23,7 +23,7 @@ export interface UpdateTaskCommandOutput extends UpdateTaskResponse, __MetadataB
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Updates the
|
|
26
|
+
* <p>Updates the configuration of a 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
|
|
@@ -66,6 +66,32 @@ export interface UpdateTaskCommandOutput extends UpdateTaskResponse, __MetadataB
|
|
|
66
66
|
* Value: "STRING_VALUE",
|
|
67
67
|
* },
|
|
68
68
|
* ],
|
|
69
|
+
* TaskReportConfig: { // TaskReportConfig
|
|
70
|
+
* Destination: { // ReportDestination
|
|
71
|
+
* S3: { // ReportDestinationS3
|
|
72
|
+
* Subdirectory: "STRING_VALUE",
|
|
73
|
+
* S3BucketArn: "STRING_VALUE", // required
|
|
74
|
+
* BucketAccessRoleArn: "STRING_VALUE", // required
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* OutputType: "SUMMARY_ONLY" || "STANDARD",
|
|
78
|
+
* ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
79
|
+
* ObjectVersionIds: "INCLUDE" || "NONE",
|
|
80
|
+
* Overrides: { // ReportOverrides
|
|
81
|
+
* Transferred: { // ReportOverride
|
|
82
|
+
* ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
83
|
+
* },
|
|
84
|
+
* Verified: {
|
|
85
|
+
* ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
86
|
+
* },
|
|
87
|
+
* Deleted: {
|
|
88
|
+
* ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
89
|
+
* },
|
|
90
|
+
* Skipped: {
|
|
91
|
+
* ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS",
|
|
92
|
+
* },
|
|
93
|
+
* },
|
|
94
|
+
* },
|
|
69
95
|
* };
|
|
70
96
|
* const command = new UpdateTaskCommand(input);
|
|
71
97
|
* const response = await client.send(command);
|
|
@@ -23,13 +23,13 @@ export interface UpdateTaskExecutionCommandOutput extends UpdateTaskExecutionRes
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p>Updates the configuration of a running DataSync task execution.</p>
|
|
27
27
|
* <note>
|
|
28
28
|
* <p>Currently, the only <code>Option</code> that you can modify with
|
|
29
29
|
* <code>UpdateTaskExecution</code> is <code>
|
|
30
30
|
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-BytesPerSecond">BytesPerSecond</a>
|
|
31
31
|
* </code>, which throttles bandwidth for a running or queued
|
|
32
|
-
* task.</p>
|
|
32
|
+
* task execution.</p>
|
|
33
33
|
* </note>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -244,8 +244,7 @@ export type AzureBlobAuthenticationType = (typeof AzureBlobAuthenticationType)[k
|
|
|
244
244
|
export interface AzureBlobSasConfiguration {
|
|
245
245
|
/**
|
|
246
246
|
* @public
|
|
247
|
-
* <p>Specifies a SAS token that provides permissions
|
|
248
|
-
* or folder level.</p>
|
|
247
|
+
* <p>Specifies a SAS token that provides permissions to access your Azure Blob Storage.</p>
|
|
249
248
|
* <p>The token is part of the SAS URI string that comes after the storage resource URI and a question mark. A token looks something like this:</p>
|
|
250
249
|
* <p>
|
|
251
250
|
* <code>sp=r&st=2023-12-20T14:54:52Z&se=2023-12-20T22:54:52Z&spr=https&sv=2021-06-08&sr=c&sig=aBBKDWQvyuVcTPH9EBp%2FXTI9E%2F%2Fmq171%2BZU178wcwqU%3D</code>
|
|
@@ -1696,11 +1695,11 @@ export declare const VerifyMode: {
|
|
|
1696
1695
|
export type VerifyMode = (typeof VerifyMode)[keyof typeof VerifyMode];
|
|
1697
1696
|
/**
|
|
1698
1697
|
* @public
|
|
1699
|
-
* <p>
|
|
1700
|
-
*
|
|
1698
|
+
* <p>Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You
|
|
1699
|
+
* also can specify how to verify data integrity, set bandwidth limits for your task, among other
|
|
1701
1700
|
* options.</p>
|
|
1702
|
-
* <p>Each
|
|
1703
|
-
*
|
|
1701
|
+
* <p>Each option has a default value. Unless you need to, you don't have to configure any of
|
|
1702
|
+
* these options before starting your task.</p>
|
|
1704
1703
|
*/
|
|
1705
1704
|
export interface Options {
|
|
1706
1705
|
/**
|
|
@@ -1974,6 +1973,177 @@ export interface TaskSchedule {
|
|
|
1974
1973
|
*/
|
|
1975
1974
|
ScheduleExpression: string | undefined;
|
|
1976
1975
|
}
|
|
1976
|
+
/**
|
|
1977
|
+
* @public
|
|
1978
|
+
* <p>Specifies the Amazon S3 bucket where DataSync uploads your <a href="https://docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html">task report</a>.</p>
|
|
1979
|
+
*/
|
|
1980
|
+
export interface ReportDestinationS3 {
|
|
1981
|
+
/**
|
|
1982
|
+
* @public
|
|
1983
|
+
* <p>Specifies a bucket prefix for your report.</p>
|
|
1984
|
+
*/
|
|
1985
|
+
Subdirectory?: string;
|
|
1986
|
+
/**
|
|
1987
|
+
* @public
|
|
1988
|
+
* <p>Specifies the ARN of the S3 bucket where DataSync uploads your report.</p>
|
|
1989
|
+
*/
|
|
1990
|
+
S3BucketArn: string | undefined;
|
|
1991
|
+
/**
|
|
1992
|
+
* @public
|
|
1993
|
+
* <p>Specifies the Amazon Resource Name (ARN) of the IAM policy that allows DataSync to upload a task report to your S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html">Allowing DataSync to upload a task report to an Amazon S3 bucket</a>.</p>
|
|
1994
|
+
*/
|
|
1995
|
+
BucketAccessRoleArn: string | undefined;
|
|
1996
|
+
}
|
|
1997
|
+
/**
|
|
1998
|
+
* @public
|
|
1999
|
+
* <p>Specifies where DataSync uploads your <a href="https://docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html">task report</a>.</p>
|
|
2000
|
+
*/
|
|
2001
|
+
export interface ReportDestination {
|
|
2002
|
+
/**
|
|
2003
|
+
* @public
|
|
2004
|
+
* <p>Specifies the Amazon S3 bucket where DataSync uploads your task report.</p>
|
|
2005
|
+
*/
|
|
2006
|
+
S3?: ReportDestinationS3;
|
|
2007
|
+
}
|
|
2008
|
+
/**
|
|
2009
|
+
* @public
|
|
2010
|
+
* @enum
|
|
2011
|
+
*/
|
|
2012
|
+
export declare const ObjectVersionIds: {
|
|
2013
|
+
readonly INCLUDE: "INCLUDE";
|
|
2014
|
+
readonly NONE: "NONE";
|
|
2015
|
+
};
|
|
2016
|
+
/**
|
|
2017
|
+
* @public
|
|
2018
|
+
*/
|
|
2019
|
+
export type ObjectVersionIds = (typeof ObjectVersionIds)[keyof typeof ObjectVersionIds];
|
|
2020
|
+
/**
|
|
2021
|
+
* @public
|
|
2022
|
+
* @enum
|
|
2023
|
+
*/
|
|
2024
|
+
export declare const ReportOutputType: {
|
|
2025
|
+
readonly STANDARD: "STANDARD";
|
|
2026
|
+
readonly SUMMARY_ONLY: "SUMMARY_ONLY";
|
|
2027
|
+
};
|
|
2028
|
+
/**
|
|
2029
|
+
* @public
|
|
2030
|
+
*/
|
|
2031
|
+
export type ReportOutputType = (typeof ReportOutputType)[keyof typeof ReportOutputType];
|
|
2032
|
+
/**
|
|
2033
|
+
* @public
|
|
2034
|
+
* @enum
|
|
2035
|
+
*/
|
|
2036
|
+
export declare const ReportLevel: {
|
|
2037
|
+
readonly ERRORS_ONLY: "ERRORS_ONLY";
|
|
2038
|
+
readonly SUCCESSES_AND_ERRORS: "SUCCESSES_AND_ERRORS";
|
|
2039
|
+
};
|
|
2040
|
+
/**
|
|
2041
|
+
* @public
|
|
2042
|
+
*/
|
|
2043
|
+
export type ReportLevel = (typeof ReportLevel)[keyof typeof ReportLevel];
|
|
2044
|
+
/**
|
|
2045
|
+
* @public
|
|
2046
|
+
* <p>Specifies the level of detail for a particular aspect of your DataSync
|
|
2047
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html">task
|
|
2048
|
+
* report</a>.</p>
|
|
2049
|
+
*/
|
|
2050
|
+
export interface ReportOverride {
|
|
2051
|
+
/**
|
|
2052
|
+
* @public
|
|
2053
|
+
* <p>Specifies whether your task report includes errors only or successes and errors.</p>
|
|
2054
|
+
* <p>For example, your report might mostly include only what didn't go well in your transfer (<code>ERRORS_ONLY</code>). At the same time, you want to verify that your <a href="https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html">task filter</a> is working correctly. In this situation, you can get a list of what files DataSync successfully skipped and if something transferred that you didn't to transfer (<code>SUCCESSES_AND_ERRORS</code>).</p>
|
|
2055
|
+
*/
|
|
2056
|
+
ReportLevel?: ReportLevel | string;
|
|
2057
|
+
}
|
|
2058
|
+
/**
|
|
2059
|
+
* @public
|
|
2060
|
+
* <p>The level of detail included in each aspect of your DataSync
|
|
2061
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html">task
|
|
2062
|
+
* report</a>.</p>
|
|
2063
|
+
*/
|
|
2064
|
+
export interface ReportOverrides {
|
|
2065
|
+
/**
|
|
2066
|
+
* @public
|
|
2067
|
+
* <p>Specifies the level of reporting for the files, objects, and directories that DataSync attempted to transfer.</p>
|
|
2068
|
+
*/
|
|
2069
|
+
Transferred?: ReportOverride;
|
|
2070
|
+
/**
|
|
2071
|
+
* @public
|
|
2072
|
+
* <p>Specifies the level of reporting for the files, objects, and directories that DataSync attempted to verify at the end of your transfer. This only applies if you <a href="https://docs.aws.amazon.com/datasync/latest/userguide/configure-data-verification-options.html">configure your task</a> to verify data during and after the transfer (which DataSync does by default).</p>
|
|
2073
|
+
*/
|
|
2074
|
+
Verified?: ReportOverride;
|
|
2075
|
+
/**
|
|
2076
|
+
* @public
|
|
2077
|
+
* <p>Specifies the level of reporting for the files, objects, and directories that DataSync attempted to delete in your destination location. This only applies if you <a href="https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html">configure your task</a> to delete data in the destination that isn't in the source.</p>
|
|
2078
|
+
*/
|
|
2079
|
+
Deleted?: ReportOverride;
|
|
2080
|
+
/**
|
|
2081
|
+
* @public
|
|
2082
|
+
* <p>Specifies the level of reporting for the files, objects, and directories that DataSync attempted to skip during your transfer.</p>
|
|
2083
|
+
*/
|
|
2084
|
+
Skipped?: ReportOverride;
|
|
2085
|
+
}
|
|
2086
|
+
/**
|
|
2087
|
+
* @public
|
|
2088
|
+
* <p>Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.</p>
|
|
2089
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html">Task
|
|
2090
|
+
* reports</a>.</p>
|
|
2091
|
+
*/
|
|
2092
|
+
export interface TaskReportConfig {
|
|
2093
|
+
/**
|
|
2094
|
+
* @public
|
|
2095
|
+
* <p>Specifies the Amazon S3 bucket where DataSync uploads your task report. For more
|
|
2096
|
+
* information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html#task-report-access">Task reports</a>.</p>
|
|
2097
|
+
*/
|
|
2098
|
+
Destination?: ReportDestination;
|
|
2099
|
+
/**
|
|
2100
|
+
* @public
|
|
2101
|
+
* <p>Specifies the type of task report that you want:</p>
|
|
2102
|
+
* <ul>
|
|
2103
|
+
* <li>
|
|
2104
|
+
* <p>
|
|
2105
|
+
* <code>SUMMARY_ONLY</code>: Provides necessary details about your task, including the number of
|
|
2106
|
+
* files, objects, and directories transferred and transfer duration.</p>
|
|
2107
|
+
* </li>
|
|
2108
|
+
* <li>
|
|
2109
|
+
* <p>
|
|
2110
|
+
* <code>STANDARD</code>: Provides complete details about your task, including a full list of
|
|
2111
|
+
* files, objects, and directories that were transferred, skipped, verified, and more.</p>
|
|
2112
|
+
* </li>
|
|
2113
|
+
* </ul>
|
|
2114
|
+
*/
|
|
2115
|
+
OutputType?: ReportOutputType | string;
|
|
2116
|
+
/**
|
|
2117
|
+
* @public
|
|
2118
|
+
* <p>Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't.</p>
|
|
2119
|
+
* <ul>
|
|
2120
|
+
* <li>
|
|
2121
|
+
* <p>
|
|
2122
|
+
* <code>ERRORS_ONLY</code>: A report shows what DataSync was unable to transfer, skip,
|
|
2123
|
+
* verify, and delete.</p>
|
|
2124
|
+
* </li>
|
|
2125
|
+
* <li>
|
|
2126
|
+
* <p>
|
|
2127
|
+
* <code>SUCCESSES_AND_ERRORS</code>: A report shows what DataSync was able and unable
|
|
2128
|
+
* to transfer, skip, verify, and delete.</p>
|
|
2129
|
+
* </li>
|
|
2130
|
+
* </ul>
|
|
2131
|
+
*/
|
|
2132
|
+
ReportLevel?: ReportLevel | string;
|
|
2133
|
+
/**
|
|
2134
|
+
* @public
|
|
2135
|
+
* <p>Specifies whether your task report includes the new version of each object transferred into an S3 bucket. This only applies if you <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/manage-versioning-examples.html">enable versioning on your bucket</a>. Keep in mind that setting this to <code>INCLUDE</code> can increase the duration of your task execution.</p>
|
|
2136
|
+
*/
|
|
2137
|
+
ObjectVersionIds?: ObjectVersionIds | string;
|
|
2138
|
+
/**
|
|
2139
|
+
* @public
|
|
2140
|
+
* <p>Customizes the reporting level for aspects of your task report. For example, your report
|
|
2141
|
+
* might generally only include errors, but you could specify that you want a list of successes
|
|
2142
|
+
* and errors just for the files that DataSync attempted to delete in your destination
|
|
2143
|
+
* location.</p>
|
|
2144
|
+
*/
|
|
2145
|
+
Overrides?: ReportOverrides;
|
|
2146
|
+
}
|
|
1977
2147
|
/**
|
|
1978
2148
|
* @public
|
|
1979
2149
|
* <p>CreateTaskRequest</p>
|
|
@@ -2038,6 +2208,12 @@ export interface CreateTaskRequest {
|
|
|
2038
2208
|
* information and examples, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html">Filtering data transferred by DataSync</a>.</p>
|
|
2039
2209
|
*/
|
|
2040
2210
|
Includes?: FilterRule[];
|
|
2211
|
+
/**
|
|
2212
|
+
* @public
|
|
2213
|
+
* <p>Specifies how you want to configure a task report, which provides detailed information
|
|
2214
|
+
* about for your DataSync transfer.</p>
|
|
2215
|
+
*/
|
|
2216
|
+
TaskReportConfig?: TaskReportConfig;
|
|
2041
2217
|
}
|
|
2042
2218
|
/**
|
|
2043
2219
|
* @public
|
|
@@ -3727,6 +3903,11 @@ export interface DescribeTaskResponse {
|
|
|
3727
3903
|
* information and examples, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html">Filtering data transferred by DataSync</a>.</p>
|
|
3728
3904
|
*/
|
|
3729
3905
|
Includes?: FilterRule[];
|
|
3906
|
+
/**
|
|
3907
|
+
* @public
|
|
3908
|
+
* <p>The configuration of your task report. For more information, see <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html">Creating a task report</a>.</p>
|
|
3909
|
+
*/
|
|
3910
|
+
TaskReportConfig?: TaskReportConfig;
|
|
3730
3911
|
}
|
|
3731
3912
|
/**
|
|
3732
3913
|
* @public
|
|
@@ -3735,7 +3916,8 @@ export interface DescribeTaskResponse {
|
|
|
3735
3916
|
export interface DescribeTaskExecutionRequest {
|
|
3736
3917
|
/**
|
|
3737
3918
|
* @public
|
|
3738
|
-
* <p>Specifies the Amazon Resource Name (ARN) of the
|
|
3919
|
+
* <p>Specifies the Amazon Resource Name (ARN) of the task execution that you want
|
|
3920
|
+
* information about.</p>
|
|
3739
3921
|
*/
|
|
3740
3922
|
TaskExecutionArn: string | undefined;
|
|
3741
3923
|
}
|
|
@@ -3752,6 +3934,30 @@ export declare const PhaseStatus: {
|
|
|
3752
3934
|
* @public
|
|
3753
3935
|
*/
|
|
3754
3936
|
export type PhaseStatus = (typeof PhaseStatus)[keyof typeof PhaseStatus];
|
|
3937
|
+
/**
|
|
3938
|
+
* @public
|
|
3939
|
+
* <p>Indicates whether DataSync created a complete <a href="https://docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html">task report</a> for your
|
|
3940
|
+
* transfer.</p>
|
|
3941
|
+
*/
|
|
3942
|
+
export interface ReportResult {
|
|
3943
|
+
/**
|
|
3944
|
+
* @public
|
|
3945
|
+
* <p>Indicates whether DataSync is still working on your report, created a report, or
|
|
3946
|
+
* can't create a complete report.</p>
|
|
3947
|
+
*/
|
|
3948
|
+
Status?: PhaseStatus | string;
|
|
3949
|
+
/**
|
|
3950
|
+
* @public
|
|
3951
|
+
* <p>Indicates the code associated with the error if DataSync can't create a complete
|
|
3952
|
+
* report.</p>
|
|
3953
|
+
*/
|
|
3954
|
+
ErrorCode?: string;
|
|
3955
|
+
/**
|
|
3956
|
+
* @public
|
|
3957
|
+
* <p>Provides details about issues creating a report.</p>
|
|
3958
|
+
*/
|
|
3959
|
+
ErrorDetail?: string;
|
|
3960
|
+
}
|
|
3755
3961
|
/**
|
|
3756
3962
|
* @public
|
|
3757
3963
|
* <p>Describes the detailed result of a <code>TaskExecution</code> operation. This result
|
|
@@ -3835,7 +4041,7 @@ export type TaskExecutionStatus = (typeof TaskExecutionStatus)[keyof typeof Task
|
|
|
3835
4041
|
export interface DescribeTaskExecutionResponse {
|
|
3836
4042
|
/**
|
|
3837
4043
|
* @public
|
|
3838
|
-
* <p>The
|
|
4044
|
+
* <p>The ARN of the task execution that you wanted information about.
|
|
3839
4045
|
* <code>TaskExecutionArn</code> is hierarchical and includes <code>TaskArn</code> for the task
|
|
3840
4046
|
* that was executed. </p>
|
|
3841
4047
|
* <p>For example, a <code>TaskExecution</code> value with the ARN
|
|
@@ -3847,18 +4053,15 @@ export interface DescribeTaskExecutionResponse {
|
|
|
3847
4053
|
/**
|
|
3848
4054
|
* @public
|
|
3849
4055
|
* <p>The status of the task execution. </p>
|
|
3850
|
-
* <p>For detailed information about task execution statuses, see Understanding
|
|
3851
|
-
* Task Statuses in the <i>DataSync User Guide.</i>
|
|
3852
|
-
* </p>
|
|
3853
4056
|
*/
|
|
3854
4057
|
Status?: TaskExecutionStatus | string;
|
|
3855
4058
|
/**
|
|
3856
4059
|
* @public
|
|
3857
|
-
* <p>
|
|
3858
|
-
*
|
|
4060
|
+
* <p>Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You
|
|
4061
|
+
* also can specify how to verify data integrity, set bandwidth limits for your task, among other
|
|
3859
4062
|
* options.</p>
|
|
3860
|
-
* <p>Each
|
|
3861
|
-
*
|
|
4063
|
+
* <p>Each option has a default value. Unless you need to, you don't have to configure any of
|
|
4064
|
+
* these options before starting your task.</p>
|
|
3862
4065
|
*/
|
|
3863
4066
|
Options?: Options;
|
|
3864
4067
|
/**
|
|
@@ -3875,41 +4078,38 @@ export interface DescribeTaskExecutionResponse {
|
|
|
3875
4078
|
Includes?: FilterRule[];
|
|
3876
4079
|
/**
|
|
3877
4080
|
* @public
|
|
3878
|
-
* <p>The time
|
|
4081
|
+
* <p>The time when the task execution started.</p>
|
|
3879
4082
|
*/
|
|
3880
4083
|
StartTime?: Date;
|
|
3881
4084
|
/**
|
|
3882
4085
|
* @public
|
|
3883
|
-
* <p>The expected number of files
|
|
3884
|
-
*
|
|
3885
|
-
*
|
|
3886
|
-
*
|
|
3887
|
-
*
|
|
4086
|
+
* <p>The expected number of files, objects, and directories that DataSync will
|
|
4087
|
+
* transfer over the network. This value is calculated during the task execution's
|
|
4088
|
+
* <code>PREPARING</code> phase before the <code>TRANSFERRING</code> phase. The calculation is
|
|
4089
|
+
* based on comparing the content of the source and destination locations and finding the
|
|
4090
|
+
* difference that needs to be transferred. </p>
|
|
3888
4091
|
*/
|
|
3889
4092
|
EstimatedFilesToTransfer?: number;
|
|
3890
4093
|
/**
|
|
3891
4094
|
* @public
|
|
3892
|
-
* <p>The estimated physical number of bytes that
|
|
3893
|
-
* network.</p>
|
|
4095
|
+
* <p>The estimated physical number of bytes that will transfer over the network.</p>
|
|
3894
4096
|
*/
|
|
3895
4097
|
EstimatedBytesToTransfer?: number;
|
|
3896
4098
|
/**
|
|
3897
4099
|
* @public
|
|
3898
|
-
* <p>The actual number of files
|
|
3899
|
-
*
|
|
3900
|
-
*
|
|
3901
|
-
*
|
|
3902
|
-
* <p>If
|
|
4100
|
+
* <p>The actual number of files, objects, and directories that DataSync
|
|
4101
|
+
* transferred over the network. This value is updated periodically during the task execution's
|
|
4102
|
+
* <code>TRANSFERRING</code> phase when something is read from the source and sent over the
|
|
4103
|
+
* network.</p>
|
|
4104
|
+
* <p>If DataSync fails to transfer something, this value can be less than
|
|
3903
4105
|
* <code>EstimatedFilesToTransfer</code>. In some cases, this value can also be greater than
|
|
3904
4106
|
* <code>EstimatedFilesToTransfer</code>. This element is implementation-specific for some
|
|
3905
|
-
* location types, so don't use it as an
|
|
3906
|
-
* task execution.</p>
|
|
4107
|
+
* location types, so don't use it as an exact indication of what transferred or to monitor your task execution.</p>
|
|
3907
4108
|
*/
|
|
3908
4109
|
FilesTransferred?: number;
|
|
3909
4110
|
/**
|
|
3910
4111
|
* @public
|
|
3911
|
-
* <p>The number of logical bytes written to the destination
|
|
3912
|
-
* resource.</p>
|
|
4112
|
+
* <p>The number of logical bytes written to the destination location.</p>
|
|
3913
4113
|
*/
|
|
3914
4114
|
BytesWritten?: number;
|
|
3915
4115
|
/**
|
|
@@ -3930,6 +4130,45 @@ export interface DescribeTaskExecutionResponse {
|
|
|
3930
4130
|
* compressible.</p>
|
|
3931
4131
|
*/
|
|
3932
4132
|
BytesCompressed?: number;
|
|
4133
|
+
/**
|
|
4134
|
+
* @public
|
|
4135
|
+
* <p>The configuration of your task report, which provides detailed information about for your DataSync transfer.</p>
|
|
4136
|
+
*/
|
|
4137
|
+
TaskReportConfig?: TaskReportConfig;
|
|
4138
|
+
/**
|
|
4139
|
+
* @public
|
|
4140
|
+
* <p>The number of files, objects, and directories that DataSync deleted in your
|
|
4141
|
+
* destination location. If you don't <a href="https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html">configure your task</a> to
|
|
4142
|
+
* delete data in the destination that isn't in the source, the value is always
|
|
4143
|
+
* <code>0</code>.</p>
|
|
4144
|
+
*/
|
|
4145
|
+
FilesDeleted?: number;
|
|
4146
|
+
/**
|
|
4147
|
+
* @public
|
|
4148
|
+
* <p>The number of files, objects, and directories that DataSync skipped during your
|
|
4149
|
+
* transfer.</p>
|
|
4150
|
+
*/
|
|
4151
|
+
FilesSkipped?: number;
|
|
4152
|
+
/**
|
|
4153
|
+
* @public
|
|
4154
|
+
* <p>The number of files, objects, and directories that DataSync verified during your
|
|
4155
|
+
* transfer.</p>
|
|
4156
|
+
*/
|
|
4157
|
+
FilesVerified?: number;
|
|
4158
|
+
/**
|
|
4159
|
+
* @public
|
|
4160
|
+
* <p>Indicates whether DataSync generated a complete <a href="https://docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html">task report</a> for your
|
|
4161
|
+
* transfer.</p>
|
|
4162
|
+
*/
|
|
4163
|
+
ReportResult?: ReportResult;
|
|
4164
|
+
/**
|
|
4165
|
+
* @public
|
|
4166
|
+
* <p>The expected number of files, objects, and directories that DataSync will delete
|
|
4167
|
+
* in your destination location. If you don't <a href="https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html">configure your task</a> to
|
|
4168
|
+
* delete data in the destination that isn't in the source, the value is always
|
|
4169
|
+
* <code>0</code>.</p>
|
|
4170
|
+
*/
|
|
4171
|
+
EstimatedFilesToDelete?: number;
|
|
3933
4172
|
}
|
|
3934
4173
|
/**
|
|
3935
4174
|
* @public
|
|
@@ -4515,11 +4754,11 @@ export interface StartTaskExecutionRequest {
|
|
|
4515
4754
|
TaskArn: string | undefined;
|
|
4516
4755
|
/**
|
|
4517
4756
|
* @public
|
|
4518
|
-
* <p>
|
|
4519
|
-
*
|
|
4757
|
+
* <p>Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You
|
|
4758
|
+
* also can specify how to verify data integrity, set bandwidth limits for your task, among other
|
|
4520
4759
|
* options.</p>
|
|
4521
|
-
* <p>Each
|
|
4522
|
-
*
|
|
4760
|
+
* <p>Each option has a default value. Unless you need to, you don't have to configure any of
|
|
4761
|
+
* these options before starting your task.</p>
|
|
4523
4762
|
*/
|
|
4524
4763
|
OverrideOptions?: Options;
|
|
4525
4764
|
/**
|
|
@@ -4546,6 +4785,11 @@ export interface StartTaskExecutionRequest {
|
|
|
4546
4785
|
* your DataSync resources.</p>
|
|
4547
4786
|
*/
|
|
4548
4787
|
Tags?: TagListEntry[];
|
|
4788
|
+
/**
|
|
4789
|
+
* @public
|
|
4790
|
+
* <p>Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.</p>
|
|
4791
|
+
*/
|
|
4792
|
+
TaskReportConfig?: TaskReportConfig;
|
|
4549
4793
|
}
|
|
4550
4794
|
/**
|
|
4551
4795
|
* @public
|
|
@@ -5019,11 +5263,11 @@ export interface UpdateTaskRequest {
|
|
|
5019
5263
|
TaskArn: string | undefined;
|
|
5020
5264
|
/**
|
|
5021
5265
|
* @public
|
|
5022
|
-
* <p>
|
|
5023
|
-
*
|
|
5266
|
+
* <p>Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You
|
|
5267
|
+
* also can specify how to verify data integrity, set bandwidth limits for your task, among other
|
|
5024
5268
|
* options.</p>
|
|
5025
|
-
* <p>Each
|
|
5026
|
-
*
|
|
5269
|
+
* <p>Each option has a default value. Unless you need to, you don't have to configure any of
|
|
5270
|
+
* these options before starting your task.</p>
|
|
5027
5271
|
*/
|
|
5028
5272
|
Options?: Options;
|
|
5029
5273
|
/**
|
|
@@ -5057,6 +5301,11 @@ export interface UpdateTaskRequest {
|
|
|
5057
5301
|
* information and examples, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html">Filtering data transferred by DataSync</a>.</p>
|
|
5058
5302
|
*/
|
|
5059
5303
|
Includes?: FilterRule[];
|
|
5304
|
+
/**
|
|
5305
|
+
* @public
|
|
5306
|
+
* <p>Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.</p>
|
|
5307
|
+
*/
|
|
5308
|
+
TaskReportConfig?: TaskReportConfig;
|
|
5060
5309
|
}
|
|
5061
5310
|
/**
|
|
5062
5311
|
* @public
|
|
@@ -5075,11 +5324,11 @@ export interface UpdateTaskExecutionRequest {
|
|
|
5075
5324
|
TaskExecutionArn: string | undefined;
|
|
5076
5325
|
/**
|
|
5077
5326
|
* @public
|
|
5078
|
-
* <p>
|
|
5079
|
-
*
|
|
5327
|
+
* <p>Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You
|
|
5328
|
+
* also can specify how to verify data integrity, set bandwidth limits for your task, among other
|
|
5080
5329
|
* options.</p>
|
|
5081
|
-
* <p>Each
|
|
5082
|
-
*
|
|
5330
|
+
* <p>Each option has a default value. Unless you need to, you don't have to configure any of
|
|
5331
|
+
* these options before starting your task.</p>
|
|
5083
5332
|
*/
|
|
5084
5333
|
Options: Options | undefined;
|
|
5085
5334
|
}
|
|
@@ -435,6 +435,47 @@ export interface Options {
|
|
|
435
435
|
export interface TaskSchedule {
|
|
436
436
|
ScheduleExpression: string | undefined;
|
|
437
437
|
}
|
|
438
|
+
export interface ReportDestinationS3 {
|
|
439
|
+
Subdirectory?: string;
|
|
440
|
+
S3BucketArn: string | undefined;
|
|
441
|
+
BucketAccessRoleArn: string | undefined;
|
|
442
|
+
}
|
|
443
|
+
export interface ReportDestination {
|
|
444
|
+
S3?: ReportDestinationS3;
|
|
445
|
+
}
|
|
446
|
+
export declare const ObjectVersionIds: {
|
|
447
|
+
readonly INCLUDE: "INCLUDE";
|
|
448
|
+
readonly NONE: "NONE";
|
|
449
|
+
};
|
|
450
|
+
export type ObjectVersionIds =
|
|
451
|
+
(typeof ObjectVersionIds)[keyof typeof ObjectVersionIds];
|
|
452
|
+
export declare const ReportOutputType: {
|
|
453
|
+
readonly STANDARD: "STANDARD";
|
|
454
|
+
readonly SUMMARY_ONLY: "SUMMARY_ONLY";
|
|
455
|
+
};
|
|
456
|
+
export type ReportOutputType =
|
|
457
|
+
(typeof ReportOutputType)[keyof typeof ReportOutputType];
|
|
458
|
+
export declare const ReportLevel: {
|
|
459
|
+
readonly ERRORS_ONLY: "ERRORS_ONLY";
|
|
460
|
+
readonly SUCCESSES_AND_ERRORS: "SUCCESSES_AND_ERRORS";
|
|
461
|
+
};
|
|
462
|
+
export type ReportLevel = (typeof ReportLevel)[keyof typeof ReportLevel];
|
|
463
|
+
export interface ReportOverride {
|
|
464
|
+
ReportLevel?: ReportLevel | string;
|
|
465
|
+
}
|
|
466
|
+
export interface ReportOverrides {
|
|
467
|
+
Transferred?: ReportOverride;
|
|
468
|
+
Verified?: ReportOverride;
|
|
469
|
+
Deleted?: ReportOverride;
|
|
470
|
+
Skipped?: ReportOverride;
|
|
471
|
+
}
|
|
472
|
+
export interface TaskReportConfig {
|
|
473
|
+
Destination?: ReportDestination;
|
|
474
|
+
OutputType?: ReportOutputType | string;
|
|
475
|
+
ReportLevel?: ReportLevel | string;
|
|
476
|
+
ObjectVersionIds?: ObjectVersionIds | string;
|
|
477
|
+
Overrides?: ReportOverrides;
|
|
478
|
+
}
|
|
438
479
|
export interface CreateTaskRequest {
|
|
439
480
|
SourceLocationArn: string | undefined;
|
|
440
481
|
DestinationLocationArn: string | undefined;
|
|
@@ -445,6 +486,7 @@ export interface CreateTaskRequest {
|
|
|
445
486
|
Schedule?: TaskSchedule;
|
|
446
487
|
Tags?: TagListEntry[];
|
|
447
488
|
Includes?: FilterRule[];
|
|
489
|
+
TaskReportConfig?: TaskReportConfig;
|
|
448
490
|
}
|
|
449
491
|
export interface CreateTaskResponse {
|
|
450
492
|
TaskArn?: string;
|
|
@@ -830,6 +872,7 @@ export interface DescribeTaskResponse {
|
|
|
830
872
|
ErrorDetail?: string;
|
|
831
873
|
CreationTime?: Date;
|
|
832
874
|
Includes?: FilterRule[];
|
|
875
|
+
TaskReportConfig?: TaskReportConfig;
|
|
833
876
|
}
|
|
834
877
|
export interface DescribeTaskExecutionRequest {
|
|
835
878
|
TaskExecutionArn: string | undefined;
|
|
@@ -840,6 +883,11 @@ export declare const PhaseStatus: {
|
|
|
840
883
|
readonly SUCCESS: "SUCCESS";
|
|
841
884
|
};
|
|
842
885
|
export type PhaseStatus = (typeof PhaseStatus)[keyof typeof PhaseStatus];
|
|
886
|
+
export interface ReportResult {
|
|
887
|
+
Status?: PhaseStatus | string;
|
|
888
|
+
ErrorCode?: string;
|
|
889
|
+
ErrorDetail?: string;
|
|
890
|
+
}
|
|
843
891
|
export interface TaskExecutionResultDetail {
|
|
844
892
|
PrepareDuration?: number;
|
|
845
893
|
PrepareStatus?: PhaseStatus | string;
|
|
@@ -876,6 +924,12 @@ export interface DescribeTaskExecutionResponse {
|
|
|
876
924
|
BytesTransferred?: number;
|
|
877
925
|
Result?: TaskExecutionResultDetail;
|
|
878
926
|
BytesCompressed?: number;
|
|
927
|
+
TaskReportConfig?: TaskReportConfig;
|
|
928
|
+
FilesDeleted?: number;
|
|
929
|
+
FilesSkipped?: number;
|
|
930
|
+
FilesVerified?: number;
|
|
931
|
+
ReportResult?: ReportResult;
|
|
932
|
+
EstimatedFilesToDelete?: number;
|
|
879
933
|
}
|
|
880
934
|
export interface DiscoveryJobListEntry {
|
|
881
935
|
DiscoveryJobArn?: string;
|
|
@@ -1020,6 +1074,7 @@ export interface StartTaskExecutionRequest {
|
|
|
1020
1074
|
Includes?: FilterRule[];
|
|
1021
1075
|
Excludes?: FilterRule[];
|
|
1022
1076
|
Tags?: TagListEntry[];
|
|
1077
|
+
TaskReportConfig?: TaskReportConfig;
|
|
1023
1078
|
}
|
|
1024
1079
|
export interface StartTaskExecutionResponse {
|
|
1025
1080
|
TaskExecutionArn?: string;
|
|
@@ -1119,6 +1174,7 @@ export interface UpdateTaskRequest {
|
|
|
1119
1174
|
Name?: string;
|
|
1120
1175
|
CloudWatchLogGroupArn?: string;
|
|
1121
1176
|
Includes?: FilterRule[];
|
|
1177
|
+
TaskReportConfig?: TaskReportConfig;
|
|
1122
1178
|
}
|
|
1123
1179
|
export interface UpdateTaskResponse {}
|
|
1124
1180
|
export interface UpdateTaskExecutionRequest {
|
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.405.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,8 +21,8 @@
|
|
|
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/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.405.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.405.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.398.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.398.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.398.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@aws-sdk/types": "3.398.0",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.398.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.398.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.405.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^2.0.5",
|
|
37
37
|
"@smithy/hash-node": "^2.0.5",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@smithy/middleware-retry": "^2.0.5",
|
|
42
42
|
"@smithy/middleware-serde": "^2.0.5",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.6",
|
|
45
45
|
"@smithy/node-http-handler": "^2.0.5",
|
|
46
46
|
"@smithy/protocol-http": "^2.0.5",
|
|
47
47
|
"@smithy/smithy-client": "^2.0.5",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.6",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.6",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
57
|
"tslib": "^2.5.0",
|