Skip to content

Commit 5954703

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 0c73d2b commit 5954703

File tree

9 files changed

+3222
-51
lines changed

9 files changed

+3222
-51
lines changed

codegen/sdk-codegen/aws-models/bedrock.json

+547-35
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/controlcatalog.json

+340
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/controltower.json

+1-1
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/iam.json

+29-1
Original file line numberDiff line numberDiff line change
@@ -7696,6 +7696,21 @@
76967696
"smithy.api#suppress": [
76977697
"WaitableTraitInvalidErrorType"
76987698
],
7699+
"smithy.test#smokeTests": [
7700+
{
7701+
"id": "GetUserFailure",
7702+
"params": {
7703+
"UserName": "fake_user"
7704+
},
7705+
"vendorParams": {
7706+
"region": "us-east-1"
7707+
},
7708+
"vendorParamsShape": "aws.test#AwsVendorParams",
7709+
"expect": {
7710+
"failure": {}
7711+
}
7712+
}
7713+
],
76997714
"smithy.waiters#waitable": {
77007715
"UserExists": {
77017716
"acceptors": [
@@ -10918,7 +10933,20 @@
1091810933
"outputToken": "Marker",
1091910934
"items": "Users",
1092010935
"pageSize": "MaxItems"
10921-
}
10936+
},
10937+
"smithy.test#smokeTests": [
10938+
{
10939+
"id": "ListUsersSuccess",
10940+
"params": {},
10941+
"vendorParams": {
10942+
"region": "us-east-1"
10943+
},
10944+
"vendorParamsShape": "aws.test#AwsVendorParams",
10945+
"expect": {
10946+
"success": {}
10947+
}
10948+
}
10949+
]
1092210950
}
1092310951
},
1092410952
"com.amazonaws.iam#ListUsersRequest": {

codegen/sdk-codegen/aws-models/memorydb.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2593,7 +2593,7 @@
25932593
}
25942594
],
25952595
"traits": {
2596-
"smithy.api#documentation": "<p>Deletes a cluster. It also deletes all associated nodes and node endpoints</p>"
2596+
"smithy.api#documentation": "<p>Deletes a cluster. It also deletes all associated nodes and node endpoints</p>\n <note>\n <p>\n <code>CreateSnapshot</code> permission is required to create a final snapshot. \n Without this permission, the API call will fail with an <code>Access Denied</code> exception.</p>\n </note>"
25972597
}
25982598
},
25992599
"com.amazonaws.memorydb#DeleteClusterRequest": {

codegen/sdk-codegen/aws-models/rds.json

+27-9
Original file line numberDiff line numberDiff line change
@@ -6134,6 +6134,12 @@
61346134
"smithy.api#required": {}
61356135
}
61366136
},
6137+
"MinACU": {
6138+
"target": "com.amazonaws.rds#DoubleOptional",
6139+
"traits": {
6140+
"smithy.api#documentation": "<p>The minimum capacity of the DB shard group in Aurora capacity units (ACUs).</p>"
6141+
}
6142+
},
61376143
"PubliclyAccessible": {
61386144
"target": "com.amazonaws.rds#BooleanOptional",
61396145
"traits": {
@@ -11096,6 +11102,12 @@
1109611102
"smithy.api#documentation": "<p>The maximum capacity of the DB shard group in Aurora capacity units (ACUs).</p>"
1109711103
}
1109811104
},
11105+
"MinACU": {
11106+
"target": "com.amazonaws.rds#DoubleOptional",
11107+
"traits": {
11108+
"smithy.api#documentation": "<p>The minimum capacity of the DB shard group in Aurora capacity units (ACUs).</p>"
11109+
}
11110+
},
1109911111
"ComputeRedundancy": {
1110011112
"target": "com.amazonaws.rds#IntegerOptional",
1110111113
"traits": {
@@ -12137,19 +12149,19 @@
1213712149
"SkipFinalSnapshot": {
1213812150
"target": "com.amazonaws.rds#Boolean",
1213912151
"traits": {
12140-
"smithy.api#documentation": "<p>Specifies whether to skip the creation of a final DB cluster snapshot before the DB cluster is deleted.\n If skip is specified, no DB cluster snapshot is created. If skip isn't specified, a DB cluster snapshot \n is created before the DB cluster is deleted. By default, skip isn't specified, and the DB cluster snapshot is created. \n By default, this parameter is disabled.</p>\n <note>\n <p>You must specify a <code>FinalDBSnapshotIdentifier</code> parameter if <code>SkipFinalSnapshot</code> is disabled.</p>\n </note>"
12152+
"smithy.api#documentation": "<p>Specifies whether to skip the creation of a final DB cluster snapshot before RDS\n deletes the DB cluster. If you set this value to <code>true</code>, RDS doesn't create a\n final DB cluster snapshot. If you set this value to <code>false</code> or don't specify\n it, RDS creates a DB cluster snapshot before it deletes the DB cluster. By default, this\n parameter is disabled, so RDS creates a final DB cluster snapshot.</p>\n <note>\n <p>If <code>SkipFinalSnapshot</code> is disabled, you must specify a value for the\n <code>FinalDBSnapshotIdentifier</code> parameter.</p>\n </note>"
1214112153
}
1214212154
},
1214312155
"FinalDBSnapshotIdentifier": {
1214412156
"target": "com.amazonaws.rds#String",
1214512157
"traits": {
12146-
"smithy.api#documentation": "<p>The DB cluster snapshot identifier of the new DB cluster snapshot created when <code>SkipFinalSnapshot</code>\n is disabled.</p>\n <note>\n <p>Specifying this parameter and also skipping the creation of a final DB cluster snapshot \n with the <code>SkipFinalShapshot</code> parameter results in an error.</p>\n </note>\n <p>Constraints:</p>\n <ul>\n <li>\n <p>Must be 1 to 255 letters, numbers, or hyphens.</p>\n </li>\n <li>\n <p>First character must be a letter</p>\n </li>\n <li>\n <p>Can't end with a hyphen or contain two consecutive hyphens</p>\n </li>\n </ul>"
12158+
"smithy.api#documentation": "<p>The DB cluster snapshot identifier of the new DB cluster snapshot created when <code>SkipFinalSnapshot</code>\n is disabled.</p>\n <note>\n <p>If you specify this parameter and also skip the creation of a final DB cluster\n snapshot with the <code>SkipFinalShapshot</code> parameter, the request results in\n an error.</p>\n </note>\n <p>Constraints:</p>\n <ul>\n <li>\n <p>Must be 1 to 255 letters, numbers, or hyphens.</p>\n </li>\n <li>\n <p>First character must be a letter</p>\n </li>\n <li>\n <p>Can't end with a hyphen or contain two consecutive hyphens</p>\n </li>\n </ul>"
1214712159
}
1214812160
},
1214912161
"DeleteAutomatedBackups": {
1215012162
"target": "com.amazonaws.rds#BooleanOptional",
1215112163
"traits": {
12152-
"smithy.api#documentation": "<p>Specifies whether to remove automated backups immediately after the DB\n cluster is deleted. This parameter isn't case-sensitive. The default is to remove \n automated backups immediately after the DB cluster is deleted.\n </p>\n <note>\n <p>You must delete automated backups for Amazon RDS Multi-AZ DB clusters. For more information about managing automated backups for RDS Multi-AZ DB clusters, see <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ManagingAutomatedBackups.html\">Managing automated backups</a>.</p>\n </note>"
12164+
"smithy.api#documentation": "<p>Specifies whether to remove automated backups immediately after the DB\n cluster is deleted. This parameter isn't case-sensitive. The default is to remove \n automated backups immediately after the DB cluster is deleted.</p>"
1215312165
}
1215412166
}
1215512167
},
@@ -13909,7 +13921,7 @@
1390913921
"Source": {
1391013922
"target": "com.amazonaws.rds#String",
1391113923
"traits": {
13912-
"smithy.api#documentation": "<p>A specific source to return parameters for.</p>\n <p>Valid Values:</p>\n <ul>\n <li>\n <p>\n <code>user</code>\n </p>\n </li>\n <li>\n <p>\n <code>engine</code>\n </p>\n </li>\n <li>\n <p>\n <code>service</code>\n </p>\n </li>\n </ul>"
13924+
"smithy.api#documentation": "<p>A specific source to return parameters for.</p>\n <p>Valid Values:</p>\n <ul>\n <li>\n <p>\n <code>customer</code>\n </p>\n </li>\n <li>\n <p>\n <code>engine</code>\n </p>\n </li>\n <li>\n <p>\n <code>service</code>\n </p>\n </li>\n </ul>"
1391313925
}
1391413926
},
1391513927
"Filters": {
@@ -22882,6 +22894,12 @@
2288222894
"traits": {
2288322895
"smithy.api#documentation": "<p>The maximum capacity of the DB shard group in Aurora capacity units (ACUs).</p>"
2288422896
}
22897+
},
22898+
"MinACU": {
22899+
"target": "com.amazonaws.rds#DoubleOptional",
22900+
"traits": {
22901+
"smithy.api#documentation": "<p>The minimum capacity of the DB shard group in Aurora capacity units (ACUs).</p>"
22902+
}
2288522903
}
2288622904
},
2288722905
"traits": {
@@ -23780,13 +23798,13 @@
2378023798
"DBSecurityGroupMemberships": {
2378123799
"target": "com.amazonaws.rds#DBSecurityGroupNameList",
2378223800
"traits": {
23783-
"smithy.api#documentation": "<p>A list of DBSecurityGroupMembership name strings used for this option.</p>"
23801+
"smithy.api#documentation": "<p>A list of DB security groups used for this option.</p>"
2378423802
}
2378523803
},
2378623804
"VpcSecurityGroupMemberships": {
2378723805
"target": "com.amazonaws.rds#VpcSecurityGroupIdList",
2378823806
"traits": {
23789-
"smithy.api#documentation": "<p>A list of VpcSecurityGroupMembership name strings used for this option.</p>"
23807+
"smithy.api#documentation": "<p>A list of VPC security group names used for this option.</p>"
2379023808
}
2379123809
},
2379223810
"OptionSettings": {
@@ -23797,7 +23815,7 @@
2379723815
}
2379823816
},
2379923817
"traits": {
23800-
"smithy.api#documentation": "<p>A list of all available options</p>"
23818+
"smithy.api#documentation": "<p>A list of all available options for an option group.</p>"
2380123819
}
2380223820
},
2380323821
"com.amazonaws.rds#OptionConfigurationList": {
@@ -30782,7 +30800,7 @@
3078230800
}
3078330801
},
3078430802
"traits": {
30785-
"smithy.api#documentation": "<p>Metadata assigned to an Amazon RDS resource consisting of a key-value pair.</p>\n <p>For more information, see\n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html\">Tagging Amazon RDS Resources</a> in the <i>Amazon RDS User Guide</i>\n or <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html\">Tagging Amazon Aurora and Amazon RDS Resources</a> in the <i>Amazon Aurora User Guide</i>.\n </p>"
30803+
"smithy.api#documentation": "<p>Metadata assigned to an Amazon RDS resource consisting of a key-value pair.</p>\n <p>For more information, see\n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html\">Tagging Amazon RDS resources</a> in the <i>Amazon RDS User Guide</i> or \n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html\">Tagging Amazon Aurora and Amazon RDS resources</a> in the <i>Amazon Aurora User Guide</i>.\n </p>"
3078630804
}
3078730805
},
3078830806
"com.amazonaws.rds#TagList": {
@@ -30794,7 +30812,7 @@
3079430812
}
3079530813
},
3079630814
"traits": {
30797-
"smithy.api#documentation": "<p>A list of tags.\n For more information, see <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html\">Tagging Amazon RDS Resources</a> in the <i>Amazon RDS User Guide.</i>\n </p>"
30815+
"smithy.api#documentation": "<p>A list of tags.</p>\n <p>For more information, see\n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html\">Tagging Amazon RDS resources</a> in the <i>Amazon RDS User Guide</i> or \n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html\">Tagging Amazon Aurora and Amazon RDS resources</a> in the <i>Amazon Aurora User Guide</i>.\n </p>"
3079830816
}
3079930817
},
3080030818
"com.amazonaws.rds#TagListMessage": {

codegen/sdk-codegen/aws-models/sagemaker.json

+50
Original file line numberDiff line numberDiff line change
@@ -2586,6 +2586,18 @@
25862586
"smithy.api#documentation": "<p>Lists a summary of the properties of an association. An association is an entity that\n links other lineage or experiment entities. An example would be an association between a\n training job and a model.</p>"
25872587
}
25882588
},
2589+
"com.amazonaws.sagemaker#AssumableRoleArns": {
2590+
"type": "list",
2591+
"member": {
2592+
"target": "com.amazonaws.sagemaker#RoleArn"
2593+
},
2594+
"traits": {
2595+
"smithy.api#length": {
2596+
"min": 0,
2597+
"max": 5
2598+
}
2599+
}
2600+
},
25892601
"com.amazonaws.sagemaker#AsyncInferenceClientConfig": {
25902602
"type": "structure",
25912603
"members": {
@@ -27145,6 +27157,26 @@
2714527157
"smithy.api#pattern": "^\\d+$"
2714627158
}
2714727159
},
27160+
"com.amazonaws.sagemaker#EmrSettings": {
27161+
"type": "structure",
27162+
"members": {
27163+
"AssumableRoleArns": {
27164+
"target": "com.amazonaws.sagemaker#AssumableRoleArns",
27165+
"traits": {
27166+
"smithy.api#documentation": "<p>An array of Amazon Resource Names (ARNs) of the IAM roles that the execution role of\n SageMaker can assume for performing operations or tasks related to Amazon EMR clusters or Amazon EMR\n Serverless applications. These roles define the permissions and access policies required\n when performing Amazon EMR-related operations, such as listing, connecting to, or terminating\n Amazon EMR clusters or Amazon EMR Serverless applications. They are typically used in\n cross-account access scenarios, where the Amazon EMR resources (clusters or serverless\n applications) are located in a different Amazon Web Services account than the SageMaker\n domain.</p>"
27167+
}
27168+
},
27169+
"ExecutionRoleArns": {
27170+
"target": "com.amazonaws.sagemaker#ExecutionRoleArns",
27171+
"traits": {
27172+
"smithy.api#documentation": "<p>An array of Amazon Resource Names (ARNs) of the IAM roles used by the Amazon EMR cluster instances\n or job execution environments to access other Amazon Web Services services and resources needed during the \n runtime of your Amazon EMR or Amazon EMR Serverless workloads, such as Amazon S3 for data access, Amazon CloudWatch for logging, or other\n Amazon Web Services services based on the particular workload requirements.</p>"
27173+
}
27174+
}
27175+
},
27176+
"traits": {
27177+
"smithy.api#documentation": "<p>The configuration parameters that specify the IAM roles assumed by the execution role of \n SageMaker (assumable roles) and the cluster instances or job execution environments \n (execution roles or runtime roles) to manage and access resources required for running Amazon EMR\n clusters or Amazon EMR Serverless applications.</p>"
27178+
}
27179+
},
2714827180
"com.amazonaws.sagemaker#EnableCapture": {
2714927181
"type": "boolean"
2715027182
},
@@ -27918,6 +27950,18 @@
2791827950
}
2791927951
}
2792027952
},
27953+
"com.amazonaws.sagemaker#ExecutionRoleArns": {
27954+
"type": "list",
27955+
"member": {
27956+
"target": "com.amazonaws.sagemaker#RoleArn"
27957+
},
27958+
"traits": {
27959+
"smithy.api#length": {
27960+
"min": 0,
27961+
"max": 5
27962+
}
27963+
}
27964+
},
2792127965
"com.amazonaws.sagemaker#ExecutionRoleIdentityConfig": {
2792227966
"type": "enum",
2792327967
"members": {
@@ -35095,6 +35139,12 @@
3509535139
"traits": {
3509635140
"smithy.api#documentation": "<p>A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.</p>"
3509735141
}
35142+
},
35143+
"EmrSettings": {
35144+
"target": "com.amazonaws.sagemaker#EmrSettings",
35145+
"traits": {
35146+
"smithy.api#documentation": "<p>The configuration parameters that specify the IAM roles assumed by the execution role of \n SageMaker (assumable roles) and the cluster instances or job execution environments \n (execution roles or runtime roles) to manage and access resources required for running Amazon EMR\n clusters or Amazon EMR Serverless applications.</p>"
35147+
}
3509835148
}
3509935149
},
3510035150
"traits": {

0 commit comments

Comments
 (0)