aws_sdk_inspector2/client/
batch_get_free_trial_info.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 [`BatchGetFreeTrialInfo`](crate::operation::batch_get_free_trial_info::builders::BatchGetFreeTrialInfoFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`account_ids(impl Into<String>)`](crate::operation::batch_get_free_trial_info::builders::BatchGetFreeTrialInfoFluentBuilder::account_ids) / [`set_account_ids(Option<Vec::<String>>)`](crate::operation::batch_get_free_trial_info::builders::BatchGetFreeTrialInfoFluentBuilder::set_account_ids):<br>required: **true**<br><p>The account IDs to get free trial status for.</p><br>
7    /// - On success, responds with [`BatchGetFreeTrialInfoOutput`](crate::operation::batch_get_free_trial_info::BatchGetFreeTrialInfoOutput) with field(s):
8    ///   - [`accounts(Vec::<FreeTrialAccountInfo>)`](crate::operation::batch_get_free_trial_info::BatchGetFreeTrialInfoOutput::accounts): <p>An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.</p>
9    ///   - [`failed_accounts(Vec::<FreeTrialInfoError>)`](crate::operation::batch_get_free_trial_info::BatchGetFreeTrialInfoOutput::failed_accounts): <p>An array of objects detailing any accounts that free trial data could not be returned for.</p>
10    /// - On failure, responds with [`SdkError<BatchGetFreeTrialInfoError>`](crate::operation::batch_get_free_trial_info::BatchGetFreeTrialInfoError)
11    pub fn batch_get_free_trial_info(&self) -> crate::operation::batch_get_free_trial_info::builders::BatchGetFreeTrialInfoFluentBuilder {
12        crate::operation::batch_get_free_trial_info::builders::BatchGetFreeTrialInfoFluentBuilder::new(self.handle.clone())
13    }
14}