aws_sdk_invoicing/client/
batch_get_invoice_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 [`BatchGetInvoiceProfile`](crate::operation::batch_get_invoice_profile::builders::BatchGetInvoiceProfileFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`account_ids(impl Into<String>)`](crate::operation::batch_get_invoice_profile::builders::BatchGetInvoiceProfileFluentBuilder::account_ids) / [`set_account_ids(Option<Vec::<String>>)`](crate::operation::batch_get_invoice_profile::builders::BatchGetInvoiceProfileFluentBuilder::set_account_ids):<br>required: **true**<br><p>Retrieves the corresponding invoice profile data for these account IDs.</p><br>
7    /// - On success, responds with [`BatchGetInvoiceProfileOutput`](crate::operation::batch_get_invoice_profile::BatchGetInvoiceProfileOutput) with field(s):
8    ///   - [`profiles(Option<Vec::<InvoiceProfile>>)`](crate::operation::batch_get_invoice_profile::BatchGetInvoiceProfileOutput::profiles): <p>A list of invoice profiles corresponding to the requested accounts.</p>
9    /// - On failure, responds with [`SdkError<BatchGetInvoiceProfileError>`](crate::operation::batch_get_invoice_profile::BatchGetInvoiceProfileError)
10    pub fn batch_get_invoice_profile(&self) -> crate::operation::batch_get_invoice_profile::builders::BatchGetInvoiceProfileFluentBuilder {
11        crate::operation::batch_get_invoice_profile::builders::BatchGetInvoiceProfileFluentBuilder::new(self.handle.clone())
12    }
13}