Skip to content

Commit dec317a

Browse files
Update API model
1 parent 3a57a59 commit dec317a

File tree

6 files changed

+1163
-142
lines changed

6 files changed

+1163
-142
lines changed

tools/code-generation/smithy/api-descriptions/bedrock-agent.json

Lines changed: 756 additions & 19 deletions
Large diffs are not rendered by default.

tools/code-generation/smithy/api-descriptions/codebuild.json

Lines changed: 59 additions & 6 deletions
Large diffs are not rendered by default.

tools/code-generation/smithy/api-descriptions/controltower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,7 +2070,7 @@
20702070
}
20712071
},
20722072
"traits": {
2073-
"smithy.api#documentation": "<p>The drift summary of the enabled baseline. Amazon Web Services Control Tower reports inheritance drift when an enabled baseline configuration of a member account is different than the configuration that applies to the OU. Amazon Web Services Control Tower reports this type of drift for a parent or child enabled baseline. One way to repair this drift by resetting the parent enabled baseline, on the OU.</p> <p>For example, if an account is moved between OUs that share the same baseline but different versions or parameters, the entity from the previous OU is unlinked; that (previous) OU reports <i>inheritance drift</i>. Also, the parent enabled baseline on the destination OU reports <i>inheritance drift</i>; it is missing the newly moved account. The configurations do not match for either OU, so both are in a state of inheritance drift.</p>"
2073+
"smithy.api#documentation": "<p>The drift summary of the enabled baseline. Amazon Web Services Control Tower reports inheritance drift when an enabled baseline configuration of a member account is different than the configuration that applies to the OU. Amazon Web Services Control Tower reports this type of drift for a parent or child enabled baseline. One way to repair this drift by resetting the parent enabled baseline, on the OU.</p> <p>For example, you may see this type of drift if you move accounts between OUs, but the accounts are not yet (re-)enrolled.</p>"
20742074
}
20752075
},
20762076
"com.amazonaws.controltower#EnabledBaselineDriftStatuses": {
@@ -2091,7 +2091,7 @@
20912091
"inheritance": {
20922092
"target": "com.amazonaws.controltower#EnabledBaselineInheritanceDrift",
20932093
"traits": {
2094-
"smithy.api#documentation": "<p>One or more accounts within the target OU does not match the baseline configuration defined on that OU. An account is in inheritance drift when it does not match the configuration of a parent OU, possibly a new parent OU if the account is moved. </p>"
2094+
"smithy.api#documentation": "<p>At least one account within the target OU does not match the baseline configuration defined on that OU. An account is in inheritance drift when it does not match the configuration of a parent OU, possibly a new parent OU, if the account is moved. </p>"
20952095
}
20962096
}
20972097
},

tools/code-generation/smithy/api-descriptions/database-migration-service.json

