Struct aws_sdk_eventbridge::operation::describe_event_bus::builders::DescribeEventBusFluentBuilder
source · pub struct DescribeEventBusFluentBuilder { /* private fields */ }
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§
source§impl DescribeEventBusFluentBuilder
impl DescribeEventBusFluentBuilder
sourcepub fn as_input(&self) -> &DescribeEventBusInputBuilder
pub fn as_input(&self) -> &DescribeEventBusInputBuilder
Access the DescribeEventBus as a reference.
sourcepub async fn send(
self
) -> Result<DescribeEventBusOutput, SdkError<DescribeEventBusError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeEventBusOutput, SdkError<DescribeEventBusError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<DescribeEventBusOutput, DescribeEventBusError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeEventBusOutput, DescribeEventBusError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name or ARN of the event bus to show details for. If you omit this, the default event bus is displayed.
Trait Implementations§
source§impl Clone for DescribeEventBusFluentBuilder
impl Clone for DescribeEventBusFluentBuilder
source§fn clone(&self) -> DescribeEventBusFluentBuilder
fn clone(&self) -> DescribeEventBusFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DescribeEventBusFluentBuilder
impl !RefUnwindSafe for DescribeEventBusFluentBuilder
impl Send for DescribeEventBusFluentBuilder
impl Sync for DescribeEventBusFluentBuilder
impl Unpin for DescribeEventBusFluentBuilder
impl !UnwindSafe for DescribeEventBusFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more