Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed May 5, 2022
1 parent ab5ab8c commit c6f1c6e
Show file tree
Hide file tree
Showing 4 changed files with 138 additions and 24 deletions.
28 changes: 26 additions & 2 deletions codegen/sdk-codegen/aws-models/datasync.json
Original file line number Diff line number Diff line change
Expand Up @@ -2863,6 +2863,9 @@
},
"errorCode": {
"target": "com.amazonaws.datasync#string"
},
"datasyncErrorCode": {
"target": "com.amazonaws.datasync#string"
}
},
"traits": {
Expand Down Expand Up @@ -3535,6 +3538,21 @@
]
}
},
"com.amazonaws.datasync#ObjectTags": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "PRESERVE",
"name": "PRESERVE"
},
{
"value": "NONE",
"name": "NONE"
}
]
}
},
"com.amazonaws.datasync#OnPremConfig": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -3603,7 +3621,7 @@
"VerifyMode": {
"target": "com.amazonaws.datasync#VerifyMode",
"traits": {
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/create-task.html\">Configure task settings</a>.\n </p>\n <p>Default value: POINT_IN_TIME_CONSISTENT.</p>\n <p>ONLY_FILES_TRANSFERRED (recommended): Perform verification only on files that were transferred.\n </p>\n \n <p>POINT_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.</p>\n <p>NONE: 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.</p>"
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/create-task.html\">Configure task settings</a>.\n </p>\n <p>Default value: POINT_IN_TIME_CONSISTENT.</p>\n <p>ONLY_FILES_TRANSFERRED (recommended): Perform verification only on files that were transferred.\n </p>\n \n <p>POINT_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.</p>\n <p>NONE: 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.</p>"
}
},
"OverwriteMode": {
Expand All @@ -3621,7 +3639,7 @@
"Mtime": {
"target": "com.amazonaws.datasync#Mtime",
"traits": {
"smithy.api#documentation": "<p>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. </p>\n <p>Default value: PRESERVE. </p>\n <p>PRESERVE: Preserve original <code>Mtime</code> (recommended)</p>\n <p> NONE: Ignore <code>Mtime</code>. </p>\n <note>\n <p>If <code>Mtime</code> is set to PRESERVE, <code>Atime</code> must be set to\n BEST_EFFORT.</p>\n <p>If <code>Mtime</code> is set to NONE, <code>Atime</code> must also be set to NONE.\n </p>\n </note>"
"smithy.api#documentation": "<p>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. </p>\n <p>Default Value: <code>PRESERVE</code>\n </p>\n <p>PRESERVE: Preserve original <code>Mtime</code> (recommended)</p>\n <p> NONE: Ignore <code>Mtime</code>. </p>\n <note>\n <p>If <code>Mtime</code> is set to PRESERVE, <code>Atime</code> must be set to\n BEST_EFFORT.</p>\n <p>If <code>Mtime</code> is set to NONE, <code>Atime</code> must also be set to NONE.\n </p>\n </note>"
}
},
"Uid": {
Expand Down Expand Up @@ -3683,6 +3701,12 @@
"traits": {
"smithy.api#documentation": "<p>A value that determines which components of the SMB security descriptor are copied from source\n to destination objects.\n </p>\n <p>This 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 <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/special-files.html\">How DataSync Handles Metadata and Special Files</a>.\n </p>\n <p>Default value: OWNER_DACL.</p>\n\n <p>\n <b>OWNER_DACL</b>: For each copied object, DataSync copies the following metadata:</p>\n <ul>\n <li>\n <p>Object owner.</p>\n </li>\n <li>\n <p>NTFS discretionary access control lists (DACLs), which determine whether to \n grant access to an object.</p>\n </li>\n </ul>\n <p>When 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.</p>\n \n <p>\n <b>OWNER_DACL_SACL</b>: For each copied object, DataSync copies the following metadata:</p> \n <ul>\n <li>\n <p>Object owner.</p>\n </li>\n <li>\n <p>NTFS discretionary access control lists (DACLs), which determine whether to\n grant access to an object.</p>\n </li>\n <li>\n <p>NTFS system access control lists (SACLs), which are used by administrators \n to log attempts to access a secured object.</p>\n </li>\n </ul>\n <p>Copying 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 <a href=\"create-smb-location.html#SMBuser\">user</a>.</p>\n \n <p>\n <b>NONE</b>: 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 </p>"
}
},
"ObjectTags": {
"target": "com.amazonaws.datasync#ObjectTags",
"traits": {
"smithy.api#documentation": "<p>Specifies whether object tags are maintained when transferring between object storage systems. If you want your DataSync task to ignore object tags, specify the <code>NONE</code> value.</p>\n <p>Default Value: <code>PRESERVE</code>\n </p>"
}
}
},
"traits": {
Expand Down
28 changes: 28 additions & 0 deletions codegen/sdk-codegen/aws-models/ec2.json
Original file line number Diff line number Diff line change
Expand Up @@ -47437,6 +47437,34 @@
{
"value": "m6a.metal",
"name": "m6a_metal"
},
{
"value": "i4i.large",
"name": "i4i_large"
},
{
"value": "i4i.xlarge",
"name": "i4i_xlarge"
},
{
"value": "i4i.2xlarge",
"name": "i4i_2xlarge"
},
{
"value": "i4i.4xlarge",
"name": "i4i_4xlarge"
},
{
"value": "i4i.8xlarge",
"name": "i4i_8xlarge"
},
{
"value": "i4i.16xlarge",
"name": "i4i_16xlarge"
},
{
"value": "i4i.32xlarge",
"name": "i4i_32xlarge"
}
]
}
Expand Down
15 changes: 15 additions & 0 deletions codegen/sdk-codegen/aws-models/iot.json
Original file line number Diff line number Diff line change
Expand Up @@ -3447,6 +3447,12 @@
"smithy.api#box": {}
}
},
"com.amazonaws.iot#BooleanWrapperObject": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.iot#Bucket": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -3840,6 +3846,9 @@
{
"target": "com.amazonaws.iot#InvalidRequestException"
},
{
"target": "com.amazonaws.iot#LimitExceededException"
},
{
"target": "com.amazonaws.iot#ResourceNotFoundException"
},
Expand Down Expand Up @@ -15914,6 +15923,9 @@
"traits": {
"smithy.api#documentation": "<p>A key-value map that pairs the patterns that need to be replaced in a managed \n template job document schema. You can use the description of each key as a guidance \n to specify the inputs during runtime when creating a job.</p>"
}
},
"isConcurrent": {
"target": "com.amazonaws.iot#BooleanWrapperObject"
}
},
"traits": {
Expand Down Expand Up @@ -16377,6 +16389,9 @@
"traits": {
"smithy.api#documentation": "<p>The time, in seconds since the epoch, when the job completed.</p>"
}
},
"isConcurrent": {
"target": "com.amazonaws.iot#BooleanWrapperObject"
}
},
"traits": {
Expand Down
Loading

0 comments on commit c6f1c6e

Please sign in to comment.