Skip to content

Commit 6e02684

Browse files
Update SDK models
1 parent 10c7e5d commit 6e02684

File tree

10 files changed

+32
-119
lines changed

10 files changed

+32
-119
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[workspace]
22
exclude = [
3-
"examples/examples",
4-
"examples/lambda",
5-
"examples/webassembly",
63
"examples/cross_service",
74
"examples/test-utils",
8-
"tests/webassembly",
9-
"tests/no-default-features"
5+
"examples/examples",
6+
"examples/webassembly",
7+
"examples/lambda",
8+
"tests/no-default-features",
9+
"tests/webassembly"
1010
]
1111
members = [
1212
"sdk/accessanalyzer",

aws-models/sagemaker.json

Lines changed: 12 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,12 @@
423423
"traits": {
424424
"smithy.api#enumValue": "S3Object"
425425
}
426+
},
427+
"S3PREFIX": {
428+
"target": "smithy.api#Unit",
429+
"traits": {
430+
"smithy.api#enumValue": "S3Prefix"
431+
}
426432
}
427433
}
428434
},
@@ -1554,18 +1560,6 @@
15541560
"smithy.api#enumValue": "TensorBoard"
15551561
}
15561562
},
1557-
"VSCode": {
1558-
"target": "smithy.api#Unit",
1559-
"traits": {
1560-
"smithy.api#enumValue": "VSCode"
1561-
}
1562-
},
1563-
"Savitur": {
1564-
"target": "smithy.api#Unit",
1565-
"traits": {
1566-
"smithy.api#enumValue": "Savitur"
1567-
}
1568-
},
15691563
"CodeEditor": {
15701564
"target": "smithy.api#Unit",
15711565
"traits": {
@@ -1584,12 +1578,6 @@
15841578
"smithy.api#enumValue": "RStudioServerPro"
15851579
}
15861580
},
1587-
"RSession": {
1588-
"target": "smithy.api#Unit",
1589-
"traits": {
1590-
"smithy.api#enumValue": "RSession"
1591-
}
1592-
},
15931581
"RSessionGateway": {
15941582
"target": "smithy.api#Unit",
15951583
"traits": {
@@ -1601,24 +1589,6 @@
16011589
"traits": {
16021590
"smithy.api#enumValue": "Canvas"
16031591
}
1604-
},
1605-
"DatasetManager": {
1606-
"target": "smithy.api#Unit",
1607-
"traits": {
1608-
"smithy.api#enumValue": "DatasetManager"
1609-
}
1610-
},
1611-
"SageMakerLite": {
1612-
"target": "smithy.api#Unit",
1613-
"traits": {
1614-
"smithy.api#enumValue": "SageMakerLite"
1615-
}
1616-
},
1617-
"Local": {
1618-
"target": "smithy.api#Unit",
1619-
"traits": {
1620-
"smithy.api#enumValue": "Local"
1621-
}
16221592
}
16231593
}
16241594
},
@@ -58229,18 +58199,6 @@
5822958199
"smithy.api#enumValue": "KernelGateway"
5823058200
}
5823158201
},
58232-
"VSCode": {
58233-
"target": "smithy.api#Unit",
58234-
"traits": {
58235-
"smithy.api#enumValue": "VSCode"
58236-
}
58237-
},
58238-
"Savitur": {
58239-
"target": "smithy.api#Unit",
58240-
"traits": {
58241-
"smithy.api#enumValue": "Savitur"
58242-
}
58243-
},
5824458202
"CodeEditor": {
5824558203
"target": "smithy.api#Unit",
5824658204
"traits": {
@@ -65615,6 +65573,12 @@
6561565573
"type": "list",
6561665574
"member": {
6561765575
"target": "com.amazonaws.sagemaker#AccountId"
65576+
},
65577+
"traits": {
65578+
"smithy.api#length": {
65579+
"min": 0,
65580+
"max": 10
65581+
}
6561865582
}
6561965583
},
6562065584
"com.amazonaws.sagemaker#VpcSecurityGroupIds": {

examples/examples/sagemaker/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ publish = false
99
[dependencies]
1010
thiserror = "1.0"
1111
aws-config= { version = "1.1.2", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
12-
aws-sdk-sagemaker= { version = "1.15.0", path = "../../../sdk/sagemaker" }
12+
aws-sdk-sagemaker= { version = "1.16.0", path = "../../../sdk/sagemaker" }
1313
aws-smithy-types-convert= { version = "0.60.2", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] }
1414

1515
[dependencies.clap]

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

sdk/sagemaker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ your project, add the following to your **Cargo.toml** file:
1818
```toml
1919
[dependencies]
2020
aws-config = { version = "1.1.2", features = ["behavior-version-latest"] }
21-
aws-sdk-sagemaker = "1.15.0"
21+
aws-sdk-sagemaker = "1.16.0"
2222
tokio = { version = "1", features = ["full"] }
2323
```
2424

sdk/sagemaker/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.2", features = ["behavior-version-latest"] }
36-
//! aws-sdk-sagemaker = "1.15.0"
36+
//! aws-sdk-sagemaker = "1.16.0"
3737
//! tokio = { version = "1", features = ["full"] }
3838
//! ```
3939
//!

sdk/sagemaker/src/types/_additional_s3_data_source_data_type.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
/// # let additionals3datasourcedatatype = unimplemented!();
1414
/// match additionals3datasourcedatatype {
1515
/// AdditionalS3DataSourceDataType::S3Object => { /* ... */ },
16+
/// AdditionalS3DataSourceDataType::S3Prefix => { /* ... */ },
1617
/// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ },
1718
/// _ => { /* ... */ },
1819
/// }
@@ -42,6 +43,8 @@
4243
pub enum AdditionalS3DataSourceDataType {
4344
#[allow(missing_docs)] // documentation missing in model
4445
S3Object,
46+
#[allow(missing_docs)] // documentation missing in model
47+
S3Prefix,
4548
/// `Unknown` contains new variants that have been added since this code was generated.
4649
#[deprecated(note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants.")]
4750
Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue),
@@ -50,6 +53,7 @@ impl ::std::convert::From<&str> for AdditionalS3DataSourceDataType {
5053
fn from(s: &str) -> Self {
5154
match s {
5255
"S3Object" => AdditionalS3DataSourceDataType::S3Object,
56+
"S3Prefix" => AdditionalS3DataSourceDataType::S3Prefix,
5357
other => AdditionalS3DataSourceDataType::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())),
5458
}
5559
}
@@ -66,12 +70,13 @@ impl AdditionalS3DataSourceDataType {
6670
pub fn as_str(&self) -> &str {
6771
match self {
6872
AdditionalS3DataSourceDataType::S3Object => "S3Object",
73+
AdditionalS3DataSourceDataType::S3Prefix => "S3Prefix",
6974
AdditionalS3DataSourceDataType::Unknown(value) => value.as_str(),
7075
}
7176
}
7277
/// Returns all the `&str` representations of the enum members.
7378
pub const fn values() -> &'static [&'static str] {
74-
&["S3Object"]
79+
&["S3Object", "S3Prefix"]
7580
}
7681
}
7782
impl ::std::convert::AsRef<str> for AdditionalS3DataSourceDataType {

sdk/sagemaker/src/types/_app_type.rs

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,13 @@
1414
/// match apptype {
1515
/// AppType::Canvas => { /* ... */ },
1616
/// AppType::CodeEditor => { /* ... */ },
17-
/// AppType::DatasetManager => { /* ... */ },
1817
/// AppType::DetailedProfiler => { /* ... */ },
1918
/// AppType::JupyterLab => { /* ... */ },
2019
/// AppType::JupyterServer => { /* ... */ },
2120
/// AppType::KernelGateway => { /* ... */ },
22-
/// AppType::Local => { /* ... */ },
23-
/// AppType::RSession => { /* ... */ },
2421
/// AppType::RSessionGateway => { /* ... */ },
2522
/// AppType::RStudioServerPro => { /* ... */ },
26-
/// AppType::SageMakerLite => { /* ... */ },
27-
/// AppType::Savitur => { /* ... */ },
2823
/// AppType::TensorBoard => { /* ... */ },
29-
/// AppType::VsCode => { /* ... */ },
3024
/// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ },
3125
/// _ => { /* ... */ },
3226
/// }
@@ -59,8 +53,6 @@ pub enum AppType {
5953
#[allow(missing_docs)] // documentation missing in model
6054
CodeEditor,
6155
#[allow(missing_docs)] // documentation missing in model
62-
DatasetManager,
63-
#[allow(missing_docs)] // documentation missing in model
6456
DetailedProfiler,
6557
#[allow(missing_docs)] // documentation missing in model
6658
JupyterLab,
@@ -69,21 +61,11 @@ pub enum AppType {
6961
#[allow(missing_docs)] // documentation missing in model
7062
KernelGateway,
7163
#[allow(missing_docs)] // documentation missing in model
72-
Local,
73-
#[allow(missing_docs)] // documentation missing in model
74-
RSession,
75-
#[allow(missing_docs)] // documentation missing in model
7664
RSessionGateway,
7765
#[allow(missing_docs)] // documentation missing in model
7866
RStudioServerPro,
7967
#[allow(missing_docs)] // documentation missing in model
80-
SageMakerLite,
81-
#[allow(missing_docs)] // documentation missing in model
82-
Savitur,
83-
#[allow(missing_docs)] // documentation missing in model
8468
TensorBoard,
85-
#[allow(missing_docs)] // documentation missing in model
86-
VsCode,
8769
/// `Unknown` contains new variants that have been added since this code was generated.
8870
#[deprecated(note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants.")]
8971
Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue),
@@ -93,19 +75,13 @@ impl ::std::convert::From<&str> for AppType {
9375
match s {
9476
"Canvas" => AppType::Canvas,
9577
"CodeEditor" => AppType::CodeEditor,
96-
"DatasetManager" => AppType::DatasetManager,
9778
"DetailedProfiler" => AppType::DetailedProfiler,
9879
"JupyterLab" => AppType::JupyterLab,
9980
"JupyterServer" => AppType::JupyterServer,
10081
"KernelGateway" => AppType::KernelGateway,
101-
"Local" => AppType::Local,
102-
"RSession" => AppType::RSession,
10382
"RSessionGateway" => AppType::RSessionGateway,
10483
"RStudioServerPro" => AppType::RStudioServerPro,
105-
"SageMakerLite" => AppType::SageMakerLite,
106-
"Savitur" => AppType::Savitur,
10784
"TensorBoard" => AppType::TensorBoard,
108-
"VSCode" => AppType::VsCode,
10985
other => AppType::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())),
11086
}
11187
}
@@ -123,19 +99,13 @@ impl AppType {
12399
match self {
124100
AppType::Canvas => "Canvas",
125101
AppType::CodeEditor => "CodeEditor",
126-
AppType::DatasetManager => "DatasetManager",
127102
AppType::DetailedProfiler => "DetailedProfiler",
128103
AppType::JupyterLab => "JupyterLab",
129104
AppType::JupyterServer => "JupyterServer",
130105
AppType::KernelGateway => "KernelGateway",
131-
AppType::Local => "Local",
132-
AppType::RSession => "RSession",
133106
AppType::RSessionGateway => "RSessionGateway",
134107
AppType::RStudioServerPro => "RStudioServerPro",
135-
AppType::SageMakerLite => "SageMakerLite",
136-
AppType::Savitur => "Savitur",
137108
AppType::TensorBoard => "TensorBoard",
138-
AppType::VsCode => "VSCode",
139109
AppType::Unknown(value) => value.as_str(),
140110
}
141111
}
@@ -144,19 +114,13 @@ impl AppType {
144114
&[
145115
"Canvas",
146116
"CodeEditor",
147-
"DatasetManager",
148117
"DetailedProfiler",
149118
"JupyterLab",
150119
"JupyterServer",
151120
"KernelGateway",
152-
"Local",
153-
"RSession",
154121
"RSessionGateway",
155122
"RStudioServerPro",
156-
"SageMakerLite",
157-
"Savitur",
158123
"TensorBoard",
159-
"VSCode",
160124
]
161125
}
162126
}

