#[non_exhaustive]pub struct SearchAssociatedTranscriptsInput { /* private fields */ }Implementations§
source§impl SearchAssociatedTranscriptsInput
impl SearchAssociatedTranscriptsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SearchAssociatedTranscripts, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SearchAssociatedTranscripts, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<SearchAssociatedTranscripts>
Examples found in repository?
7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::SearchAssociatedTranscripts,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::SearchAssociatedTranscriptsError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::SearchAssociatedTranscriptsOutput,
aws_smithy_http::result::SdkError<crate::error::SearchAssociatedTranscriptsError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SearchAssociatedTranscriptsInput.
source§impl SearchAssociatedTranscriptsInput
impl SearchAssociatedTranscriptsInput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The unique identifier of the bot associated with the transcripts that you are searching.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot containing the transcripts that you are searching.
sourcepub fn locale_id(&self) -> Option<&str>
pub fn locale_id(&self) -> Option<&str>
The identifier of the language and locale of the transcripts to search. The string must match one of the supported locales. For more information, see Supported languages
sourcepub fn bot_recommendation_id(&self) -> Option<&str>
pub fn bot_recommendation_id(&self) -> Option<&str>
The unique identifier of the bot recommendation associated with the transcripts to search.
sourcepub fn search_order(&self) -> Option<&SearchOrder>
pub fn search_order(&self) -> Option<&SearchOrder>
How SearchResults are ordered. Valid values are Ascending or Descending. The default is Descending.
sourcepub fn filters(&self) -> Option<&[AssociatedTranscriptFilter]>
pub fn filters(&self) -> Option<&[AssociatedTranscriptFilter]>
A list of filter objects.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of bot recommendations to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
sourcepub fn next_index(&self) -> Option<i32>
pub fn next_index(&self) -> Option<i32>
If the response from the SearchAssociatedTranscriptsRequest operation contains more results than specified in the maxResults parameter, an index is returned in the response. Use that index in the nextIndex parameter to return the next page of results.
Trait Implementations§
source§impl Clone for SearchAssociatedTranscriptsInput
impl Clone for SearchAssociatedTranscriptsInput
source§fn clone(&self) -> SearchAssociatedTranscriptsInput
fn clone(&self) -> SearchAssociatedTranscriptsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more