diff --git a/clients/client-datasync/src/models/models_0.ts b/clients/client-datasync/src/models/models_0.ts index d64dee82daa0..60e5c0606738 100644 --- a/clients/client-datasync/src/models/models_0.ts +++ b/clients/client-datasync/src/models/models_0.ts @@ -104,6 +104,7 @@ export class InvalidRequestException extends __BaseException { readonly name: "InvalidRequestException" = "InvalidRequestException"; readonly $fault: "client" = "client"; errorCode?: string; + datasyncErrorCode?: string; /** * @internal */ @@ -115,6 +116,7 @@ export class InvalidRequestException extends __BaseException { }); Object.setPrototypeOf(this, InvalidRequestException.prototype); this.errorCode = opts.errorCode; + this.datasyncErrorCode = opts.datasyncErrorCode; } } @@ -1328,6 +1330,11 @@ export enum Mtime { PRESERVE = "PRESERVE", } +export enum ObjectTags { + NONE = "NONE", + PRESERVE = "PRESERVE", +} + export enum OverwriteMode { ALWAYS = "ALWAYS", NEVER = "NEVER", @@ -1403,7 +1410,7 @@ export interface Options { *
POINT_IN_TIME_CONSISTENT: Scan the entire source and entire destination * at the end of the transfer * to verify that source and destination are fully - * synchronized. This option isn't supported when transferring to S3 Glacier or S3 Glacier Deep Archive storage classes.
+ * synchronized. This option isn't supported when transferring to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes. *NONE: No additional verification is done at the end of the * transfer, but all data transmissions are integrity-checked with * checksum verification during the transfer.
@@ -1443,7 +1450,8 @@ export interface Options { *A value that indicates the last time that a file was modified (that is, a file was * written to) before the PREPARING phase. This option is required for cases when you need to run * the same task more than one time.
- *Default value: PRESERVE.
+ *Default Value: PRESERVE
+ *
PRESERVE: Preserve original Mtime
(recommended)
NONE: Ignore Mtime
.
Specifies whether object tags are maintained when transferring between object storage systems. If you want your DataSync task to ignore object tags, specify the NONE
value.
Default Value: PRESERVE
+ *
A value that determines whether a data integrity verification should be performed at\n the end of a task execution after all data and metadata have been transferred. \n For more information, see \n Configure task settings.\n
\nDefault value: POINT_IN_TIME_CONSISTENT.
\nONLY_FILES_TRANSFERRED (recommended): Perform verification only on files that were transferred.\n
\n \nPOINT_IN_TIME_CONSISTENT: Scan the entire source and entire destination \n at the end of the transfer \n to verify that source and destination are fully \n synchronized. This option isn't supported when transferring to S3 Glacier or S3 Glacier Deep Archive storage classes.
\nNONE: No additional verification is done at the end of the \n transfer, but all data transmissions are integrity-checked with \n checksum verification during the transfer.
" + "smithy.api#documentation": "A value that determines whether a data integrity verification should be performed at\n the end of a task execution after all data and metadata have been transferred. \n For more information, see \n Configure task settings.\n
\nDefault value: POINT_IN_TIME_CONSISTENT.
\nONLY_FILES_TRANSFERRED (recommended): Perform verification only on files that were transferred.\n
\n \nPOINT_IN_TIME_CONSISTENT: Scan the entire source and entire destination \n at the end of the transfer \n to verify that source and destination are fully \n synchronized. This option isn't supported when transferring to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes.
\nNONE: No additional verification is done at the end of the \n transfer, but all data transmissions are integrity-checked with \n checksum verification during the transfer.
" } }, "OverwriteMode": { @@ -3621,7 +3639,7 @@ "Mtime": { "target": "com.amazonaws.datasync#Mtime", "traits": { - "smithy.api#documentation": "A value that indicates the last time that a file was modified (that is, a file was\n written to) before the PREPARING phase. This option is required for cases when you need to run\n the same task more than one time.
\nDefault value: PRESERVE.
\nPRESERVE: Preserve original Mtime
(recommended)
NONE: Ignore Mtime
.
If Mtime
is set to PRESERVE, Atime
must be set to\n BEST_EFFORT.
If Mtime
is set to NONE, Atime
must also be set to NONE.\n
A value that indicates the last time that a file was modified (that is, a file was\n written to) before the PREPARING phase. This option is required for cases when you need to run\n the same task more than one time.
\nDefault Value: PRESERVE
\n
PRESERVE: Preserve original Mtime
(recommended)
NONE: Ignore Mtime
.
If Mtime
is set to PRESERVE, Atime
must be set to\n BEST_EFFORT.
If Mtime
is set to NONE, Atime
must also be set to NONE.\n
A value that determines which components of the SMB security descriptor are copied from source\n to destination objects.\n
\nThis value is only used for transfers \n between SMB and Amazon FSx for Windows File Server locations, or between two Amazon FSx for Windows File\n Server locations. For more information about how \n DataSync handles metadata, see\n How DataSync Handles Metadata and Special Files.\n
\nDefault value: OWNER_DACL.
\n\n\n OWNER_DACL: For each copied object, DataSync copies the following metadata:
\nObject owner.
\nNTFS discretionary access control lists (DACLs), which determine whether to \n grant access to an object.
\nWhen choosing this option, DataSync does NOT copy the NTFS system access control lists\n (SACLs), which are used by administrators to log attempts to access a secured object.
\n \n\n OWNER_DACL_SACL: For each copied object, DataSync copies the following metadata:
\nObject owner.
\nNTFS discretionary access control lists (DACLs), which determine whether to\n grant access to an object.
\nNTFS system access control lists (SACLs), which are used by administrators \n to log attempts to access a secured object.
\nCopying SACLs requires granting additional permissions to the Windows user that DataSync\n uses to access your SMB location. For information about choosing a user that ensures\n sufficient permissions to files, folders, and metadata, see user.
\n \n\n NONE: None of the SMB security descriptor components\n are copied. Destination objects are owned by the user that was provided for accessing the \n destination location. DACLs and SACLs are set based on the destination server’s configuration.\n
" } + }, + "ObjectTags": { + "target": "com.amazonaws.datasync#ObjectTags", + "traits": { + "smithy.api#documentation": "Specifies whether object tags are maintained when transferring between object storage systems. If you want your DataSync task to ignore object tags, specify the NONE
value.
Default Value: PRESERVE
\n