Skip to content

Commit ed99b24

Browse files
Update SDK models
1 parent bbf69c2 commit ed99b24

File tree

132 files changed

+2782
-651
lines changed

Some content is hidden

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

132 files changed

+2782
-651
lines changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[workspace]
22
resolver = "2"
33
exclude = [
4-
"examples/cross_service",
4+
"examples/webassembly",
55
"examples/test-utils",
6+
"examples/cross_service",
67
"examples/examples",
78
"examples/lambda",
8-
"examples/webassembly",
9-
"tests/no-default-features",
10-
"tests/webassembly"
9+
"tests/webassembly",
10+
"tests/no-default-features"
1111
]
1212
members = [
1313
"sdk/accessanalyzer",

aws-models/eventbridge.json

Lines changed: 305 additions & 119 deletions
Large diffs are not rendered by default.

aws-models/sdk-endpoints.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@
544544
"aoss" : {
545545
"endpoints" : {
546546
"ap-northeast-1" : { },
547+
"ap-south-1" : { },
547548
"ap-southeast-1" : { },
548549
"ap-southeast-2" : { },
549550
"eu-central-1" : { },

aws-models/vpc-lattice.json

Lines changed: 91 additions & 81 deletions
Large diffs are not rendered by default.

sdk/eventbridge/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-eventbridge"
4-
version = "1.24.0"
4+
version = "1.25.0"
55
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
66
description = "AWS SDK for Amazon EventBridge"
77
edition = "2021"

sdk/eventbridge/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ your project, add the following to your **Cargo.toml** file:
1919
```toml
2020
[dependencies]
2121
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
22-
aws-sdk-eventbridge = "1.24.0"
22+
aws-sdk-eventbridge = "1.25.0"
2323
tokio = { version = "1", features = ["full"] }
2424
```
2525

sdk/eventbridge/src/client.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,3 +274,5 @@ mod update_archive;
274274
mod update_connection;
275275

276276
mod update_endpoint;
277+
278+
mod update_event_bus;

sdk/eventbridge/src/client/create_event_bus.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,15 @@ impl super::Client {
55
/// - The fluent builder is configurable:
66
/// - [`name(impl Into<String>)`](crate::operation::create_event_bus::builders::CreateEventBusFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_event_bus::builders::CreateEventBusFluentBuilder::set_name):<br>required: **true**<br><p>The name of the new event bus.</p> <p>Custom event bus names can't contain the <code>/</code> character, but you can use the <code>/</code> character in partner event bus names. In addition, for partner event buses, the name must exactly match the name of the partner event source that this event bus is matched to.</p> <p>You can't use the name <code>default</code> for a custom event bus, as this name is already used for your account's default event bus.</p><br>
77
/// - [`event_source_name(impl Into<String>)`](crate::operation::create_event_bus::builders::CreateEventBusFluentBuilder::event_source_name) / [`set_event_source_name(Option<String>)`](crate::operation::create_event_bus::builders::CreateEventBusFluentBuilder::set_event_source_name):<br>required: **false**<br><p>If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.</p><br>
8+
/// - [`description(impl Into<String>)`](crate::operation::create_event_bus::builders::CreateEventBusFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_event_bus::builders::CreateEventBusFluentBuilder::set_description):<br>required: **false**<br><p>The event bus description.</p><br>
9+
/// - [`kms_key_identifier(impl Into<String>)`](crate::operation::create_event_bus::builders::CreateEventBusFluentBuilder::kms_key_identifier) / [`set_kms_key_identifier(Option<String>)`](crate::operation::create_event_bus::builders::CreateEventBusFluentBuilder::set_kms_key_identifier):<br>required: **false**<br><p>The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.</p> <p>If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt events on the event bus.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/getting-started.html">Managing keys</a> in the <i>Key Management Service Developer Guide</i>.</p><note> <p>Archives and schema discovery are not supported for event buses encrypted using a customer managed key. EventBridge returns an error if:</p> <ul> <li> <p>You call <code> <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_CreateArchive.html">CreateArchive</a> </code> on an event bus set to use a customer managed key for encryption.</p></li> <li> <p>You call <code> <a href="https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer">CreateDiscoverer</a> </code> on an event bus set to use a customer managed key for encryption.</p></li> <li> <p>You call <code> <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdatedEventBus.html">UpdatedEventBus</a> </code> to set a customer managed key on an event bus with an archives or schema discovery enabled.</p></li> </ul> <p>To enable archives or schema discovery on an event bus, choose to use an Amazon Web Services owned key. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html">Data encryption in EventBridge</a> in the <i>Amazon EventBridge User Guide</i>.</p> </note><br>
10+
/// - [`dead_letter_config(DeadLetterConfig)`](crate::operation::create_event_bus::builders::CreateEventBusFluentBuilder::dead_letter_config) / [`set_dead_letter_config(Option<DeadLetterConfig>)`](crate::operation::create_event_bus::builders::CreateEventBusFluentBuilder::set_dead_letter_config):<br>required: **false**<br><p>Configuration details of the Amazon SQS queue for EventBridge to use as a dead-letter queue (DLQ).</p> <p>For more information, see <a href="eventbridge/latest/userguide/eb-rule-dlq.html">Event retry policy and using dead-letter queues</a> in the <i>EventBridge User Guide</i>.</p><br>
811
/// - [`tags(Tag)`](crate::operation::create_event_bus::builders::CreateEventBusFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_event_bus::builders::CreateEventBusFluentBuilder::set_tags):<br>required: **false**<br><p>Tags to associate with the event bus.</p><br>
912
/// - On success, responds with [`CreateEventBusOutput`](crate::operation::create_event_bus::CreateEventBusOutput) with field(s):
1013
/// - [`event_bus_arn(Option<String>)`](crate::operation::create_event_bus::CreateEventBusOutput::event_bus_arn): <p>The ARN of the new event bus.</p>
14+
/// - [`description(Option<String>)`](crate::operation::create_event_bus::CreateEventBusOutput::description): <p>The event bus description.</p>
15+
/// - [`kms_key_identifier(Option<String>)`](crate::operation::create_event_bus::CreateEventBusOutput::kms_key_identifier): <p>The identifier of the KMS customer managed key for EventBridge to use to encrypt events on this event bus, if one has been specified.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html">Data encryption in EventBridge</a> in the <i>Amazon EventBridge User Guide</i>.</p>
16+
/// - [`dead_letter_config(Option<DeadLetterConfig>)`](crate::operation::create_event_bus::CreateEventBusOutput::dead_letter_config): <p>Configuration details of the Amazon SQS queue for EventBridge to use as a dead-letter queue (DLQ).</p> <p>For more information, see <a href="eventbridge/latest/userguide/eb-rule-dlq.html">Event retry policy and using dead-letter queues</a> in the <i>EventBridge User Guide</i>.</p>
1117
/// - On failure, responds with [`SdkError<CreateEventBusError>`](crate::operation::create_event_bus::CreateEventBusError)
1218
pub fn create_event_bus(&self) -> crate::operation::create_event_bus::builders::CreateEventBusFluentBuilder {
1319
crate::operation::create_event_bus::builders::CreateEventBusFluentBuilder::new(self.handle.clone())

sdk/eventbridge/src/client/describe_event_bus.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ impl super::Client {
77
/// - On success, responds with [`DescribeEventBusOutput`](crate::operation::describe_event_bus::DescribeEventBusOutput) with field(s):
88
/// - [`name(Option<String>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::name): <p>The name of the event bus. Currently, this is always <code>default</code>.</p>
99
/// - [`arn(Option<String>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::arn): <p>The Amazon Resource Name (ARN) of the account permitted to write events to the current account.</p>
10+
/// - [`description(Option<String>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::description): <p>The event bus description.</p>
11+
/// - [`kms_key_identifier(Option<String>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::kms_key_identifier): <p>The identifier of the KMS customer managed key for EventBridge to use to encrypt events on this event bus, if one has been specified.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html">Data encryption in EventBridge</a> in the <i>Amazon EventBridge User Guide</i>.</p>
12+
/// - [`dead_letter_config(Option<DeadLetterConfig>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::dead_letter_config): <p>Configuration details of the Amazon SQS queue for EventBridge to use as a dead-letter queue (DLQ).</p> <p>For more information, see <a href="eventbridge/latest/userguide/eb-rule-dlq.html">Event retry policy and using dead-letter queues</a> in the <i>EventBridge User Guide</i>.</p>
1013
/// - [`policy(Option<String>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::policy): <p>The policy that enables the external account to send events to your account.</p>
14+
/// - [`creation_time(Option<DateTime>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::creation_time): <p>The time the event bus was created.</p>
15+
/// - [`last_modified_time(Option<DateTime>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::last_modified_time): <p>The time the event bus was last modified.</p>
1116
/// - On failure, responds with [`SdkError<DescribeEventBusError>`](crate::operation::describe_event_bus::DescribeEventBusError)
1217
pub fn describe_event_bus(&self) -> crate::operation::describe_event_bus::builders::DescribeEventBusFluentBuilder {
1318
crate::operation::describe_event_bus::builders::DescribeEventBusFluentBuilder::new(self.handle.clone())

sdk/eventbridge/src/client/describe_rule.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ impl super::Client {
88
/// - On success, responds with [`DescribeRuleOutput`](crate::operation::describe_rule::DescribeRuleOutput) with field(s):
99
/// - [`name(Option<String>)`](crate::operation::describe_rule::DescribeRuleOutput::name): <p>The name of the rule.</p>
1010
/// - [`arn(Option<String>)`](crate::operation::describe_rule::DescribeRuleOutput::arn): <p>The Amazon Resource Name (ARN) of the rule.</p>
11-
/// - [`event_pattern(Option<String>)`](crate::operation::describe_rule::DescribeRuleOutput::event_pattern): <p>The event pattern. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html">Events and Event Patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
11+
/// - [`event_pattern(Option<String>)`](crate::operation::describe_rule::DescribeRuleOutput::event_pattern): <p>The event pattern. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html">Events and Event Patterns</a> in the <i> <i>Amazon EventBridge User Guide</i> </i>.</p>
1212
/// - [`schedule_expression(Option<String>)`](crate::operation::describe_rule::DescribeRuleOutput::schedule_expression): <p>The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".</p>
1313
/// - [`state(Option<RuleState>)`](crate::operation::describe_rule::DescribeRuleOutput::state): <p>Specifies whether the rule is enabled or disabled.</p>
1414
/// - [`description(Option<String>)`](crate::operation::describe_rule::DescribeRuleOutput::description): <p>The description of the rule.</p>

0 commit comments

Comments
 (0)