aws_sdk_securityir/client/
batch_get_member_account_details.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 [`BatchGetMemberAccountDetails`](crate::operation::batch_get_member_account_details::builders::BatchGetMemberAccountDetailsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`membership_id(impl Into<String>)`](crate::operation::batch_get_member_account_details::builders::BatchGetMemberAccountDetailsFluentBuilder::membership_id) / [`set_membership_id(Option<String>)`](crate::operation::batch_get_member_account_details::builders::BatchGetMemberAccountDetailsFluentBuilder::set_membership_id):<br>required: **true**<br><p>Required element used in combination with BatchGetMemberAccountDetails to identify the membership ID to query.</p><br>
7    ///   - [`account_ids(impl Into<String>)`](crate::operation::batch_get_member_account_details::builders::BatchGetMemberAccountDetailsFluentBuilder::account_ids) / [`set_account_ids(Option<Vec::<String>>)`](crate::operation::batch_get_member_account_details::builders::BatchGetMemberAccountDetailsFluentBuilder::set_account_ids):<br>required: **true**<br><p>Optional element to query the membership relationship status to a provided list of account IDs.</p><br>
8    /// - On success, responds with [`BatchGetMemberAccountDetailsOutput`](crate::operation::batch_get_member_account_details::BatchGetMemberAccountDetailsOutput) with field(s):
9    ///   - [`items(Option<Vec::<GetMembershipAccountDetailItem>>)`](crate::operation::batch_get_member_account_details::BatchGetMemberAccountDetailsOutput::items): <p>The response element providing responses for requests to GetMembershipAccountDetails.</p>
10    ///   - [`errors(Option<Vec::<GetMembershipAccountDetailError>>)`](crate::operation::batch_get_member_account_details::BatchGetMemberAccountDetailsOutput::errors): <p>The response element providing errors messages for requests to GetMembershipAccountDetails.</p>
11    /// - On failure, responds with [`SdkError<BatchGetMemberAccountDetailsError>`](crate::operation::batch_get_member_account_details::BatchGetMemberAccountDetailsError)
12    pub fn batch_get_member_account_details(
13        &self,
14    ) -> crate::operation::batch_get_member_account_details::builders::BatchGetMemberAccountDetailsFluentBuilder {
15        crate::operation::batch_get_member_account_details::builders::BatchGetMemberAccountDetailsFluentBuilder::new(self.handle.clone())
16    }
17}