Skip to content

Commit 33e91fb

Browse files
Update SDK models
1 parent 027e445 commit 33e91fb

25 files changed

+1002
-54
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[workspace]
22
resolver = "2"
33
exclude = [
4+
"tests/no-default-features",
45
"tests/webassembly",
5-
"tests/telemetry",
6-
"tests/no-default-features"
6+
"tests/telemetry"
77
]
88
members = [
99
"sdk/accessanalyzer",

aws-models/glue.json

Lines changed: 385 additions & 1 deletion
Large diffs are not rendered by default.

aws-models/lightsail.json

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
"message": {
200200
"target": "com.amazonaws.lightsail#BPAStatusMessage",
201201
"traits": {
202-
"smithy.api#documentation": "<p>A message that provides a reason for a <code>Failed</code> or <code>Defaulted</code>\n synchronization status.</p>\n <p>The following messages are possible:</p>\n <ul>\n <li>\n <p>\n <code>SYNC_ON_HOLD</code> - The synchronization has not yet happened. This status\n message occurs immediately after you create your first Lightsail bucket. This status\n message should change after the first synchronization happens, approximately 1 hour after\n the first bucket is created.</p>\n </li>\n <li>\n <p>\n <code>DEFAULTED_FOR_SLR_MISSING</code> - The synchronization failed because the\n required service-linked role is missing from your Amazon Web Services account. The\n account-level BPA configuration for your Lightsail buckets is defaulted to\n <i>active</i> until the synchronization can occur. This means that all\n your buckets are private and not publicly accessible. For more information about how to\n create the required service-linked role to allow synchronization, see <a href=\"https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-using-service-linked-roles\">Using Service-Linked Roles for Amazon Lightsail</a> in the\n <i>Amazon Lightsail Developer Guide</i>.</p>\n </li>\n <li>\n <p>\n <code>DEFAULTED_FOR_SLR_MISSING_ON_HOLD</code> - The synchronization failed because\n the required service-linked role is missing from your Amazon Web Services account.\n Account-level BPA is not yet configured for your Lightsail buckets. Therefore, only the\n bucket access permissions and individual object access permissions apply to your\n Lightsail buckets. For more information about how to create the required service-linked\n role to allow synchronization, see <a href=\"https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-using-service-linked-roles\">Using Service-Linked Roles for Amazon Lightsail</a> in the\n <i>Amazon Lightsail Developer Guide</i>.</p>\n </li>\n <li>\n <p>\n <code>Unknown</code> - The reason that synchronization failed is unknown. Contact\n Amazon Web ServicesSupport for more information.</p>\n </li>\n </ul>"
202+
"smithy.api#documentation": "<p>A message that provides a reason for a <code>Failed</code> or <code>Defaulted</code>\n synchronization status.</p>\n <p>The following messages are possible:</p>\n <ul>\n <li>\n <p>\n <code>SYNC_ON_HOLD</code> - The synchronization has not yet happened. This status\n message occurs immediately after you create your first Lightsail bucket. This status\n message should change after the first synchronization happens, approximately 1 hour after\n the first bucket is created.</p>\n </li>\n <li>\n <p>\n <code>DEFAULTED_FOR_SLR_MISSING</code> - The synchronization failed because the\n required service-linked role is missing from your Amazon Web Services account. The\n account-level BPA configuration for your Lightsail buckets is defaulted to\n <i>active</i> until the synchronization can occur. This means that all\n your buckets are private and not publicly accessible. For more information about how to\n create the required service-linked role to allow synchronization, see <a href=\"https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-using-service-linked-roles\">Using Service-Linked Roles for Amazon Lightsail</a> in the\n <i>Amazon Lightsail Developer Guide</i>.</p>\n </li>\n <li>\n <p>\n <code>DEFAULTED_FOR_SLR_MISSING_ON_HOLD</code> - The synchronization failed because\n the required service-linked role is missing from your Amazon Web Services account.\n Account-level BPA is not yet configured for your Lightsail buckets. Therefore, only the\n bucket access permissions and individual object access permissions apply to your\n Lightsail buckets. For more information about how to create the required service-linked\n role to allow synchronization, see <a href=\"https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-using-service-linked-roles\">Using Service-Linked Roles for Amazon Lightsail</a> in the\n <i>Amazon Lightsail Developer Guide</i>.</p>\n </li>\n <li>\n <p>\n <code>Unknown</code> - The reason that synchronization failed is unknown. Contact\n Amazon Web Services Support for more information.</p>\n </li>\n </ul>"
203203
}
204204
},
205205
"bpaImpactsLightsail": {
@@ -5727,7 +5727,7 @@
57275727
"smithy.api#documentation": "<p>Deletes an alarm.</p>\n <p>An alarm is used to monitor a single metric for one of your resources. When a metric\n condition is met, the alarm can notify you by email, SMS text message, and a banner displayed\n on the Amazon Lightsail console. For more information, see <a href=\"https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-alarms\">Alarms\n in Amazon Lightsail</a>.</p>",
57285728
"smithy.api#http": {
57295729
"method": "DELETE",
5730-
"uri": "/ls/api/2016-11-28/DeleteAlarm",
5730+
"uri": "/ls/api/2016-11-28/DeleteAlarm/{alarmName}",
57315731
"code": 200
57325732
}
57335733
}
@@ -5739,6 +5739,7 @@
57395739
"target": "com.amazonaws.lightsail#ResourceName",
57405740
"traits": {
57415741
"smithy.api#documentation": "<p>The name of the alarm to delete.</p>",
5742+
"smithy.api#httpLabel": {},
57425743
"smithy.api#required": {}
57435744
}
57445745
}
@@ -8907,19 +8908,22 @@
89078908
"alarmName": {
89088909
"target": "com.amazonaws.lightsail#ResourceName",
89098910
"traits": {
8910-
"smithy.api#documentation": "<p>The name of the alarm.</p>\n <p>Specify an alarm name to return information about a specific alarm.</p>"
8911+
"smithy.api#documentation": "<p>The name of the alarm.</p>\n <p>Specify an alarm name to return information about a specific alarm.</p>",
8912+
"smithy.api#httpQuery": "alarmName"
89118913
}
89128914
},
89138915
"pageToken": {
89148916
"target": "com.amazonaws.lightsail#string",
89158917
"traits": {
8916-
"smithy.api#documentation": "<p>The token to advance to the next page of results from your request.</p>\n <p>To get a page token, perform an initial <code>GetAlarms</code> request. If your results\n are paginated, the response will return a next page token that you can specify as the page\n token in a subsequent request.</p>"
8918+
"smithy.api#documentation": "<p>The token to advance to the next page of results from your request.</p>\n <p>To get a page token, perform an initial <code>GetAlarms</code> request. If your results\n are paginated, the response will return a next page token that you can specify as the page\n token in a subsequent request.</p>",
8919+
"smithy.api#httpQuery": "pageToken"
89178920
}
89188921
},
89198922
"monitoredResourceName": {
89208923
"target": "com.amazonaws.lightsail#ResourceName",
89218924
"traits": {
8922-
"smithy.api#documentation": "<p>The name of the Lightsail resource being monitored by the alarm.</p>\n <p>Specify a monitored resource name to return information about all alarms for a specific\n resource.</p>"
8925+
"smithy.api#documentation": "<p>The name of the Lightsail resource being monitored by the alarm.</p>\n <p>Specify a monitored resource name to return information about all alarms for a specific\n resource.</p>",
8926+
"smithy.api#httpQuery": "monitoredResourceName"
89238927
}
89248928
}
89258929
},
@@ -9750,7 +9754,8 @@
97509754
"protocols": {
97519755
"target": "com.amazonaws.lightsail#ContactProtocolsList",
97529756
"traits": {
9753-
"smithy.api#documentation": "<p>The protocols used to send notifications, such as <code>Email</code>, or <code>SMS</code>\n (text messaging).</p>\n <p>Specify a protocol in your request to return information about a specific contact method\n protocol.</p>"
9757+
"smithy.api#documentation": "<p>The protocols used to send notifications, such as <code>Email</code>, or <code>SMS</code>\n (text messaging).</p>\n <p>Specify a protocol in your request to return information about a specific contact method\n protocol.</p>",
9758+
"smithy.api#httpQuery": "protocols"
97549759
}
97559760
}
97569761
},
@@ -22712,7 +22717,7 @@
2271222717
"smithy.api#documentation": "<p>Tests an alarm by displaying a banner on the Amazon Lightsail console. If a notification\n trigger is configured for the specified alarm, the test also sends a notification to the\n notification protocol (<code>Email</code> and/or <code>SMS</code>) configured for the\n alarm.</p>\n <p>An alarm is used to monitor a single metric for one of your resources. When a metric\n condition is met, the alarm can notify you by email, SMS text message, and a banner displayed\n on the Amazon Lightsail console. For more information, see <a href=\"https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-alarms\">Alarms\n in Amazon Lightsail</a>.</p>",
2271322718
"smithy.api#http": {
2271422719
"method": "GET",
22715-
"uri": "/ls/api/2016-11-28/TestAlarm",
22720+
"uri": "/ls/api/2016-11-28/TestAlarm/{alarmName}",
2271622721
"code": 200
2271722722
}
2271822723
}
@@ -22724,13 +22729,15 @@
2272422729
"target": "com.amazonaws.lightsail#ResourceName",
2272522730
"traits": {
2272622731
"smithy.api#documentation": "<p>The name of the alarm to test.</p>",
22732+
"smithy.api#httpLabel": {},
2272722733
"smithy.api#required": {}
2272822734
}
2272922735
},
2273022736
"state": {
2273122737
"target": "com.amazonaws.lightsail#AlarmState",
2273222738
"traits": {
2273322739
"smithy.api#documentation": "<p>The alarm state to test.</p>\n <p>An alarm has the following possible states that can be tested:</p>\n <ul>\n <li>\n <p>\n <code>ALARM</code> - The metric is outside of the defined threshold.</p>\n </li>\n <li>\n <p>\n <code>INSUFFICIENT_DATA</code> - The alarm has just started, the metric is not\n available, or not enough data is available for the metric to determine the alarm\n state.</p>\n </li>\n <li>\n <p>\n <code>OK</code> - The metric is within the defined threshold.</p>\n </li>\n </ul>",
22740+
"smithy.api#httpQuery": "state",
2273422741
"smithy.api#required": {}
2273522742
}
2273622743
}

