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 Oct 8, 2024
1 parent 2ae553c commit 2c46d23
Show file tree
Hide file tree
Showing 201 changed files with 2,196 additions and 1,644 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[workspace]
resolver = "2"
exclude = [
"examples/examples",
"examples/test-utils",
"examples/webassembly",
"examples/lambda",
"examples/cross_service",
"tests/webassembly",
"tests/no-default-features"
"examples/test-utils",
"examples/webassembly",
"examples/examples",
"tests/no-default-features",
"tests/webassembly"
]
members = [
"sdk/accessanalyzer",
Expand Down
372 changes: 204 additions & 168 deletions aws-models/elasticache.json

Large diffs are not rendered by default.

60 changes: 51 additions & 9 deletions aws-models/memorydb.json
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@
"name": "memorydb"
},
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "<p>MemoryDB is a fully managed, Redis OSS-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures.\n \n MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis OSS, a popular open source data store, enabling you to leverage Redis OSS’ flexible and friendly data structures, APIs, and commands.</p>",
"smithy.api#documentation": "<p>MemoryDB for Redis is a fully managed, Redis-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures.\n \n MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis, a popular open source data store, enabling you to leverage Redis’ flexible and friendly data structures, APIs, and commands.</p>",
"smithy.api#title": "Amazon MemoryDB",
"smithy.api#xmlNamespace": {
"uri": "http://memorydb.amazonaws.com/doc/2021-01-01/"
Expand Down Expand Up @@ -1461,16 +1461,22 @@
"smithy.api#documentation": "<p>The cluster's node type</p>"
}
},
"Engine": {
"target": "com.amazonaws.memorydb#String",
"traits": {
"smithy.api#documentation": "<p>\n The Redis OSS or Valkey engine used by the cluster.</p>"
}
},
"EngineVersion": {
"target": "com.amazonaws.memorydb#String",
"traits": {
"smithy.api#documentation": "<p>The Redis OSS engine version used by the cluster</p>"
"smithy.api#documentation": "<p>The Redis engine version used by the cluster</p>"
}
},
"EnginePatchVersion": {
"target": "com.amazonaws.memorydb#String",
"traits": {
"smithy.api#documentation": "<p>The Redis OSS engine patch version used by the cluster</p>"
"smithy.api#documentation": "<p>The engine patch version used by the cluster</p>"
}
},
"ParameterGroupName": {
Expand Down Expand Up @@ -1606,10 +1612,16 @@
"smithy.api#documentation": "<p>The node type used for the cluster</p>"
}
},
"Engine": {
"target": "com.amazonaws.memorydb#String",
"traits": {
"smithy.api#documentation": "<p>The configuration for the Redis OSS or Valkey engine used by the cluster.</p>"
}
},
"EngineVersion": {
"target": "com.amazonaws.memorydb#String",
"traits": {
"smithy.api#documentation": "<p>The Redis OSS engine version used by the cluster</p>"
"smithy.api#documentation": "<p>The engine version used by the cluster</p>"
}
},
"MaintenanceWindow": {
Expand Down Expand Up @@ -2108,10 +2120,16 @@
"smithy.api#required": {}
}
},
"Engine": {
"target": "com.amazonaws.memorydb#String",
"traits": {
"smithy.api#documentation": "<p>The name of the engine to be used for the nodes in this cluster. The value must be set to either Redis or Valkey.</p>"
}
},
"EngineVersion": {
"target": "com.amazonaws.memorydb#String",
"traits": {
"smithy.api#documentation": "<p>The version number of the Redis OSS engine to be used for the cluster.</p>"
"smithy.api#documentation": "<p>The version number of the engine to be used for the cluster.</p>"
}
},
"AutoMinorVersionUpgrade": {
Expand Down Expand Up @@ -2593,7 +2611,7 @@
}
],
"traits": {
"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>"
"smithy.api#documentation": "<p>Deletes a cluster. It also deletes all associated nodes and node endpoints</p>"
}
},
"com.amazonaws.memorydb#DeleteClusterRequest": {
Expand Down Expand Up @@ -3027,7 +3045,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Returns a list of the available Redis OSS engine versions.</p>",
"smithy.api#documentation": "<p>Returns a list of the available engine versions.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
Expand All @@ -3039,10 +3057,16 @@
"com.amazonaws.memorydb#DescribeEngineVersionsRequest": {
"type": "structure",
"members": {
"Engine": {
"target": "com.amazonaws.memorydb#String",
"traits": {
"smithy.api#documentation": "<p>The engine version to return. Valid values are either valkey or redis.</p>"
}
},
"EngineVersion": {
"target": "com.amazonaws.memorydb#String",
"traits": {
"smithy.api#documentation": "<p>The Redis OSS engine version</p>"
"smithy.api#documentation": "<p>The engine version.</p>"
}
},
"ParameterGroupFamily": {
Expand Down Expand Up @@ -3926,6 +3950,12 @@
"com.amazonaws.memorydb#EngineVersionInfo": {
"type": "structure",
"members": {
"Engine": {
"target": "com.amazonaws.memorydb#String",
"traits": {
"smithy.api#documentation": "<p>The version of the Redis OSS or Valkey engine used by the cluster.</p>"
}
},
"EngineVersion": {
"target": "com.amazonaws.memorydb#String",
"traits": {
Expand All @@ -3946,7 +3976,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>Provides details of the Redis OSS engine version</p>"
"smithy.api#documentation": "<p>Provides details of the engine version.</p>"
}
},
"com.amazonaws.memorydb#EngineVersionInfoList": {
Expand Down Expand Up @@ -5370,6 +5400,12 @@
"smithy.api#documentation": "<p>Reflects the nature of the service update</p>"
}
},
"Engine": {
"target": "com.amazonaws.memorydb#String",
"traits": {
"smithy.api#documentation": "<p>The MemoryDB engine to which the update applies. The values are either Redis or Valkey.</p>"
}
},
"NodesUpdated": {
"target": "com.amazonaws.memorydb#String",
"traits": {
Expand Down Expand Up @@ -6505,6 +6541,12 @@
"smithy.api#documentation": "<p>A valid node type that you want to scale this cluster up or down to.</p>"
}
},
"Engine": {
"target": "com.amazonaws.memorydb#String",
"traits": {
"smithy.api#documentation": "<p>The name of the engine to be used for the nodes in this cluster. The value must be set to either Redis or Valkey.</p>"
}
},
"EngineVersion": {
"target": "com.amazonaws.memorydb#String",
"traits": {
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 @@ -21110,6 +21110,7 @@
"ap-east-1" : { },
"ap-northeast-1" : { },
"ap-northeast-2" : { },
"ap-northeast-3" : { },
"ap-south-1" : { },
"ap-southeast-1" : { },
"ap-southeast-2" : { },
Expand Down
2 changes: 1 addition & 1 deletion sdk/elasticache/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-elasticache"
version = "1.48.0"
version = "1.49.0"
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
description = "AWS SDK for Amazon ElastiCache"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion sdk/elasticache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,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-elasticache = "1.48.0"
aws-sdk-elasticache = "1.49.0"
tokio = { version = "1", features = ["full"] }
```

Expand Down
2 changes: 1 addition & 1 deletion sdk/elasticache/src/client/complete_migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ impl super::Client {
/// - [`replication_group_id(impl Into<String>)`](crate::operation::complete_migration::builders::CompleteMigrationFluentBuilder::replication_group_id) / [`set_replication_group_id(Option<String>)`](crate::operation::complete_migration::builders::CompleteMigrationFluentBuilder::set_replication_group_id):<br>required: **true**<br><p>The ID of the replication group to which data is being migrated.</p><br>
/// - [`force(bool)`](crate::operation::complete_migration::builders::CompleteMigrationFluentBuilder::force) / [`set_force(Option<bool>)`](crate::operation::complete_migration::builders::CompleteMigrationFluentBuilder::set_force):<br>required: **false**<br><p>Forces the migration to stop without ensuring that data is in sync. It is recommended to use this option only to abort the migration and not recommended when application wants to continue migration to ElastiCache.</p><br>
/// - On success, responds with [`CompleteMigrationOutput`](crate::operation::complete_migration::CompleteMigrationOutput) with field(s):
/// - [`replication_group(Option<ReplicationGroup>)`](crate::operation::complete_migration::CompleteMigrationOutput::replication_group): <p>Contains all of the attributes of a specific Redis OSS replication group.</p>
/// - [`replication_group(Option<ReplicationGroup>)`](crate::operation::complete_migration::CompleteMigrationOutput::replication_group): <p>Contains all of the attributes of a specific Valkey or Redis OSS replication group.</p>
/// - On failure, responds with [`SdkError<CompleteMigrationError>`](crate::operation::complete_migration::CompleteMigrationError)
pub fn complete_migration(&self) -> crate::operation::complete_migration::builders::CompleteMigrationFluentBuilder {
crate::operation::complete_migration::builders::CompleteMigrationFluentBuilder::new(self.handle.clone())
Expand Down
10 changes: 5 additions & 5 deletions sdk/elasticache/src/client/copy_serverless_cache_snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ impl super::Client {
/// Constructs a fluent builder for the [`CopyServerlessCacheSnapshot`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`source_serverless_cache_snapshot_name(impl Into<String>)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::source_serverless_cache_snapshot_name) / [`set_source_serverless_cache_snapshot_name(Option<String>)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::set_source_serverless_cache_snapshot_name):<br>required: **true**<br><p>The identifier of the existing serverless cache’s snapshot to be copied. Available for Redis OSS and Serverless Memcached only.</p><br>
/// - [`target_serverless_cache_snapshot_name(impl Into<String>)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::target_serverless_cache_snapshot_name) / [`set_target_serverless_cache_snapshot_name(Option<String>)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::set_target_serverless_cache_snapshot_name):<br>required: **true**<br><p>The identifier for the snapshot to be created. Available for Redis OSS and Serverless Memcached only.</p><br>
/// - [`kms_key_id(impl Into<String>)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::kms_key_id) / [`set_kms_key_id(Option<String>)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::set_kms_key_id):<br>required: **false**<br><p>The identifier of the KMS key used to encrypt the target snapshot. Available for Redis OSS and Serverless Memcached only.</p><br>
/// - [`tags(Tag)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::set_tags):<br>required: **false**<br><p>A list of tags to be added to the target snapshot resource. A tag is a key-value pair. Available for Redis OSS and Serverless Memcached only. Default: NULL</p><br>
/// - [`source_serverless_cache_snapshot_name(impl Into<String>)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::source_serverless_cache_snapshot_name) / [`set_source_serverless_cache_snapshot_name(Option<String>)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::set_source_serverless_cache_snapshot_name):<br>required: **true**<br><p>The identifier of the existing serverless cache’s snapshot to be copied. Available for Valkey, Redis OSS and Serverless Memcached only.</p><br>
/// - [`target_serverless_cache_snapshot_name(impl Into<String>)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::target_serverless_cache_snapshot_name) / [`set_target_serverless_cache_snapshot_name(Option<String>)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::set_target_serverless_cache_snapshot_name):<br>required: **true**<br><p>The identifier for the snapshot to be created. Available for Valkey, Redis OSS and Serverless Memcached only.</p><br>
/// - [`kms_key_id(impl Into<String>)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::kms_key_id) / [`set_kms_key_id(Option<String>)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::set_kms_key_id):<br>required: **false**<br><p>The identifier of the KMS key used to encrypt the target snapshot. Available for Valkey, Redis OSS and Serverless Memcached only.</p><br>
/// - [`tags(Tag)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder::set_tags):<br>required: **false**<br><p>A list of tags to be added to the target snapshot resource. A tag is a key-value pair. Available for Valkey, Redis OSS and Serverless Memcached only. Default: NULL</p><br>
/// - On success, responds with [`CopyServerlessCacheSnapshotOutput`](crate::operation::copy_serverless_cache_snapshot::CopyServerlessCacheSnapshotOutput) with field(s):
/// - [`serverless_cache_snapshot(Option<ServerlessCacheSnapshot>)`](crate::operation::copy_serverless_cache_snapshot::CopyServerlessCacheSnapshotOutput::serverless_cache_snapshot): <p>The response for the attempt to copy the serverless cache snapshot. Available for Redis OSS and Serverless Memcached only.</p>
/// - [`serverless_cache_snapshot(Option<ServerlessCacheSnapshot>)`](crate::operation::copy_serverless_cache_snapshot::CopyServerlessCacheSnapshotOutput::serverless_cache_snapshot): <p>The response for the attempt to copy the serverless cache snapshot. Available for Valkey, Redis OSS and Serverless Memcached only.</p>
/// - On failure, responds with [`SdkError<CopyServerlessCacheSnapshotError>`](crate::operation::copy_serverless_cache_snapshot::CopyServerlessCacheSnapshotError)
pub fn copy_serverless_cache_snapshot(
&self,
Expand Down
2 changes: 1 addition & 1 deletion sdk/elasticache/src/client/copy_snapshot.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::copy_snapshot::builders::CopySnapshotFluentBuilder::kms_key_id) / [`set_kms_key_id(Option<String>)`](crate::operation::copy_snapshot::builders::CopySnapshotFluentBuilder::set_kms_key_id):<br>required: **false**<br><p>The ID of the KMS key used to encrypt the target snapshot.</p><br>
/// - [`tags(Tag)`](crate::operation::copy_snapshot::builders::CopySnapshotFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::copy_snapshot::builders::CopySnapshotFluentBuilder::set_tags):<br>required: **false**<br><p>A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.</p><br>
/// - On success, responds with [`CopySnapshotOutput`](crate::operation::copy_snapshot::CopySnapshotOutput) with field(s):
/// - [`snapshot(Option<Snapshot>)`](crate::operation::copy_snapshot::CopySnapshotOutput::snapshot): <p>Represents a copy of an entire Redis OSS cluster as of the time when the snapshot was taken.</p>
/// - [`snapshot(Option<Snapshot>)`](crate::operation::copy_snapshot::CopySnapshotOutput::snapshot): <p>Represents a copy of an entire Valkey or Redis OSS cluster as of the time when the snapshot was taken.</p>
/// - On failure, responds with [`SdkError<CopySnapshotError>`](crate::operation::copy_snapshot::CopySnapshotError)
pub fn copy_snapshot(&self) -> crate::operation::copy_snapshot::builders::CopySnapshotFluentBuilder {
crate::operation::copy_snapshot::builders::CopySnapshotFluentBuilder::new(self.handle.clone())
Expand Down
Loading

0 comments on commit 2c46d23

Please sign in to comment.