Struct aws_sdk_customerprofiles::operation::create_event_stream::builders::CreateEventStreamFluentBuilder
source · pub struct CreateEventStreamFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateEventStream
.
Creates an event stream, which is a subscription to real-time events, such as when profiles are created and updated through Amazon Connect Customer Profiles.
Each event stream can be associated with only one Kinesis Data Stream destination in the same region and Amazon Web Services account as the customer profiles domain
Implementations§
source§impl CreateEventStreamFluentBuilder
impl CreateEventStreamFluentBuilder
sourcepub fn as_input(&self) -> &CreateEventStreamInputBuilder
pub fn as_input(&self) -> &CreateEventStreamInputBuilder
Access the CreateEventStream as a reference.
sourcepub async fn send(
self
) -> Result<CreateEventStreamOutput, SdkError<CreateEventStreamError, HttpResponse>>
pub async fn send( self ) -> Result<CreateEventStreamOutput, SdkError<CreateEventStreamError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<CreateEventStreamOutput, CreateEventStreamError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateEventStreamOutput, CreateEventStreamError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The unique name of the domain.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The unique name of the domain.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The unique name of the domain.
sourcepub fn uri(self, input: impl Into<String>) -> Self
pub fn uri(self, input: impl Into<String>) -> Self
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name
sourcepub fn set_uri(self, input: Option<String>) -> Self
pub fn set_uri(self, input: Option<String>) -> Self
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name
sourcepub fn get_uri(&self) -> &Option<String>
pub fn get_uri(&self) -> &Option<String>
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name
sourcepub fn event_stream_name(self, input: impl Into<String>) -> Self
pub fn event_stream_name(self, input: impl Into<String>) -> Self
The name of the event stream.
sourcepub fn set_event_stream_name(self, input: Option<String>) -> Self
pub fn set_event_stream_name(self, input: Option<String>) -> Self
The name of the event stream.
sourcepub fn get_event_stream_name(&self) -> &Option<String>
pub fn get_event_stream_name(&self) -> &Option<String>
The name of the event stream.
Adds a key-value pair to Tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
Trait Implementations§
source§impl Clone for CreateEventStreamFluentBuilder
impl Clone for CreateEventStreamFluentBuilder
source§fn clone(&self) -> CreateEventStreamFluentBuilder
fn clone(&self) -> CreateEventStreamFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateEventStreamFluentBuilder
impl !RefUnwindSafe for CreateEventStreamFluentBuilder
impl Send for CreateEventStreamFluentBuilder
impl Sync for CreateEventStreamFluentBuilder
impl Unpin for CreateEventStreamFluentBuilder
impl !UnwindSafe for CreateEventStreamFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more