Struct aws_sdk_eventbridge::client::fluent_builders::CreatePartnerEventSource [−][src]
pub struct CreatePartnerEventSource<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreatePartnerEventSource
.
Called by an SaaS partner to create a partner event source. This operation is not used by Amazon Web Services customers.
Each partner event source can be used by one Amazon Web Services account to create a matching partner event bus in that Amazon Web Services account. A SaaS partner must create one partner event source for each Amazon Web Services account that wants to receive those event types.
A partner event source creates events based on resources within the SaaS partner's service or application.
An Amazon Web Services account that creates a partner event bus that matches the partner event source can use that event bus to receive events from the partner, and then process them using Amazon Web Services Events rules and targets.
Partner event source names follow this format:
partner_name/event_namespace/event_name
partner_name is determined during partner registration and identifies the partner to Amazon Web Services customers. event_namespace is determined by the partner and is a way for the partner to categorize their events. event_name is determined by the partner, and should uniquely identify an event-generating resource within the partner system. The combination of event_namespace and event_name should help Amazon Web Services customers decide whether to create an event bus to receive these events.
Implementations
impl<C, M, R> CreatePartnerEventSource<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreatePartnerEventSource<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreatePartnerEventSourceOutput, SdkError<CreatePartnerEventSourceError>> where
R::Policy: SmithyRetryPolicy<CreatePartnerEventSourceInputOperationOutputAlias, CreatePartnerEventSourceOutput, CreatePartnerEventSourceError, CreatePartnerEventSourceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreatePartnerEventSourceOutput, SdkError<CreatePartnerEventSourceError>> where
R::Policy: SmithyRetryPolicy<CreatePartnerEventSourceInputOperationOutputAlias, CreatePartnerEventSourceOutput, CreatePartnerEventSourceError, CreatePartnerEventSourceInputOperationRetryAlias>,
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 partner event source. This name must be unique and must be in the format
partner_name/event_namespace/event_name
.
The Amazon Web Services account that wants to use this partner event source must create a partner event bus
with a name that matches the name of the partner event source.
The name of the partner event source. This name must be unique and must be in the format
partner_name/event_namespace/event_name
.
The Amazon Web Services account that wants to use this partner event source must create a partner event bus
with a name that matches the name of the partner event source.
The Amazon Web Services account ID that is permitted to create a matching partner event bus for this partner event source.
The Amazon Web Services account ID that is permitted to create a matching partner event bus for this partner event source.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreatePartnerEventSource<C, M, R>
impl<C, M, R> Send for CreatePartnerEventSource<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreatePartnerEventSource<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreatePartnerEventSource<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreatePartnerEventSource<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