Lines changed: 116 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6168,7 +6168,7 @@
61686168
"type": "structure",
61696169
"members": {
61706170
"MigrationProjectIdentifier": {
6171-
"target": "com.amazonaws.databasemigrationservice#String",
6171+
"target": "com.amazonaws.databasemigrationservice#MigrationProjectIdentifier",
61726172
"traits": {
61736173
"smithy.api#documentation": "<p>The name or Amazon Resource Name (ARN) for the schema conversion project to describe.</p>",
61746174
"smithy.api#required": {}
@@ -6828,7 +6828,7 @@
68286828
"Filters": {
68296829
"target": "com.amazonaws.databasemigrationservice#FilterList",
68306830
"traits": {
6831-
"smithy.api#documentation": "<p>Filters applied to event subscriptions.</p>\n <p>Valid filter names: event-subscription-arn | event-subscription-id </p>"
6831+
"smithy.api#documentation": "<p>Filters applied to event subscriptions.</p>\n <p>Valid filter names: <code>event-subscription-arn</code> | <code>event-subscription-id</code>\n </p>"
68326832
}
68336833
},
68346834
"MaxRecords": {
@@ -7021,7 +7021,7 @@
70217021
"type": "structure",
70227022
"members": {
70237023
"MigrationProjectIdentifier": {
7024-
"target": "com.amazonaws.databasemigrationservice#String",
7024+
"target": "com.amazonaws.databasemigrationservice#MigrationProjectIdentifier",
70257025
"traits": {
70267026
"smithy.api#documentation": "<p>The name or Amazon Resource Name (ARN) for the migration project.</p>",
70277027
"smithy.api#required": {}
@@ -7565,7 +7565,7 @@
75657565
"type": "structure",
75667566
"members": {
75677567
"MigrationProjectIdentifier": {
7568-
"target": "com.amazonaws.databasemigrationservice#String",
7568+
"target": "com.amazonaws.databasemigrationservice#MigrationProjectIdentifier",
75697569
"traits": {
75707570
"smithy.api#documentation": "<p>The name or Amazon Resource Name (ARN) of the migration project.</p>",
75717571
"smithy.api#required": {}
@@ -7669,7 +7669,7 @@
76697669
"type": "structure",
76707670
"members": {
76717671
"MigrationProjectIdentifier": {
7672-
"target": "com.amazonaws.databasemigrationservice#String",
7672+
"target": "com.amazonaws.databasemigrationservice#MigrationProjectIdentifier",
76737673
"traits": {
76747674
"smithy.api#documentation": "<p>The migration project name or Amazon Resource Name (ARN).</p>",
76757675
"smithy.api#required": {}
@@ -7773,7 +7773,7 @@
77737773
"type": "structure",
77747774
"members": {
77757775
"MigrationProjectIdentifier": {
7776-
"target": "com.amazonaws.databasemigrationservice#String",
7776+
"target": "com.amazonaws.databasemigrationservice#MigrationProjectIdentifier",
77777777
"traits": {
77787778
"smithy.api#documentation": "<p>The migration project name or Amazon Resource Name (ARN).</p>",
77797779
"smithy.api#required": {}
@@ -7877,7 +7877,7 @@
78777877
"type": "structure",
78787878
"members": {
78797879
"MigrationProjectIdentifier": {
7880-
"target": "com.amazonaws.databasemigrationservice#String",
7880+
"target": "com.amazonaws.databasemigrationservice#MigrationProjectIdentifier",
78817881
"traits": {
78827882
"smithy.api#documentation": "<p>The migration project name or Amazon Resource Name (ARN).</p>",
78837883
"smithy.api#required": {}
@@ -7981,7 +7981,7 @@
79817981
"type": "structure",
79827982
"members": {
79837983
"MigrationProjectIdentifier": {
7984-
"target": "com.amazonaws.databasemigrationservice#String",
7984+
"target": "com.amazonaws.databasemigrationservice#MigrationProjectIdentifier",
79857985
"traits": {
79867986
"smithy.api#documentation": "<p>The migration project name or Amazon Resource Name (ARN).</p>",
79877987
"smithy.api#required": {}
@@ -8334,7 +8334,7 @@
83348334
"Filters": {
83358335
"target": "com.amazonaws.databasemigrationservice#FilterList",
83368336
"traits": {
8337-
"smithy.api#documentation": "<p>Filters applied to the limitations described in the form of key-value pairs.</p>"
8337+
"smithy.api#documentation": "<p>Filters applied to the limitations described in the form of key-value pairs.</p>\n <p>Valid filter names: <code>database-id</code> | <code>engine-name</code>\n </p>"
83388338
}
83398339
},
83408340
"MaxRecords": {
@@ -8405,7 +8405,7 @@
84058405
"Filters": {
84068406
"target": "com.amazonaws.databasemigrationservice#FilterList",
84078407
"traits": {
8408-
"smithy.api#documentation": "<p>Filters applied to the target engine recommendations described in the form of\n key-value pairs.</p>"
8408+
"smithy.api#documentation": "<p>Filters applied to the target engine recommendations described in the form of\n key-value pairs.</p>\n <p>Valid filter names: <code>database-id</code> | <code>engine-name</code>\n </p>"
84098409
}
84108410
},
84118411
"MaxRecords": {
@@ -9693,7 +9693,7 @@
96939693
"Filters": {
96949694
"target": "com.amazonaws.databasemigrationservice#FilterList",
96959695
"traits": {
9696-
"smithy.api#documentation": "<p>Filters applied to the replications.</p>"
9696+
"smithy.api#documentation": "<p>Filters applied to the replications.</p>\n <p> Valid filter names: <code>replication-config-arn</code> | <code>replication-config-id</code>\n </p>"
96979697
}
96989698
},
96999699
"MaxRecords": {
@@ -10823,7 +10823,7 @@
1082310823
"type": "structure",
1082410824
"members": {
1082510825
"MigrationProjectIdentifier": {
10826-
"target": "com.amazonaws.databasemigrationservice#String",
10826+
"target": "com.amazonaws.databasemigrationservice#MigrationProjectIdentifier",
1082710827
"traits": {
1082810828
"smithy.api#documentation": "<p>The migration project name or Amazon Resource Name (ARN).</p>",
1082910829
"smithy.api#required": {}
@@ -12403,6 +12403,15 @@
1240312403
"smithy.api#documentation": "<p>Provides information that defines a migration project.</p>"
1240412404
}
1240512405
},
12406+
"com.amazonaws.databasemigrationservice#MigrationProjectIdentifier": {
12407+
"type": "string",
12408+
"traits": {
12409+
"smithy.api#length": {
12410+
"min": 0,
12411+
"max": 255
12412+
}
12413+
}
12414+
},
1240612415
"com.amazonaws.databasemigrationservice#MigrationProjectList": {
1240712416
"type": "list",
1240812417
"member": {
@@ -12472,7 +12481,7 @@
1247212481
"type": "structure",
1247312482
"members": {
1247412483
"MigrationProjectIdentifier": {
12475-
"target": "com.amazonaws.databasemigrationservice#String",
12484+
"target": "com.amazonaws.databasemigrationservice#MigrationProjectIdentifier",
1247612485
"traits": {
1247712486
"smithy.api#documentation": "<p>The migration project name or Amazon Resource Name (ARN).</p>",
1247812487
"smithy.api#required": {}
@@ -14149,6 +14158,23 @@
1414914158
"smithy.api#output": {}
1415014159
}
1415114160
},
14161+
"com.amazonaws.databasemigrationservice#MySQLAuthenticationMethod": {
14162+
"type": "enum",
14163+
"members": {
14164+
"Password": {
14165+
"target": "smithy.api#Unit",
14166+
"traits": {
14167+
"smithy.api#enumValue": "password"
14168+
}
14169+
},
14170+
"IAM": {
14171+
"target": "smithy.api#Unit",
14172+
"traits": {
14173+
"smithy.api#enumValue": "iam"
14174+
}
14175+
}
14176+
}
14177+
},
1415214178
"com.amazonaws.databasemigrationservice#MySQLSettings": {
1415314179
"type": "structure",
1415414180
"members": {
@@ -14241,6 +14267,18 @@
1424114267
"traits": {
1424214268
"smithy.api#documentation": "<p>Sets the client statement timeout (in seconds) for a MySQL source endpoint.</p>"
1424314269
}
14270+
},
14271+
"ServiceAccessRoleArn": {
14272+
"target": "com.amazonaws.databasemigrationservice#String",
14273+
"traits": {
14274+
"smithy.api#documentation": "<p>The IAM role you can use to authenticate when connecting to your endpoint. Ensure to include <code>iam:PassRole</code> and <code>rds-db:connect</code> actions in permission policy.</p>"
14275+
}
14276+
},
14277+
"AuthenticationMethod": {
14278+
"target": "com.amazonaws.databasemigrationservice#MySQLAuthenticationMethod",
14279+
"traits": {
14280+
"smithy.api#documentation": "<p>This attribute allows you to specify the authentication method as \"iam auth\".</p>"
14281+
}
1424414282
}
1424514283
},
1424614284
"traits": {
@@ -14899,6 +14937,23 @@
1489914937
}
1490014938
}
1490114939
},
14940+
"com.amazonaws.databasemigrationservice#PostgreSQLAuthenticationMethod": {
14941+
"type": "enum",
14942+
"members": {
14943+
"Password": {
14944+
"target": "smithy.api#Unit",
14945+
"traits": {
14946+
"smithy.api#enumValue": "password"
14947+
}
14948+
},
14949+
"IAM": {
14950+
"target": "smithy.api#Unit",
14951+
"traits": {
14952+
"smithy.api#enumValue": "iam"
14953+
}
14954+
}
14955+
}
14956+
},
1490214957
"com.amazonaws.databasemigrationservice#PostgreSQLSettings": {
1490314958
"type": "structure",
1490414959
"members": {
@@ -15051,6 +15106,18 @@
1505115106
"traits": {
1505215107
"smithy.api#documentation": "<p>Disables the Unicode source filter with PostgreSQL, for values passed into the Selection\n rule filter on Source Endpoint column values. By default DMS performs source filter\n comparisons using a Unicode string which can cause look ups to ignore the indexes in the\n text columns and slow down migrations.</p>\n <p>Unicode support should only be disabled when using a selection rule filter is on a text\n column in the Source database that is indexed.</p>"
1505315108
}
15109+
},
15110+
"ServiceAccessRoleArn": {
15111+
"target": "com.amazonaws.databasemigrationservice#String",
15112+
"traits": {
15113+
"smithy.api#documentation": "<p>The IAM role arn you can use to authenticate the connection to your endpoint. Ensure to include <code>iam:PassRole</code> and <code>rds-db:connect</code> actions in permission policy.</p>"
15114+
}
15115+
},
15116+
"AuthenticationMethod": {
15117+
"target": "com.amazonaws.databasemigrationservice#PostgreSQLAuthenticationMethod",
15118+
"traits": {
15119+
"smithy.api#documentation": "<p>This attribute allows you to specify the authentication method as \"iam auth\".</p>"
15120+
}
1505415121
}
1505515122
},
1505615123
"traits": {
@@ -18168,7 +18235,7 @@
1816818235
"type": "structure",
1816918236
"members": {
1817018237
"MigrationProjectIdentifier": {
18171-
"target": "com.amazonaws.databasemigrationservice#String",
18238+
"target": "com.amazonaws.databasemigrationservice#MigrationProjectIdentifier",
1817218239
"traits": {
1817318240
"smithy.api#documentation": "<p>The migration project name or Amazon Resource Name (ARN).</p>",
1817418241
"smithy.api#required": {}
@@ -18248,7 +18315,7 @@
1824818315
"type": "structure",
1824918316
"members": {
1825018317
"MigrationProjectIdentifier": {
18251-
"target": "com.amazonaws.databasemigrationservice#String",
18318+
"target": "com.amazonaws.databasemigrationservice#MigrationProjectIdentifier",
1825218319
"traits": {
1825318320
"smithy.api#documentation": "<p>The migration project name or Amazon Resource Name (ARN).</p>",
1825418321
"smithy.api#required": {}
@@ -18335,7 +18402,7 @@
1833518402
"type": "structure",
1833618403
"members": {
1833718404
"MigrationProjectIdentifier": {
18338-
"target": "com.amazonaws.databasemigrationservice#String",
18405+
"target": "com.amazonaws.databasemigrationservice#MigrationProjectIdentifier",
1833918406
"traits": {
1834018407
"smithy.api#documentation": "<p>The migration project name or Amazon Resource Name (ARN).</p>",
1834118408
"smithy.api#required": {}
@@ -18424,7 +18491,7 @@
1842418491
"type": "structure",
1842518492
"members": {
1842618493
"MigrationProjectIdentifier": {
18427-
"target": "com.amazonaws.databasemigrationservice#String",
18494+
"target": "com.amazonaws.databasemigrationservice#MigrationProjectIdentifier",
1842818495
"traits": {
1842918496
"smithy.api#documentation": "<p>The migration project name or Amazon Resource Name (ARN).</p>",
1843018497
"smithy.api#required": {}
@@ -18525,7 +18592,7 @@
1852518592
"type": "structure",
1852618593
"members": {
1852718594
"MigrationProjectIdentifier": {
18528-
"target": "com.amazonaws.databasemigrationservice#String",
18595+
"target": "com.amazonaws.databasemigrationservice#MigrationProjectIdentifier",
1852918596
"traits": {
1853018597
"smithy.api#documentation": "<p>The migration project name or Amazon Resource Name (ARN).</p>",
1853118598
"smithy.api#required": {}
@@ -18620,7 +18687,7 @@
1862018687
"type": "structure",
1862118688
"members": {
1862218689
"MigrationProjectIdentifier": {
18623-
"target": "com.amazonaws.databasemigrationservice#String",
18690+
"target": "com.amazonaws.databasemigrationservice#MigrationProjectIdentifier",
1862418691
"traits": {
1862518692
"smithy.api#documentation": "<p>The migration project name or Amazon Resource Name (ARN).</p>",
1862618693
"smithy.api#required": {}
@@ -19705,6 +19772,36 @@
1970519772
"traits": {
1970619773
"smithy.api#documentation": "<p>Additional details about the state of validation.</p>"
1970719774
}
19775+
},
19776+
"ResyncState": {
19777+
"target": "com.amazonaws.databasemigrationservice#String",
19778+
"traits": {
19779+
"smithy.api#documentation": "<p>Records the current state of table resynchronization in the migration task.</p>\n <p>This parameter can have the following values:</p>\n <ul>\n <li>\n <p>Not enabled – Resync is not enabled for the table in the migration task.</p>\n </li>\n <li>\n <p>Pending – The tables are waiting for resync.</p>\n </li>\n <li>\n <p>In progress – Resync in progress for some records in the table.</p>\n </li>\n <li>\n <p>No primary key – The table could not be resynced because it has no primary key.</p>\n </li>\n <li>\n <p>Last resync at: <code>date/time</code> – Resync session is finished at time. Time provided in UTC format.</p>\n </li>\n </ul>"
19780+
}
19781+
},
19782+
"ResyncRowsAttempted": {
19783+
"target": "com.amazonaws.databasemigrationservice#LongOptional",
19784+
"traits": {
19785+
"smithy.api#documentation": "<p>Records the total number of mismatched data rows where the system attempted to apply\n fixes in the target database.</p>"
19786+
}
19787+
},
19788+
"ResyncRowsSucceeded": {
19789+
"target": "com.amazonaws.databasemigrationservice#LongOptional",
19790+
"traits": {
19791+
"smithy.api#documentation": "<p>Records the total number of mismatched data rows where fixes were successfully applied in the target database.</p>"
19792+
}
19793+
},
19794+
"ResyncRowsFailed": {
19795+
"target": "com.amazonaws.databasemigrationservice#LongOptional",
19796+
"traits": {
19797+
"smithy.api#documentation": "<p>Records the total number of mismatched data rows where fix attempts failed in the target\n database.</p>"
19798+
}
19799+
},
19800+
"ResyncProgress": {
19801+
"target": "com.amazonaws.databasemigrationservice#DoubleOptional",
19802+
"traits": {
19803+
"smithy.api#documentation": "<p>Calculates the percentage of failed validations that were successfully resynced to the system.</p>"
19804+
}
1970819805
}
1970919806
},
1971019807
"traits": {

0 commit comments

Comments
 (0)