pub struct PutPartnerEvents { /* private fields */ }Expand description
Fluent builder constructing a request to PutPartnerEvents.
This is used by SaaS partners to write events to a customer's partner event bus. Amazon Web Services customers do not use this operation.
Implementations§
source§impl PutPartnerEvents
impl PutPartnerEvents
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<PutPartnerEvents, AwsResponseRetryClassifier>, SdkError<PutPartnerEventsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<PutPartnerEvents, AwsResponseRetryClassifier>, SdkError<PutPartnerEventsError>>
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<PutPartnerEventsOutput, SdkError<PutPartnerEventsError>>
pub async fn send(
self
) -> Result<PutPartnerEventsOutput, SdkError<PutPartnerEventsError>>
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 entries(self, input: PutPartnerEventsRequestEntry) -> Self
pub fn entries(self, input: PutPartnerEventsRequestEntry) -> Self
Appends an item to Entries.
To override the contents of this collection use set_entries.
The list of events to write to the event bus.
sourcepub fn set_entries(
self,
input: Option<Vec<PutPartnerEventsRequestEntry>>
) -> Self
pub fn set_entries(
self,
input: Option<Vec<PutPartnerEventsRequestEntry>>
) -> Self
The list of events to write to the event bus.
Trait Implementations§
source§impl Clone for PutPartnerEvents
impl Clone for PutPartnerEvents
source§fn clone(&self) -> PutPartnerEvents
fn clone(&self) -> PutPartnerEvents
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more