Skip to content

Commit 716af2e

Browse files
Update SDK models
1 parent 5b4b1da commit 716af2e

File tree

62 files changed

+1004
-504
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1004
-504
lines changed

aws-models/bedrock-runtime.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6188,6 +6188,12 @@
61886188
"traits": {
61896189
"smithy.api#enumValue": "flex"
61906190
}
6191+
},
6192+
"RESERVED": {
6193+
"target": "smithy.api#Unit",
6194+
"traits": {
6195+
"smithy.api#enumValue": "reserved"
6196+
}
61916197
}
61926198
}
61936199
},

aws-models/compute-optimizer.json

Lines changed: 121 additions & 67 deletions
Large diffs are not rendered by default.

aws-models/cost-optimization-hub.json

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2689,6 +2689,55 @@
26892689
"target": "com.amazonaws.costoptimizationhub#MixedInstanceConfiguration"
26902690
}
26912691
},
2692+
"com.amazonaws.costoptimizationhub#NatGateway": {
2693+
"type": "structure",
2694+
"members": {
2695+
"configuration": {
2696+
"target": "com.amazonaws.costoptimizationhub#NatGatewayConfiguration",
2697+
"traits": {
2698+
"smithy.api#documentation": "<p>The NAT Gateway configuration used for recommendations.</p>"
2699+
}
2700+
},
2701+
"costCalculation": {
2702+
"target": "com.amazonaws.costoptimizationhub#ResourceCostCalculation"
2703+
}
2704+
},
2705+
"traits": {
2706+
"smithy.api#documentation": "<p>The NAT Gateway recommendation details.</p>",
2707+
"smithy.api#tags": [
2708+
"nat_gateway"
2709+
]
2710+
}
2711+
},
2712+
"com.amazonaws.costoptimizationhub#NatGatewayConfiguration": {
2713+
"type": "structure",
2714+
"members": {
2715+
"activeConnectionCount": {
2716+
"target": "smithy.api#Long",
2717+
"traits": {
2718+
"smithy.api#documentation": "<p>The number of active connections through the NAT Gateway.</p>"
2719+
}
2720+
},
2721+
"packetsInFromSource": {
2722+
"target": "smithy.api#Long",
2723+
"traits": {
2724+
"smithy.api#documentation": "<p>The number of packets received from the source through the NAT Gateway.</p>"
2725+
}
2726+
},
2727+
"packetsInFromDestination": {
2728+
"target": "smithy.api#Long",
2729+
"traits": {
2730+
"smithy.api#documentation": "<p>The number of packets received from the destination through the NAT Gateway.</p>"
2731+
}
2732+
}
2733+
},
2734+
"traits": {
2735+
"smithy.api#documentation": "<p>The NAT Gateway configuration used for recommendations.</p>",
2736+
"smithy.api#tags": [
2737+
"nat_gateway"
2738+
]
2739+
}
2740+
},
26922741
"com.amazonaws.costoptimizationhub#OpenSearchReservedInstances": {
26932742
"type": "structure",
26942743
"members": {
@@ -3569,6 +3618,15 @@
35693618
"traits": {
35703619
"smithy.api#documentation": "<p>The MemoryDB reserved instances recommendation details.</p>"
35713620
}
3621+
},
3622+
"natGateway": {
3623+
"target": "com.amazonaws.costoptimizationhub#NatGateway",
3624+
"traits": {
3625+
"smithy.api#documentation": "<p>The NAT Gateway recommendation details.</p>",
3626+
"smithy.api#tags": [
3627+
"nat_gateway"
3628+
]
3629+
}
35723630
}
35733631
},
35743632
"traits": {
@@ -3752,6 +3810,15 @@
37523810
"traits": {
37533811
"smithy.api#enumValue": "MemoryDbReservedInstances"
37543812
}
3813+
},
3814+
"NAT_GATEWAY": {
3815+
"target": "smithy.api#Unit",
3816+
"traits": {
3817+
"smithy.api#enumValue": "NatGateway",
3818+
"smithy.api#tags": [
3819+
"nat_gateway"
3820+
]
3821+
}
37553822
}
37563823
}
37573824
},

sdk/bedrockruntime/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
22
[package]
33
name = "aws-sdk-bedrockruntime"
4-
version = "1.117.0"
4+
version = "1.118.0"
55
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
66
description = "AWS SDK for Amazon Bedrock Runtime"
77
edition = "2021"

sdk/bedrockruntime/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ your project, add the following to your **Cargo.toml** file:
1414
```toml
1515
[dependencies]
1616
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
17-
aws-sdk-bedrockruntime = "1.117.0"
17+
aws-sdk-bedrockruntime = "1.118.0"
1818
tokio = { version = "1", features = ["full"] }
1919
```
2020

sdk/bedrockruntime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
//! ```toml
3434
//! [dependencies]
3535
//! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
36-
//! aws-sdk-bedrockruntime = "1.117.0"
36+
//! aws-sdk-bedrockruntime = "1.118.0"
3737
//! tokio = { version = "1", features = ["full"] }
3838
//! ```
3939
//!

