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 Aug 1, 2024
1 parent 0c73d2b commit 5954703
Show file tree
Hide file tree
Showing 9 changed files with 3,222 additions and 51 deletions.
582 changes: 547 additions & 35 deletions codegen/sdk-codegen/aws-models/bedrock.json

Large diffs are not rendered by default.

340 changes: 340 additions & 0 deletions codegen/sdk-codegen/aws-models/controlcatalog.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion codegen/sdk-codegen/aws-models/controltower.json

Large diffs are not rendered by default.

30 changes: 29 additions & 1 deletion codegen/sdk-codegen/aws-models/iam.json
Original file line number Diff line number Diff line change
Expand Up @@ -7696,6 +7696,21 @@
"smithy.api#suppress": [
"WaitableTraitInvalidErrorType"
],
"smithy.test#smokeTests": [
{
"id": "GetUserFailure",
"params": {
"UserName": "fake_user"
},
"vendorParams": {
"region": "us-east-1"
},
"vendorParamsShape": "aws.test#AwsVendorParams",
"expect": {
"failure": {}
}
}
],
"smithy.waiters#waitable": {
"UserExists": {
"acceptors": [
Expand Down Expand Up @@ -10918,7 +10933,20 @@
"outputToken": "Marker",
"items": "Users",
"pageSize": "MaxItems"
}
},
"smithy.test#smokeTests": [
{
"id": "ListUsersSuccess",
"params": {},
"vendorParams": {
"region": "us-east-1"
},
"vendorParamsShape": "aws.test#AwsVendorParams",
"expect": {
"success": {}
}
}
]
}
},
"com.amazonaws.iam#ListUsersRequest": {
Expand Down
2 changes: 1 addition & 1 deletion codegen/sdk-codegen/aws-models/memorydb.json
Original file line number Diff line number Diff line change
Expand Up @@ -2593,7 +2593,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a cluster. It also deletes all associated nodes and node endpoints</p>"
"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>"
}
},
"com.amazonaws.memorydb#DeleteClusterRequest": {
Expand Down
36 changes: 27 additions & 9 deletions codegen/sdk-codegen/aws-models/rds.json
Original file line number Diff line number Diff line change
Expand Up @@ -6134,6 +6134,12 @@
"smithy.api#required": {}
}
},
"MinACU": {
"target": "com.amazonaws.rds#DoubleOptional",
"traits": {
"smithy.api#documentation": "<p>The minimum capacity of the DB shard group in Aurora capacity units (ACUs).</p>"
}
},
"PubliclyAccessible": {
"target": "com.amazonaws.rds#BooleanOptional",
"traits": {
Expand Down Expand Up @@ -11096,6 +11102,12 @@
"smithy.api#documentation": "<p>The maximum capacity of the DB shard group in Aurora capacity units (ACUs).</p>"
}
},
"MinACU": {
"target": "com.amazonaws.rds#DoubleOptional",
"traits": {
"smithy.api#documentation": "<p>The minimum capacity of the DB shard group in Aurora capacity units (ACUs).</p>"
}
},
"ComputeRedundancy": {
"target": "com.amazonaws.rds#IntegerOptional",
"traits": {
Expand Down Expand Up @@ -12137,19 +12149,19 @@
"SkipFinalSnapshot": {
"target": "com.amazonaws.rds#Boolean",
"traits": {
"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>"
"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>"
}
},
"FinalDBSnapshotIdentifier": {
"target": "com.amazonaws.rds#String",
"traits": {
"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>"
"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>"
}
},
"DeleteAutomatedBackups": {
"target": "com.amazonaws.rds#BooleanOptional",
"traits": {
"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>"
"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>"
}
}
},
Expand Down Expand Up @@ -13909,7 +13921,7 @@
"Source": {
"target": "com.amazonaws.rds#String",
"traits": {
"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>"
"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>"
}
},
"Filters": {
Expand Down Expand Up @@ -22882,6 +22894,12 @@
"traits": {
"smithy.api#documentation": "<p>The maximum capacity of the DB shard group in Aurora capacity units (ACUs).</p>"
}
},
"MinACU": {
"target": "com.amazonaws.rds#DoubleOptional",
"traits": {
"smithy.api#documentation": "<p>The minimum capacity of the DB shard group in Aurora capacity units (ACUs).</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -23780,13 +23798,13 @@
"DBSecurityGroupMemberships": {
"target": "com.amazonaws.rds#DBSecurityGroupNameList",
"traits": {
"smithy.api#documentation": "<p>A list of DBSecurityGroupMembership name strings used for this option.</p>"
"smithy.api#documentation": "<p>A list of DB security groups used for this option.</p>"
}
},
"VpcSecurityGroupMemberships": {
"target": "com.amazonaws.rds#VpcSecurityGroupIdList",
"traits": {
"smithy.api#documentation": "<p>A list of VpcSecurityGroupMembership name strings used for this option.</p>"
"smithy.api#documentation": "<p>A list of VPC security group names used for this option.</p>"
}
},
"OptionSettings": {
Expand All @@ -23797,7 +23815,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>A list of all available options</p>"
"smithy.api#documentation": "<p>A list of all available options for an option group.</p>"
}
},
"com.amazonaws.rds#OptionConfigurationList": {
Expand Down Expand Up @@ -30782,7 +30800,7 @@
}
},
"traits": {
"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>"
"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>"
}
},
"com.amazonaws.rds#TagList": {
Expand All @@ -30794,7 +30812,7 @@
}
},
"traits": {
"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>"
"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>"
}
},
"com.amazonaws.rds#TagListMessage": {
Expand Down
50 changes: 50 additions & 0 deletions codegen/sdk-codegen/aws-models/sagemaker.json
Original file line number Diff line number Diff line change
Expand Up @@ -2586,6 +2586,18 @@
"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>"
}
},
"com.amazonaws.sagemaker#AssumableRoleArns": {
"type": "list",
"member": {
"target": "com.amazonaws.sagemaker#RoleArn"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 5
}
}
},
"com.amazonaws.sagemaker#AsyncInferenceClientConfig": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -27145,6 +27157,26 @@
"smithy.api#pattern": "^\\d+$"
}
},
"com.amazonaws.sagemaker#EmrSettings": {
"type": "structure",
"members": {
"AssumableRoleArns": {
"target": "com.amazonaws.sagemaker#AssumableRoleArns",
"traits": {
"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>"
}
},
"ExecutionRoleArns": {
"target": "com.amazonaws.sagemaker#ExecutionRoleArns",
"traits": {
"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>"
}
}
},
"traits": {
"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>"
}
},
"com.amazonaws.sagemaker#EnableCapture": {
"type": "boolean"
},
Expand Down Expand Up @@ -27918,6 +27950,18 @@
}
}
},
"com.amazonaws.sagemaker#ExecutionRoleArns": {
"type": "list",
"member": {
"target": "com.amazonaws.sagemaker#RoleArn"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 5
}
}
},
"com.amazonaws.sagemaker#ExecutionRoleIdentityConfig": {
"type": "enum",
"members": {
Expand Down Expand Up @@ -35095,6 +35139,12 @@
"traits": {
"smithy.api#documentation": "<p>A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.</p>"
}
},
"EmrSettings": {
"target": "com.amazonaws.sagemaker#EmrSettings",
"traits": {
"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>"
}
}
},
"traits": {
Expand Down
Loading

0 comments on commit 5954703

Please sign in to comment.