Skip to content

Commit f739f41

Browse files
Update SDK models
1 parent 1175ed5 commit f739f41

File tree

30 files changed

+863
-156
lines changed

30 files changed

+863
-156
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[workspace]
22
resolver = "2"
33
exclude = [
4-
"examples/examples",
4+
"examples/test-utils",
5+
"examples/cross_service",
56
"examples/lambda",
7+
"examples/examples",
68
"examples/webassembly",
7-
"examples/cross_service",
8-
"examples/test-utils",
99
"tests/telemetry",
10-
"tests/webassembly",
11-
"tests/no-default-features"
10+
"tests/no-default-features",
11+
"tests/webassembly"
1212
]
1313
members = [
1414
"sdk/accessanalyzer",

aws-models/bedrock-data-automation.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3016,6 +3016,12 @@
30163016
"traits": {
30173017
"smithy.api#enumValue": "IMAGE"
30183018
}
3019+
},
3020+
"AUDIO": {
3021+
"target": "smithy.api#Unit",
3022+
"traits": {
3023+
"smithy.api#enumValue": "AUDIO"
3024+
}
30193025
}
30203026
},
30213027
"traits": {

aws-models/directory-service.json

Lines changed: 773 additions & 109 deletions
Large diffs are not rendered by default.

aws-models/kinesis.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6236,6 +6236,7 @@
62366236
"target": "com.amazonaws.kinesis#ResourceARN",
62376237
"traits": {
62386238
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Kinesis resource for which to list tags.</p>",
6239+
"smithy.api#required": {},
62396240
"smithy.rules#contextParam": {
62406241
"name": "ResourceARN"
62416242
}
@@ -8242,6 +8243,7 @@
82428243
"target": "com.amazonaws.kinesis#ResourceARN",
82438244
"traits": {
82448245
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Kinesis resource to which to add tags.</p>",
8246+
"smithy.api#required": {},
82458247
"smithy.rules#contextParam": {
82468248
"name": "ResourceARN"
82478249
}
@@ -8312,6 +8314,7 @@
83128314
"target": "com.amazonaws.kinesis#ResourceARN",
83138315
"traits": {
83148316
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Kinesis resource from which to remove tags.</p>",
8317+
"smithy.api#required": {},
83158318
"smithy.rules#contextParam": {
83168319
"name": "ResourceARN"
83178320
}

aws-models/sdk-endpoints.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30311,6 +30311,12 @@
3031130311
"isRegionalized" : false,
3031230312
"partitionEndpoint" : "aws-cn-global"
3031330313
},
30314+
"route53profiles" : {
30315+
"endpoints" : {
30316+
"cn-north-1" : { },
30317+
"cn-northwest-1" : { }
30318+
}
30319+
},
3031430320
"route53resolver" : {
3031530321
"defaults" : {
3031630322
"protocols" : [ "https" ]
@@ -37432,6 +37438,12 @@
3743237438
}
3743337439
}
3743437440
},
37441+
"securityhub" : {
37442+
"endpoints" : {
37443+
"us-iso-east-1" : { },
37444+
"us-iso-west-1" : { }
37445+
}
37446+
},
3743537447
"servicediscovery" : {
3743637448
"endpoints" : {
3743737449
"us-iso-east-1" : { },

examples/examples/kinesis/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = false
88

99
[dependencies]
1010
aws-config= { version = "1.6.2", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
11-
aws-sdk-kinesis= { version = "1.68.0", path = "../../../sdk/kinesis" }
11+
aws-sdk-kinesis= { version = "1.69.0", path = "../../../sdk/kinesis" }
1212

1313
[dependencies.tokio]
1414
version = "1.20.1"

sdk/bedrockdataautomation/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-bedrockdataautomation"
4-
version = "1.16.0"
4+
version = "1.17.0"
55
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
66
description = "AWS SDK for Data Automation for Amazon Bedrock"
77
edition = "2021"

sdk/bedrockdataautomation/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-bedrockdataautomation = "1.16.0"
17+
aws-sdk-bedrockdataautomation = "1.17.0"
1818
tokio = { version = "1", features = ["full"] }
1919
```
2020

sdk/bedrockdataautomation/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
//! ```toml
3232
//! [dependencies]
3333
//! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
34-
//! aws-sdk-bedrockdataautomation = "1.16.0"
34+
//! aws-sdk-bedrockdataautomation = "1.17.0"
3535
//! tokio = { version = "1", features = ["full"] }
3636
//! ```
3737
//!

sdk/bedrockdataautomation/src/types/_type_.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
/// ```text
1313
/// # let type = unimplemented!();
1414
/// match type {
15+
/// Type::Audio => { /* ... */ },
1516
/// Type::Document => { /* ... */ },
1617
/// Type::Image => { /* ... */ },
1718
/// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ },
@@ -42,6 +43,8 @@
4243
::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::Ord, ::std::cmp::PartialEq, ::std::cmp::PartialOrd, ::std::fmt::Debug, ::std::hash::Hash,
4344
)]
4445
pub enum Type {
46+
#[allow(missing_docs)] // documentation missing in model
47+
Audio,
4548
#[allow(missing_docs)] // documentation missing in model
4649
Document,
4750
#[allow(missing_docs)] // documentation missing in model
@@ -53,6 +56,7 @@ pub enum Type {
5356
impl ::std::convert::From<&str> for Type {
5457
fn from(s: &str) -> Self {
5558
match s {
59+
"AUDIO" => Type::Audio,
5660
"DOCUMENT" => Type::Document,
5761
"IMAGE" => Type::Image,
5862
other => Type::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())),
@@ -70,14 +74,15 @@ impl Type {
7074
/// Returns the `&str` value of the enum member.
7175
pub fn as_str(&self) -> &str {
7276
match self {
77+
Type::Audio => "AUDIO",
7378
Type::Document => "DOCUMENT",
7479
Type::Image => "IMAGE",
7580
Type::Unknown(value) => value.as_str(),
7681
}
7782
}
7883
/// Returns all the `&str` representations of the enum members.
7984
pub const fn values() -> &'static [&'static str] {
80-
&["DOCUMENT", "IMAGE"]
85+
&["AUDIO", "DOCUMENT", "IMAGE"]
8186
}
8287
}
8388
impl ::std::convert::AsRef<str> for Type {
@@ -100,6 +105,7 @@ impl Type {
100105
impl ::std::fmt::Display for Type {
101106
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
102107
match self {
108+
Type::Audio => write!(f, "AUDIO"),
103109
Type::Document => write!(f, "DOCUMENT"),
104110
Type::Image => write!(f, "IMAGE"),
105111
Type::Unknown(value) => write!(f, "{}", value),

0 commit comments

Comments
 (0)