aws_sdk_customerprofiles/client/batch_get_profile.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`BatchGetProfile`](crate::operation::batch_get_profile::builders::BatchGetProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`BatchGetProfileOutput`](crate::operation::batch_get_profile::BatchGetProfileOutput) with field(s):
9 /// - [`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>
10 /// - [`profiles(Option<Vec::<Profile>>)`](crate::operation::batch_get_profile::BatchGetProfileOutput::profiles): <p>Array of Profile Objects.</p>
11 /// - On failure, responds with [`SdkError<BatchGetProfileError>`](crate::operation::batch_get_profile::BatchGetProfileError)
12 pub fn batch_get_profile(&self) -> crate::operation::batch_get_profile::builders::BatchGetProfileFluentBuilder {
13 crate::operation::batch_get_profile::builders::BatchGetProfileFluentBuilder::new(self.handle.clone())
14 }
15}