sdk/sagemaker/src/types/_studio_lifecycle_config_app_type.rs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
/// StudioLifecycleConfigAppType::JupyterLab => { /* ... */ },
1717
/// StudioLifecycleConfigAppType::JupyterServer => { /* ... */ },
1818
/// StudioLifecycleConfigAppType::KernelGateway => { /* ... */ },
19-
/// StudioLifecycleConfigAppType::Savitur => { /* ... */ },
20-
/// StudioLifecycleConfigAppType::VsCode => { /* ... */ },
2119
/// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ },
2220
/// _ => { /* ... */ },
2321
/// }
@@ -53,10 +51,6 @@ pub enum StudioLifecycleConfigAppType {
5351
JupyterServer,
5452
#[allow(missing_docs)] // documentation missing in model
5553
KernelGateway,
56-
#[allow(missing_docs)] // documentation missing in model
57-
Savitur,
58-
#[allow(missing_docs)] // documentation missing in model
59-
VsCode,
6054
/// `Unknown` contains new variants that have been added since this code was generated.
6155
#[deprecated(note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants.")]
6256
Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue),
@@ -68,8 +62,6 @@ impl ::std::convert::From<&str> for StudioLifecycleConfigAppType {
6862
"JupyterLab" => StudioLifecycleConfigAppType::JupyterLab,
6963
"JupyterServer" => StudioLifecycleConfigAppType::JupyterServer,
7064
"KernelGateway" => StudioLifecycleConfigAppType::KernelGateway,
71-
"Savitur" => StudioLifecycleConfigAppType::Savitur,
72-
"VSCode" => StudioLifecycleConfigAppType::VsCode,
7365
other => StudioLifecycleConfigAppType::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())),
7466
}
7567
}
@@ -89,14 +81,12 @@ impl StudioLifecycleConfigAppType {
8981
StudioLifecycleConfigAppType::JupyterLab => "JupyterLab",
9082
StudioLifecycleConfigAppType::JupyterServer => "JupyterServer",
9183
StudioLifecycleConfigAppType::KernelGateway => "KernelGateway",
92-
StudioLifecycleConfigAppType::Savitur => "Savitur",
93-
StudioLifecycleConfigAppType::VsCode => "VSCode",
9484
StudioLifecycleConfigAppType::Unknown(value) => value.as_str(),
9585
}
9686
}
9787
/// Returns all the `&str` representations of the enum members.
9888
pub const fn values() -> &'static [&'static str] {
99-
&["CodeEditor", "JupyterLab", "JupyterServer", "KernelGateway", "Savitur", "VSCode"]
89+
&["CodeEditor", "JupyterLab", "JupyterServer", "KernelGateway"]
10090
}
10191
}
10292
impl ::std::convert::AsRef<str> for StudioLifecycleConfigAppType {

versions.toml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1888,9 +1888,9 @@ model_hash = 'f9e4b75c464276658ad02e6fb32ece96389662d9e55fe7db3a5a057bd9fb5b03'
18881888

18891889
[crates.aws-sdk-sagemaker]
18901890
category = 'AwsSdk'
1891-
version = '1.15.0'
1892-
source_hash = 'db00bde63423997f000b5139ec07bc3017859d16a1b3816c5533d8484677602d'
1893-
model_hash = '7a7dc91bb76e9fd0050e54af61827adbffd5b04392c266afa6dc64f358760d92'
1891+
version = '1.16.0'
1892+
source_hash = 'e501faa1888cce14acabddcfc0fe9c1f0b6432d8b81fe12b26b15b705cf2857e'
1893+
model_hash = 'edbba31ff4b5ddc536190b5e48eadadc864277e7b5c54f2b95d33cadea64ef50'
18941894

18951895
[crates.aws-sdk-sagemakera2iruntime]
18961896
category = 'AwsSdk'
@@ -2408,15 +2408,5 @@ source_hash = '349c182d6f8bd666a8de172375ce30939c47de5008b5f1c10457413dd982b1ff'
24082408
category = 'AwsRuntime'
24092409
version = '0.0.0'
24102410
source_hash = 'd1d1bd74b6caf2685c800c970da4abaef859ce109e48b901b9127db6364b4578'
2411-
2412-
[release]
2413-
tag = 'release-2024-01-12'
2414-
24152411
[release.crates]
2416-
aws-sdk-connect = '1.16.0'
2417-
aws-sdk-connectparticipant = '1.11.0'
2418-
aws-sdk-location = '1.12.1'
2419-
aws-sdk-mwaa = '1.11.0'
2420-
aws-sdk-s3control = '1.12.0'
2421-
aws-sdk-supplychain = '1.0.0'
2422-
aws-sdk-transfer = '1.11.0'
2412+
aws-sdk-sagemaker = '1.16.0'

0 commit comments

Comments
 (0)