Struct aws_sdk_eventbridge::client::fluent_builders::DescribeEventBus [−][src]
pub struct DescribeEventBus<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DescribeEventBus
.
Displays details about an event bus in your account. This can include the external Amazon Web Services accounts that are permitted to write events to your default event bus, and the associated policy. For custom event buses and partner event buses, it displays the name, ARN, policy, state, and creation time.
To enable your account to receive events from other accounts on its default event bus, use PutPermission.
For more information about partner event buses, see CreateEventBus.
Implementations
impl<C, M, R> DescribeEventBus<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeEventBus<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeEventBusOutput, SdkError<DescribeEventBusError>> where
R::Policy: SmithyRetryPolicy<DescribeEventBusInputOperationOutputAlias, DescribeEventBusOutput, DescribeEventBusError, DescribeEventBusInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeEventBusOutput, SdkError<DescribeEventBusError>> where
R::Policy: SmithyRetryPolicy<DescribeEventBusInputOperationOutputAlias, DescribeEventBusOutput, DescribeEventBusError, DescribeEventBusInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name or ARN of the event bus to show details for. If you omit this, the default event bus is displayed.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DescribeEventBus<C, M, R>
impl<C, M, R> Send for DescribeEventBus<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeEventBus<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeEventBus<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DescribeEventBus<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more