Struct aws_sdk_eventbridge::client::fluent_builders::CreateEventBus
source · [−]pub struct CreateEventBus<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateEventBus
.
Creates a new event bus within your account. This can be a custom event bus which you can use to receive events from your custom applications and services, or it can be a partner event bus which can be matched to a partner event source.
Implementations
impl<C, M, R> CreateEventBus<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateEventBus<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateEventBusOutput, SdkError<CreateEventBusError>> where
R::Policy: SmithyRetryPolicy<CreateEventBusInputOperationOutputAlias, CreateEventBusOutput, CreateEventBusError, CreateEventBusInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateEventBusOutput, SdkError<CreateEventBusError>> where
R::Policy: SmithyRetryPolicy<CreateEventBusInputOperationOutputAlias, CreateEventBusOutput, CreateEventBusError, CreateEventBusInputOperationRetryAlias>,
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 of the new event bus.
Event bus names cannot contain the / character. You can't use the name default
for a custom event bus, as this name is already used for your account's default event bus.
If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.
The name of the new event bus.
Event bus names cannot contain the / character. You can't use the name default
for a custom event bus, as this name is already used for your account's default event bus.
If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
Tags to associate with the event bus.
Tags to associate with the event bus.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateEventBus<C, M, R>
impl<C, M, R> Send for CreateEventBus<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateEventBus<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateEventBus<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateEventBus<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