Struct aws_sdk_wisdom::operation::notify_recommendations_received::builders::NotifyRecommendationsReceivedFluentBuilder
source · pub struct NotifyRecommendationsReceivedFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to NotifyRecommendationsReceived
.
Removes the specified recommendations from the specified assistant's queue of newly available recommendations. You can use this API in conjunction with GetRecommendations and a waitTimeSeconds
input for long-polling behavior and avoiding duplicate recommendations.
Implementations§
source§impl NotifyRecommendationsReceivedFluentBuilder
impl NotifyRecommendationsReceivedFluentBuilder
sourcepub fn as_input(&self) -> &NotifyRecommendationsReceivedInputBuilder
pub fn as_input(&self) -> &NotifyRecommendationsReceivedInputBuilder
Access the NotifyRecommendationsReceived as a reference.
sourcepub async fn send(
self
) -> Result<NotifyRecommendationsReceivedOutput, SdkError<NotifyRecommendationsReceivedError, HttpResponse>>
pub async fn send( self ) -> Result<NotifyRecommendationsReceivedOutput, SdkError<NotifyRecommendationsReceivedError, 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<NotifyRecommendationsReceivedOutput, NotifyRecommendationsReceivedError, Self>
pub fn customize( self ) -> CustomizableOperation<NotifyRecommendationsReceivedOutput, NotifyRecommendationsReceivedError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn assistant_id(self, input: impl Into<String>) -> Self
pub fn assistant_id(self, input: impl Into<String>) -> Self
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn set_assistant_id(self, input: Option<String>) -> Self
pub fn set_assistant_id(self, input: Option<String>) -> Self
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn get_assistant_id(&self) -> &Option<String>
pub fn get_assistant_id(&self) -> &Option<String>
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn get_session_id(&self) -> &Option<String>
pub fn get_session_id(&self) -> &Option<String>
The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn recommendation_ids(self, input: impl Into<String>) -> Self
pub fn recommendation_ids(self, input: impl Into<String>) -> Self
Appends an item to recommendationIds
.
To override the contents of this collection use set_recommendation_ids
.
The identifiers of the recommendations.
sourcepub fn set_recommendation_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_recommendation_ids(self, input: Option<Vec<String>>) -> Self
The identifiers of the recommendations.
sourcepub fn get_recommendation_ids(&self) -> &Option<Vec<String>>
pub fn get_recommendation_ids(&self) -> &Option<Vec<String>>
The identifiers of the recommendations.
Trait Implementations§
source§impl Clone for NotifyRecommendationsReceivedFluentBuilder
impl Clone for NotifyRecommendationsReceivedFluentBuilder
source§fn clone(&self) -> NotifyRecommendationsReceivedFluentBuilder
fn clone(&self) -> NotifyRecommendationsReceivedFluentBuilder
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 NotifyRecommendationsReceivedFluentBuilder
impl !RefUnwindSafe for NotifyRecommendationsReceivedFluentBuilder
impl Send for NotifyRecommendationsReceivedFluentBuilder
impl Sync for NotifyRecommendationsReceivedFluentBuilder
impl Unpin for NotifyRecommendationsReceivedFluentBuilder
impl !UnwindSafe for NotifyRecommendationsReceivedFluentBuilder
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