aws_sdk_customerprofiles/client/
batch_get_profile.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`BatchGetProfile`](crate::operation::batch_get_profile::builders::BatchGetProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::batch_get_profile::builders::BatchGetProfileFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::batch_get_profile::builders::BatchGetProfileFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
    ///   - [`profile_ids(impl Into<String>)`](crate::operation::batch_get_profile::builders::BatchGetProfileFluentBuilder::profile_ids) / [`set_profile_ids(Option<Vec::<String>>)`](crate::operation::batch_get_profile::builders::BatchGetProfileFluentBuilder::set_profile_ids):<br>required: **true**<br><p>List of unique identifiers for customer profiles to retrieve.</p><br>
    /// - On success, responds with [`BatchGetProfileOutput`](crate::operation::batch_get_profile::BatchGetProfileOutput) with field(s):
    ///   - [`errors(Option<Vec::<BatchGetProfileError>>)`](crate::operation::batch_get_profile::BatchGetProfileOutput::errors): <p>For information about the errors that are common to all actions, see <a href="https://docs.aws.amazon.com/connect/latest/APIReference/CommonErrors.html">Common Errors</a>.</p>
    ///   - [`profiles(Option<Vec::<Profile>>)`](crate::operation::batch_get_profile::BatchGetProfileOutput::profiles): <p>Array of Profile Objects.</p>
    /// - On failure, responds with [`SdkError<BatchGetProfileError>`](crate::operation::batch_get_profile::BatchGetProfileError)
    pub fn batch_get_profile(&self) -> crate::operation::batch_get_profile::builders::BatchGetProfileFluentBuilder {
        crate::operation::batch_get_profile::builders::BatchGetProfileFluentBuilder::new(self.handle.clone())
    }
}