Struct aws_sdk_eventbridge::client::fluent_builders::PutEvents
source · [−]pub struct PutEvents { /* private fields */ }
Expand description
Fluent builder constructing a request to PutEvents
.
Sends custom events to Amazon EventBridge so that they can be matched to rules.
PutEvents will only process nested JSON up to 1100 levels deep.
Implementations
sourceimpl PutEvents
impl PutEvents
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<PutEvents, AwsResponseRetryClassifier>, SdkError<PutEventsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<PutEvents, AwsResponseRetryClassifier>, SdkError<PutEventsError>>
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<PutEventsOutput, SdkError<PutEventsError>>
pub async fn send(self) -> Result<PutEventsOutput, SdkError<PutEventsError>>
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: PutEventsRequestEntry) -> Self
pub fn entries(self, input: PutEventsRequestEntry) -> Self
Appends an item to Entries
.
To override the contents of this collection use set_entries
.
The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.
sourcepub fn set_entries(self, input: Option<Vec<PutEventsRequestEntry>>) -> Self
pub fn set_entries(self, input: Option<Vec<PutEventsRequestEntry>>) -> Self
The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.
sourcepub fn endpoint_id(self, input: impl Into<String>) -> Self
pub fn endpoint_id(self, input: impl Into<String>) -> Self
The URL subdomain of the endpoint. For example, if the URL for Endpoint is abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.
When using Java, you must include auth-crt
on the class path.
sourcepub fn set_endpoint_id(self, input: Option<String>) -> Self
pub fn set_endpoint_id(self, input: Option<String>) -> Self
The URL subdomain of the endpoint. For example, if the URL for Endpoint is abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.
When using Java, you must include auth-crt
on the class path.