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§
source§impl CreateEventIntegration
impl CreateEventIntegration
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateEventIntegration, AwsResponseRetryClassifier>, SdkError<CreateEventIntegrationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateEventIntegration, AwsResponseRetryClassifier>, SdkError<CreateEventIntegrationError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
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§
source§impl Clone for CreateEventIntegration
impl Clone for CreateEventIntegration
source§fn clone(&self) -> CreateEventIntegration
fn clone(&self) -> CreateEventIntegration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more