sdk/bedrockruntime/src/types/_service_tier_type.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
/// ServiceTierType::Default => { /* ... */ },
1616
/// ServiceTierType::Flex => { /* ... */ },
1717
/// ServiceTierType::Priority => { /* ... */ },
18+
/// ServiceTierType::Reserved => { /* ... */ },
1819
/// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ },
1920
/// _ => { /* ... */ },
2021
/// }
@@ -49,6 +50,8 @@ pub enum ServiceTierType {
4950
Flex,
5051
#[allow(missing_docs)] // documentation missing in model
5152
Priority,
53+
#[allow(missing_docs)] // documentation missing in model
54+
Reserved,
5255
/// `Unknown` contains new variants that have been added since this code was generated.
5356
#[deprecated(note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants.")]
5457
Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue),
@@ -59,6 +62,7 @@ impl ::std::convert::From<&str> for ServiceTierType {
5962
"default" => ServiceTierType::Default,
6063
"flex" => ServiceTierType::Flex,
6164
"priority" => ServiceTierType::Priority,
65+
"reserved" => ServiceTierType::Reserved,
6266
other => ServiceTierType::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())),
6367
}
6468
}
@@ -77,12 +81,13 @@ impl ServiceTierType {
7781
ServiceTierType::Default => "default",
7882
ServiceTierType::Flex => "flex",
7983
ServiceTierType::Priority => "priority",
84+
ServiceTierType::Reserved => "reserved",
8085
ServiceTierType::Unknown(value) => value.as_str(),
8186
}
8287
}
8388
/// Returns all the `&str` representations of the enum members.
8489
pub const fn values() -> &'static [&'static str] {
85-
&["default", "flex", "priority"]
90+
&["default", "flex", "priority", "reserved"]
8691
}
8792
}
8893
impl ::std::convert::AsRef<str> for ServiceTierType {
@@ -108,6 +113,7 @@ impl ::std::fmt::Display for ServiceTierType {
108113
ServiceTierType::Default => write!(f, "default"),
109114
ServiceTierType::Flex => write!(f, "flex"),
110115
ServiceTierType::Priority => write!(f, "priority"),
116+
ServiceTierType::Reserved => write!(f, "reserved"),
111117
ServiceTierType::Unknown(value) => write!(f, "{value}"),
112118
}
113119
}

sdk/computeoptimizer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
22
[package]
33
name = "aws-sdk-computeoptimizer"
4-
version = "1.94.0"
4+
version = "1.95.0"
55
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
66
description = "AWS SDK for AWS Compute Optimizer"
77
edition = "2021"

sdk/computeoptimizer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ your project, add the following to your **Cargo.toml** file:
1414
```toml
1515
[dependencies]
1616
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
17-
aws-sdk-computeoptimizer = "1.94.0"
17+
aws-sdk-computeoptimizer = "1.95.0"
1818
tokio = { version = "1", features = ["full"] }
1919
```
2020

sdk/computeoptimizer/src/client/delete_recommendation_preferences.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ impl super::Client {
33
/// Constructs a fluent builder for the [`DeleteRecommendationPreferences`](crate::operation::delete_recommendation_preferences::builders::DeleteRecommendationPreferencesFluentBuilder) operation.
44
///
55
/// - The fluent builder is configurable:
6-
/// - [`resource_type(ResourceType)`](crate::operation::delete_recommendation_preferences::builders::DeleteRecommendationPreferencesFluentBuilder::resource_type) / [`set_resource_type(Option<ResourceType>)`](crate::operation::delete_recommendation_preferences::builders::DeleteRecommendationPreferencesFluentBuilder::set_resource_type):<br>required: **true**<br><p>The target resource type of the recommendation preference to delete.</p> <p>The <code>Ec2Instance</code> option encompasses standalone instances and instances that are part of Auto Scaling groups. The <code>AutoScalingGroup</code> option encompasses only instances that are part of an Auto Scaling group.</p><br>
6+
/// - [`resource_type(ResourceType)`](crate::operation::delete_recommendation_preferences::builders::DeleteRecommendationPreferencesFluentBuilder::resource_type) / [`set_resource_type(Option<ResourceType>)`](crate::operation::delete_recommendation_preferences::builders::DeleteRecommendationPreferencesFluentBuilder::set_resource_type):<br>required: **true**<br><p>The target resource type of the recommendation preference to delete.</p> <p>The <code>Ec2Instance</code> option encompasses standalone instances and instances that are part of Amazon EC2 Auto Scaling groups. The <code>AutoScalingGroup</code> option encompasses only instances that are part of an Amazon EC2 Auto Scaling group.</p><br>
77
/// - [`scope(Scope)`](crate::operation::delete_recommendation_preferences::builders::DeleteRecommendationPreferencesFluentBuilder::scope) / [`set_scope(Option<Scope>)`](crate::operation::delete_recommendation_preferences::builders::DeleteRecommendationPreferencesFluentBuilder::set_scope):<br>required: **false**<br><p>An object that describes the scope of the recommendation preference to delete.</p> <p>You can delete recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating enhanced infrastructure metrics</a> in the <i>Compute Optimizer User Guide</i>.</p><br>
88
/// - [`recommendation_preference_names(RecommendationPreferenceName)`](crate::operation::delete_recommendation_preferences::builders::DeleteRecommendationPreferencesFluentBuilder::recommendation_preference_names) / [`set_recommendation_preference_names(Option<Vec::<RecommendationPreferenceName>>)`](crate::operation::delete_recommendation_preferences::builders::DeleteRecommendationPreferencesFluentBuilder::set_recommendation_preference_names):<br>required: **true**<br><p>The name of the recommendation preference to delete.</p><br>
99
/// - On success, responds with [`DeleteRecommendationPreferencesOutput`](crate::operation::delete_recommendation_preferences::DeleteRecommendationPreferencesOutput)

0 commit comments

Comments
 (0)