pub struct CreateEventIntegration { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateEventIntegration
.
Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No objects are created in the your account, only metadata that is persisted on the EventIntegration control plane.
Implementations
sourceimpl CreateEventIntegration
impl CreateEventIntegration
sourcepub async fn send(
self
) -> Result<CreateEventIntegrationOutput, SdkError<CreateEventIntegrationError>>
pub async fn send(
self
) -> Result<CreateEventIntegrationOutput, SdkError<CreateEventIntegrationError>>
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the event integration.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the event integration.
sourcepub fn event_filter(self, input: EventFilter) -> Self
pub fn event_filter(self, input: EventFilter) -> Self
The event filter.
sourcepub fn set_event_filter(self, input: Option<EventFilter>) -> Self
pub fn set_event_filter(self, input: Option<EventFilter>) -> Self
The event filter.
sourcepub fn event_bridge_bus(self, input: impl Into<String>) -> Self
pub fn event_bridge_bus(self, input: impl Into<String>) -> Self
The EventBridge bus.
sourcepub fn set_event_bridge_bus(self, input: Option<String>) -> Self
pub fn set_event_bridge_bus(self, input: Option<String>) -> Self
The EventBridge bus.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Adds a key-value pair to Tags
.
To override the contents of this collection use set_tags
.
One or more tags.
One or more tags.
Trait Implementations
sourceimpl Clone for CreateEventIntegration
impl Clone for CreateEventIntegration
sourcefn clone(&self) -> CreateEventIntegration
fn clone(&self) -> CreateEventIntegration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CreateEventIntegration
impl Send for CreateEventIntegration
impl Sync for CreateEventIntegration
impl Unpin for CreateEventIntegration
impl !UnwindSafe for CreateEventIntegration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more