pub struct Builder { /* private fields */ }
Expand description

Implementations§

The unique identifier of the bot associated with the transcripts that you are searching.

Examples found in repository?
src/client.rs (line 7550)
7549
7550
7551
7552
        pub fn bot_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.bot_id(input.into());
            self
        }

The unique identifier of the bot associated with the transcripts that you are searching.

Examples found in repository?
src/client.rs (line 7555)
7554
7555
7556
7557
        pub fn set_bot_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_bot_id(input);
            self
        }

The version of the bot containing the transcripts that you are searching.

Examples found in repository?
src/client.rs (line 7560)
7559
7560
7561
7562
        pub fn bot_version(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.bot_version(input.into());
            self
        }

The version of the bot containing the transcripts that you are searching.

Examples found in repository?
src/client.rs (line 7565)
7564
7565
7566
7567
        pub fn set_bot_version(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_bot_version(input);
            self
        }

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

Examples found in repository?
src/client.rs (line 7570)
7569
7570
7571
7572
        pub fn locale_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.locale_id(input.into());
            self
        }

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

Examples found in repository?
src/client.rs (line 7575)
7574
7575
7576
7577
        pub fn set_locale_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_locale_id(input);
            self
        }

The unique identifier of the bot recommendation associated with the transcripts to search.

Examples found in repository?
src/client.rs (line 7580)
7579
7580
7581
7582
        pub fn bot_recommendation_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.bot_recommendation_id(input.into());
            self
        }

The unique identifier of the bot recommendation associated with the transcripts to search.

Examples found in repository?
src/client.rs (line 7588)
7584
7585
7586
7587
7588
7589
7590
        pub fn set_bot_recommendation_id(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.inner = self.inner.set_bot_recommendation_id(input);
            self
        }

How SearchResults are ordered. Valid values are Ascending or Descending. The default is Descending.

Examples found in repository?
src/client.rs (line 7593)
7592
7593
7594
7595
        pub fn search_order(mut self, input: crate::model::SearchOrder) -> Self {
            self.inner = self.inner.search_order(input);
            self
        }

How SearchResults are ordered. Valid values are Ascending or Descending. The default is Descending.

Examples found in repository?
src/client.rs (line 7601)
7597
7598
7599
7600
7601
7602
7603
        pub fn set_search_order(
            mut self,
            input: std::option::Option<crate::model::SearchOrder>,
        ) -> Self {
            self.inner = self.inner.set_search_order(input);
            self
        }

Appends an item to filters.

To override the contents of this collection use set_filters.

A list of filter objects.

Examples found in repository?
src/client.rs (line 7610)
7609
7610
7611
7612
        pub fn filters(mut self, input: crate::model::AssociatedTranscriptFilter) -> Self {
            self.inner = self.inner.filters(input);
            self
        }

A list of filter objects.

Examples found in repository?
src/client.rs (line 7618)
7614
7615
7616
7617
7618
7619
7620
        pub fn set_filters(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::AssociatedTranscriptFilter>>,
        ) -> Self {
            self.inner = self.inner.set_filters(input);
            self
        }

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.

Examples found in repository?
src/client.rs (line 7623)
7622
7623
7624
7625
        pub fn max_results(mut self, input: i32) -> Self {
            self.inner = self.inner.max_results(input);
            self
        }

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.

Examples found in repository?
src/client.rs (line 7628)
7627
7628
7629
7630
        pub fn set_max_results(mut self, input: std::option::Option<i32>) -> Self {
            self.inner = self.inner.set_max_results(input);
            self
        }

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.

Examples found in repository?
src/client.rs (line 7633)
7632
7633
7634
7635
        pub fn next_index(mut self, input: i32) -> Self {
            self.inner = self.inner.next_index(input);
            self
        }

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.

Examples found in repository?
src/client.rs (line 7638)
7637
7638
7639
7640
        pub fn set_next_index(mut self, input: std::option::Option<i32>) -> Self {
            self.inner = self.inner.set_next_index(input);
            self
        }

Consumes the builder and constructs a SearchAssociatedTranscriptsInput.

Examples found in repository?
src/client.rs (line 7517)
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
        }

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more