Skip to content

Commit

Permalink
Update SDK models
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-rust-ci committed Feb 5, 2025
1 parent 123a240 commit f17e38b
Show file tree
Hide file tree
Showing 23 changed files with 61 additions and 475 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
resolver = "2"
exclude = [
"examples/examples",
"examples/webassembly",
"examples/cross_service",
"examples/webassembly",
"examples/lambda",
"examples/test-utils",
"tests/no-default-features",
Expand Down
14 changes: 7 additions & 7 deletions aws-models/rds.json
Original file line number Diff line number Diff line change
Expand Up @@ -5782,7 +5782,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a new DB parameter group.</p>\n <p>A DB parameter group is initially created with the default parameters for the\n database engine used by the DB instance. To provide custom values for any of the\n parameters, you must modify the group after creating it using\n <code>ModifyDBParameterGroup</code>. Once you've created a DB parameter group, you need to\n associate it with your DB instance using <code>ModifyDBInstance</code>. When you associate\n a new DB parameter group with a running DB instance, you need to reboot the DB\n instance without failover for the new DB parameter group and associated settings to take effect.</p>\n <p>This command doesn't apply to RDS Custom.</p>\n <important>\n <p>After you create a DB parameter group, you should wait at least 5 minutes\n before creating your first DB instance that uses that DB parameter group as the default parameter \n group. This allows Amazon RDS to fully complete the create action before the parameter \n group is used as the default for a new DB instance. This is especially important for parameters \n that are critical when creating the default database for a DB instance, such as the character set \n for the default database defined by the <code>character_set_database</code> parameter. You can use the \n <i>Parameter Groups</i> option of the <a href=\"https://console.aws.amazon.com/rds/\">Amazon RDS console</a> or the \n <i>DescribeDBParameters</i> command to verify \n that your DB parameter group has been created or modified.</p>\n </important>",
"smithy.api#documentation": "<p>Creates a new DB parameter group.</p>\n <p>A DB parameter group is initially created with the default parameters for the\n database engine used by the DB instance. To provide custom values for any of the\n parameters, you must modify the group after creating it using\n <code>ModifyDBParameterGroup</code>. Once you've created a DB parameter group, you need to\n associate it with your DB instance using <code>ModifyDBInstance</code>. When you associate\n a new DB parameter group with a running DB instance, you need to reboot the DB\n instance without failover for the new DB parameter group and associated settings to take effect.</p>\n <p>This command doesn't apply to RDS Custom.</p>",
"smithy.api#examples": [
{
"title": "To create a DB parameter group",
Expand Down Expand Up @@ -6802,7 +6802,7 @@
"DataFilter": {
"target": "com.amazonaws.rds#DataFilter",
"traits": {
"smithy.api#documentation": "<p>Data filtering options for the integration. For more information, see \n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/zero-etl.filtering.html\">Data filtering for Aurora zero-ETL integrations with Amazon Redshift</a>.\n </p>\n <p>Valid for: Integrations with Aurora MySQL source DB clusters only</p>"
"smithy.api#documentation": "<p>Data filtering options for the integration. For more information, see \n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/zero-etl.filtering.html\">Data filtering for Aurora zero-ETL integrations with Amazon Redshift</a>\n or\n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/zero-etl.filtering.html\">Data filtering for Amazon RDS zero-ETL integrations with Amazon Redshift</a>.\n </p>"
}
},
"Description": {
Expand Down Expand Up @@ -7156,7 +7156,7 @@
"AllocatedStorage": {
"target": "com.amazonaws.rds#IntegerOptional",
"traits": {
"smithy.api#documentation": "<p>For all database engines except Amazon Aurora, <code>AllocatedStorage</code> specifies the allocated storage size in gibibytes (GiB). \n For Aurora, <code>AllocatedStorage</code> always returns 1, because Aurora DB cluster storage size isn't fixed, but instead automatically\n adjusts as needed.</p>"
"smithy.api#documentation": "<p>\n <code>AllocatedStorage</code> specifies the allocated storage size in gibibytes (GiB). \n For Aurora, <code>AllocatedStorage</code> can vary because Aurora DB cluster storage size adjusts as needed.</p>"
}
},
"AvailabilityZones": {
Expand Down Expand Up @@ -12311,7 +12311,7 @@
"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.</p>"
"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, unless the Amazon Web Services Backup \n policy specifies a point-in-time restore rule.</p>"
}
}
},
Expand Down Expand Up @@ -22944,7 +22944,7 @@
"NewName": {
"target": "com.amazonaws.rds#String",
"traits": {
"smithy.api#documentation": "<p>The new name for the modified <code>DBProxyTarget</code>. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.</p>"
"smithy.api#documentation": "<p>The new name for the modified <code>DBProxyTarget</code>. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.</p>\n <p>You can't rename the <code>default</code> target group.</p>"
}
}
},
Expand Down Expand Up @@ -23641,7 +23641,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Modifies a zero-ETL integration with Amazon Redshift.</p>\n <note>\n <p>Currently, you can only modify integrations that have Aurora MySQL source DB clusters. Integrations with Aurora PostgreSQL and RDS sources currently don't support modifying the integration.</p>\n </note>",
"smithy.api#documentation": "<p>Modifies a zero-ETL integration with Amazon Redshift.</p>",
"smithy.api#examples": [
{
"title": "To modify a zero-ETL integration",
Expand Down Expand Up @@ -23685,7 +23685,7 @@
"DataFilter": {
"target": "com.amazonaws.rds#DataFilter",
"traits": {
"smithy.api#documentation": "<p>A new data filter for the integration. For more information, see \n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Zero_ETL_Filtering.html\">Data filtering for Aurora zero-ETL integrations with Amazon Redshift</a>.</p>"
"smithy.api#documentation": "<p>A new data filter for the integration. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Zero_ETL_Filtering.html\">Data filtering\n for Aurora zero-ETL integrations with Amazon Redshift</a> or <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/zero-etl.filtering.html\">Data\n filtering for Amazon RDS zero-ETL integrations with Amazon Redshift</a>.</p>"
}
},
"Description": {
Expand Down
1 change: 1 addition & 0 deletions aws-models/sdk-endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -3395,6 +3395,7 @@
},
"cassandra" : {
"endpoints" : {
"af-south-1" : { },
"ap-east-1" : { },
"ap-northeast-1" : { },
"ap-northeast-2" : { },
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/aurora/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tracing = "0.1.37"
aws-config= { version = "1.5.16", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-smithy-types= { version = "1.2.13", path = "../../../sdk/aws-smithy-types" }
aws-smithy-runtime-api= { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime-api" }
aws-sdk-rds= { version = "1.77.0", path = "../../../sdk/rds" }
aws-sdk-rds= { version = "1.77.1", path = "../../../sdk/rds" }

[dependencies.phf]
version = "0.11.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/rds/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ secrecy = "0.8.0"
tracing = "0.1.37"
aws-config= { version = "1.5.16", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-smithy-runtime-api= { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime-api" }
aws-sdk-rds= { version = "1.77.0", path = "../../../sdk/rds" }
aws-sdk-rds= { version = "1.77.1", path = "../../../sdk/rds" }

[dependencies.clap]
version = "4.4"
Expand Down
2 changes: 1 addition & 1 deletion sdk/rds/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-rds"
version = "1.77.0"
version = "1.77.1"
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
description = "AWS SDK for Amazon Relational Database Service"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion sdk/rds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ your project, add the following to your **Cargo.toml** file:
```toml
[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
aws-sdk-rds = "1.77.0"
aws-sdk-rds = "1.77.1"
tokio = { version = "1", features = ["full"] }
```

Expand Down
2 changes: 1 addition & 1 deletion sdk/rds/src/client/create_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ impl super::Client {
/// - [`kms_key_id(impl Into<String>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::kms_key_id) / [`set_kms_key_id(Option<String>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_kms_key_id):<br>required: **false**<br><p>The Amazon Web Services Key Management System (Amazon Web Services KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, RDS uses a default Amazon Web Services owned key.</p><br>
/// - [`additional_encryption_context(impl Into<String>, impl Into<String>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::additional_encryption_context) / [`set_additional_encryption_context(Option<HashMap::<String, String>>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_additional_encryption_context):<br>required: **false**<br><p>An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context">Encryption context</a> in the <i>Amazon Web Services Key Management Service Developer Guide</i>.</p> <p>You can only include this parameter if you specify the <code>KMSKeyId</code> parameter.</p><br>
/// - [`tags(Tag)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_tags):<br>required: **false**<br><p>A list of tags.</p> <p>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> 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>.</p><br>
/// - [`data_filter(impl Into<String>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::data_filter) / [`set_data_filter(Option<String>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_data_filter):<br>required: **false**<br><p>Data filtering options for the integration. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/zero-etl.filtering.html">Data filtering for Aurora zero-ETL integrations with Amazon Redshift</a>.</p> <p>Valid for: Integrations with Aurora MySQL source DB clusters only</p><br>
/// - [`data_filter(impl Into<String>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::data_filter) / [`set_data_filter(Option<String>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_data_filter):<br>required: **false**<br><p>Data filtering options for the integration. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/zero-etl.filtering.html">Data filtering for Aurora zero-ETL integrations with Amazon Redshift</a> or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/zero-etl.filtering.html">Data filtering for Amazon RDS zero-ETL integrations with Amazon Redshift</a>.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_description):<br>required: **false**<br><p>A description of the integration.</p><br>
/// - On success, responds with [`CreateIntegrationOutput`](crate::operation::create_integration::CreateIntegrationOutput) with field(s):
/// - [`source_arn(Option<String>)`](crate::operation::create_integration::CreateIntegrationOutput::source_arn): <p>The Amazon Resource Name (ARN) of the database used as the source for replication.</p>
Expand Down
2 changes: 1 addition & 1 deletion sdk/rds/src/client/delete_db_cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ impl super::Client {
/// - [`db_cluster_identifier(impl Into<String>)`](crate::operation::delete_db_cluster::builders::DeleteDBClusterFluentBuilder::db_cluster_identifier) / [`set_db_cluster_identifier(Option<String>)`](crate::operation::delete_db_cluster::builders::DeleteDBClusterFluentBuilder::set_db_cluster_identifier):<br>required: **true**<br><p>The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.</p> <p>Constraints:</p> <ul> <li> <p>Must match an existing DBClusterIdentifier.</p></li> </ul><br>
/// - [`skip_final_snapshot(bool)`](crate::operation::delete_db_cluster::builders::DeleteDBClusterFluentBuilder::skip_final_snapshot) / [`set_skip_final_snapshot(Option<bool>)`](crate::operation::delete_db_cluster::builders::DeleteDBClusterFluentBuilder::set_skip_final_snapshot):<br>required: **false**<br><p>Specifies whether to skip the creation of a final DB cluster snapshot before RDS deletes the DB cluster. If you set this value to <code>true</code>, RDS doesn't create a final DB cluster snapshot. If you set this value to <code>false</code> or don't specify it, RDS creates a DB cluster snapshot before it deletes the DB cluster. By default, this parameter is disabled, so RDS creates a final DB cluster snapshot.</p><note> <p>If <code>SkipFinalSnapshot</code> is disabled, you must specify a value for the <code>FinalDBSnapshotIdentifier</code> parameter.</p> </note><br>
/// - [`final_db_snapshot_identifier(impl Into<String>)`](crate::operation::delete_db_cluster::builders::DeleteDBClusterFluentBuilder::final_db_snapshot_identifier) / [`set_final_db_snapshot_identifier(Option<String>)`](crate::operation::delete_db_cluster::builders::DeleteDBClusterFluentBuilder::set_final_db_snapshot_identifier):<br>required: **false**<br><p>The DB cluster snapshot identifier of the new DB cluster snapshot created when <code>SkipFinalSnapshot</code> is disabled.</p><note> <p>If you specify this parameter and also skip the creation of a final DB cluster snapshot with the <code>SkipFinalShapshot</code> parameter, the request results in an error.</p> </note> <p>Constraints:</p> <ul> <li> <p>Must be 1 to 255 letters, numbers, or hyphens.</p></li> <li> <p>First character must be a letter</p></li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens</p></li> </ul><br>
/// - [`delete_automated_backups(bool)`](crate::operation::delete_db_cluster::builders::DeleteDBClusterFluentBuilder::delete_automated_backups) / [`set_delete_automated_backups(Option<bool>)`](crate::operation::delete_db_cluster::builders::DeleteDBClusterFluentBuilder::set_delete_automated_backups):<br>required: **false**<br><p>Specifies whether to remove automated backups immediately after the DB cluster is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB cluster is deleted.</p><br>
/// - [`delete_automated_backups(bool)`](crate::operation::delete_db_cluster::builders::DeleteDBClusterFluentBuilder::delete_automated_backups) / [`set_delete_automated_backups(Option<bool>)`](crate::operation::delete_db_cluster::builders::DeleteDBClusterFluentBuilder::set_delete_automated_backups):<br>required: **false**<br><p>Specifies whether to remove automated backups immediately after the DB cluster is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB cluster is deleted, unless the Amazon Web Services Backup policy specifies a point-in-time restore rule.</p><br>
/// - On success, responds with [`DeleteDbClusterOutput`](crate::operation::delete_db_cluster::DeleteDbClusterOutput) with field(s):
/// - [`db_cluster(Option<DbCluster>)`](crate::operation::delete_db_cluster::DeleteDbClusterOutput::db_cluster): <p>Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB cluster.</p> <p>For an Amazon Aurora DB cluster, this data type is used as a response element in the operations <code>CreateDBCluster</code>, <code>DeleteDBCluster</code>, <code>DescribeDBClusters</code>, <code>FailoverDBCluster</code>, <code>ModifyDBCluster</code>, <code>PromoteReadReplicaDBCluster</code>, <code>RestoreDBClusterFromS3</code>, <code>RestoreDBClusterFromSnapshot</code>, <code>RestoreDBClusterToPointInTime</code>, <code>StartDBCluster</code>, and <code>StopDBCluster</code>.</p> <p>For a Multi-AZ DB cluster, this data type is used as a response element in the operations <code>CreateDBCluster</code>, <code>DeleteDBCluster</code>, <code>DescribeDBClusters</code>, <code>FailoverDBCluster</code>, <code>ModifyDBCluster</code>, <code>RebootDBCluster</code>, <code>RestoreDBClusterFromSnapshot</code>, and <code>RestoreDBClusterToPointInTime</code>.</p> <p>For more information on Amazon Aurora DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html"> What is Amazon Aurora?</a> in the <i>Amazon Aurora User Guide.</i></p> <p>For more information on Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html"> Multi-AZ deployments with two readable standby DB instances</a> in the <i>Amazon RDS User Guide.</i></p>
/// - On failure, responds with [`SdkError<DeleteDBClusterError>`](crate::operation::delete_db_cluster::DeleteDBClusterError)
Expand Down
Loading

0 comments on commit f17e38b

Please sign in to comment.