aws-models/network-firewall.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3782,6 +3782,18 @@
37823782
"traits": {
37833783
"smithy.api#enumValue": "DENYLIST"
37843784
}
3785+
},
3786+
"REJECTLIST": {
3787+
"target": "smithy.api#Unit",
3788+
"traits": {
3789+
"smithy.api#enumValue": "REJECTLIST"
3790+
}
3791+
},
3792+
"ALERTLIST": {
3793+
"target": "smithy.api#Unit",
3794+
"traits": {
3795+
"smithy.api#enumValue": "ALERTLIST"
3796+
}
37853797
}
37863798
}
37873799
},
@@ -7187,7 +7199,7 @@
71877199
"GeneratedRulesType": {
71887200
"target": "com.amazonaws.networkfirewall#GeneratedRulesType",
71897201
"traits": {
7190-
"smithy.api#documentation": "<p>Whether you want to allow or deny access to the domains in your target list.</p>",
7202+
"smithy.api#documentation": "<p>Whether you want to apply allow, reject, alert, or drop behavior to the domains in your target list.</p>\n <note>\n <p>When logging is enabled and you choose Alert, traffic that matches the domain specifications \n generates an alert in the firewall's logs. Then, traffic either passes, is rejected, or drops based on other rules in the firewall policy.</p>\n </note>",
71917203
"smithy.api#required": {}
71927204
}
71937205
}

