aws-sdk-eventbridgev2 1.2.0

AWS SDK for Amazon EventBridgeV2
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeEventBus`](crate::operation::describe_event_bus::builders::DescribeEventBusFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`event_bus_arn(impl Into<String>)`](crate::operation::describe_event_bus::builders::DescribeEventBusFluentBuilder::event_bus_arn) / [`set_event_bus_arn(Option<String>)`](crate::operation::describe_event_bus::builders::DescribeEventBusFluentBuilder::set_event_bus_arn):<br>required: **true**<br>The Amazon Resource Name (ARN) that uniquely identifies an event bus.<br>
    /// - On success, responds with [`DescribeEventBusOutput`](crate::operation::describe_event_bus::DescribeEventBusOutput) with field(s):
    ///   - [`event_bus_arn(Option<String>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::event_bus_arn): The Amazon Resource Name (ARN) that uniquely identifies an event bus.
    ///   - [`name(Option<String>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::name): Name of an event bus. The first character must be alphanumeric; the remaining characters may also include '.', '-', and '_'. The grammar matches the name segment of EventBusArn (event-busv2/<name>  /  <id>   ), so every valid name can be represented in the bus's ARN. The same type is used everywhere a bus name appears.  </id> </name>
    ///   - [`description(Option<String>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::description): Free-text description. Used by every resource type that has one: event buses, subscribers, and event sources.
    ///   - [`encryption_configuration(Option<EncryptionConfiguration>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::encryption_configuration): Encryption configuration for an event bus.
    ///   - [`storage_configuration(Option<StorageConfigurationOutput>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::storage_configuration): Event storage configuration of an event bus, as returned on reads.
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::creation_time): The time the event bus was created.
    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::last_modified_time): The time the event bus was last modified.
    ///   - [`state(Option<BusState>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::state): Lifecycle state of an event bus. - CREATING: Bus creation is in progress. - CREATE_FAILED: Bus creation failed; see StateReason. The bus cannot be recovered or recreated in place: delete it with DeleteEventBus, then create a new bus. - ACTIVE: Bus is fully operational and can accept events. - UPDATING: Bus update is in progress. - UPDATE_FAILED: Bus update failed; the bus remains operational with its previous configuration. - DELETING: Bus deletion is actively in progress. - DELETE_FAILED: Bus deletion failed; see StateReason. Retry DeleteEventBus after removing subscribers and event sources.
    ///   - [`state_reason(Option<String>)`](crate::operation::describe_event_bus::DescribeEventBusOutput::state_reason): Human-readable explanation of why an event bus is in its current State. Omitted when the bus is in a normal operational state (ACTIVE). It stands in for the error response an asynchronous failure cannot return, so it applies only to resources with an asynchronous lifecycle: event buses. EventSources and subscribers are provisioned synchronously and report failures directly on the request.
    /// - On failure, responds with [`SdkError<DescribeEventBusError>`](crate::operation::describe_event_bus::DescribeEventBusError)
    pub fn describe_event_bus(&self) -> crate::operation::describe_event_bus::builders::DescribeEventBusFluentBuilder {
        crate::operation::describe_event_bus::builders::DescribeEventBusFluentBuilder::new(self.handle.clone())
    }
}