aws-models/sdk-endpoints.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9557,6 +9557,7 @@
95579557
"tags" : [ "fips" ]
95589558
} ]
95599559
},
9560+
"ap-southeast-6" : { },
95609561
"ap-southeast-7" : {
95619562
"variants" : [ {
95629563
"hostname" : "elasticfilesystem-fips.ap-southeast-7.amazonaws.com",
@@ -11222,6 +11223,7 @@
1122211223
"tags" : [ "fips" ]
1122311224
} ]
1122411225
},
11226+
"ap-east-2" : { },
1122511227
"ap-northeast-1" : {
1122611228
"variants" : [ {
1122711229
"hostname" : "fms-fips.ap-northeast-1.amazonaws.com",
@@ -30998,6 +31000,12 @@
3099831000
"cn-northwest-1" : { }
3099931001
}
3100031002
},
31003+
"verifiedpermissions" : {
31004+
"endpoints" : {
31005+
"cn-north-1" : { },
31006+
"cn-northwest-1" : { }
31007+
}
31008+
},
3100131009
"waf-regional" : {
3100231010
"endpoints" : {
3100331011
"cn-north-1" : {

sdk/glue/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-glue"
4-
version = "1.120.0"
4+
version = "1.121.0"
55
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
66
description = "AWS SDK for AWS Glue"
77
edition = "2021"

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

sdk/glue/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
//! ```toml
3333
//! [dependencies]
3434
//! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
35-
//! aws-sdk-glue = "1.120.0"
35+
//! aws-sdk-glue = "1.121.0"
3636
//! tokio = { version = "1", features = ["full"] }
3737
//! ```
3838
//!

sdk/glue/src/protocol_serde/shape_authentication_configuration.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ where
2828
.transpose()?,
2929
);
3030
}
31+
"KmsKeyArn" => {
32+
builder = builder.set_kms_key_arn(
33+
::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())?
34+
.map(|s| s.to_unescaped().map(|u| u.into_owned()))
35+
.transpose()?,
36+
);
37+
}
3138
"OAuth2Properties" => {
3239
builder = builder.set_o_auth2_properties(crate::protocol_serde::shape_o_auth2_properties::de_o_auth2_properties(tokens)?);
3340
}

sdk/glue/src/types/_authentication_configuration.rs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ pub struct AuthenticationConfiguration {
88
pub authentication_type: ::std::option::Option<crate::types::AuthenticationType>,
99
/// <p>The secret manager ARN to store credentials.</p>
1010
pub secret_arn: ::std::option::Option<::std::string::String>,
11+
/// <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive authentication information. This key is used to protect credentials and other sensitive data stored within the authentication configuration.</p>
12+
pub kms_key_arn: ::std::option::Option<::std::string::String>,
1113
/// <p>The properties for OAuth2 authentication.</p>
1214
pub o_auth2_properties: ::std::option::Option<crate::types::OAuth2Properties>,
1315
}
@@ -20,6 +22,10 @@ impl AuthenticationConfiguration {
2022
pub fn secret_arn(&self) -> ::std::option::Option<&str> {
2123
self.secret_arn.as_deref()
2224
}
25+
/// <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive authentication information. This key is used to protect credentials and other sensitive data stored within the authentication configuration.</p>
26+
pub fn kms_key_arn(&self) -> ::std::option::Option<&str> {
27+
self.kms_key_arn.as_deref()
28+
}
2329
/// <p>The properties for OAuth2 authentication.</p>
2430
pub fn o_auth2_properties(&self) -> ::std::option::Option<&crate::types::OAuth2Properties> {
2531
self.o_auth2_properties.as_ref()
@@ -38,6 +44,7 @@ impl AuthenticationConfiguration {
3844
pub struct AuthenticationConfigurationBuilder {
3945
pub(crate) authentication_type: ::std::option::Option<crate::types::AuthenticationType>,
4046
pub(crate) secret_arn: ::std::option::Option<::std::string::String>,
47+
pub(crate) kms_key_arn: ::std::option::Option<::std::string::String>,
4148
pub(crate) o_auth2_properties: ::std::option::Option<crate::types::OAuth2Properties>,
4249
}
4350
impl AuthenticationConfigurationBuilder {
@@ -69,6 +76,20 @@ impl AuthenticationConfigurationBuilder {
6976
pub fn get_secret_arn(&self) -> &::std::option::Option<::std::string::String> {
7077
&self.secret_arn
7178
}
79+
/// <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive authentication information. This key is used to protect credentials and other sensitive data stored within the authentication configuration.</p>
80+
pub fn kms_key_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
81+
self.kms_key_arn = ::std::option::Option::Some(input.into());
82+
self
83+
}
84+
/// <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive authentication information. This key is used to protect credentials and other sensitive data stored within the authentication configuration.</p>
85+
pub fn set_kms_key_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
86+
self.kms_key_arn = input;
87+
self
88+
}
89+
/// <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive authentication information. This key is used to protect credentials and other sensitive data stored within the authentication configuration.</p>
90+
pub fn get_kms_key_arn(&self) -> &::std::option::Option<::std::string::String> {
91+
&self.kms_key_arn
92+
}
7293
/// <p>The properties for OAuth2 authentication.</p>
7394
pub fn o_auth2_properties(mut self, input: crate::types::OAuth2Properties) -> Self {
7495
self.o_auth2_properties = ::std::option::Option::Some(input);
@@ -88,6 +109,7 @@ impl AuthenticationConfigurationBuilder {
88109
crate::types::AuthenticationConfiguration {
89110
authentication_type: self.authentication_type,
90111
secret_arn: self.secret_arn,
112+
kms_key_arn: self.kms_key_arn,
91113
o_auth2_properties: self.o_auth2_properties,
92114
}
93115
}

0 commit comments

Comments
 (0)