aws_sdk_guardduty/client/get_remaining_free_trial_days.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 [`GetRemainingFreeTrialDays`](crate::operation::get_remaining_free_trial_days::builders::GetRemainingFreeTrialDaysFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`detector_id(impl Into<String>)`](crate::operation::get_remaining_free_trial_days::builders::GetRemainingFreeTrialDaysFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::get_remaining_free_trial_days::builders::GetRemainingFreeTrialDaysFluentBuilder::set_detector_id):<br>required: **true**<br><p>The unique ID of the detector of the GuardDuty member account.</p> <p>To find the <code>detectorId</code> in the current Region, see the Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p><br>
7 /// - [`account_ids(impl Into<String>)`](crate::operation::get_remaining_free_trial_days::builders::GetRemainingFreeTrialDaysFluentBuilder::account_ids) / [`set_account_ids(Option<Vec::<String>>)`](crate::operation::get_remaining_free_trial_days::builders::GetRemainingFreeTrialDaysFluentBuilder::set_account_ids):<br>required: **false**<br><p>A list of account identifiers of the GuardDuty member account.</p><br>
8 /// - On success, responds with [`GetRemainingFreeTrialDaysOutput`](crate::operation::get_remaining_free_trial_days::GetRemainingFreeTrialDaysOutput) with field(s):
9 /// - [`accounts(Option<Vec::<AccountFreeTrialInfo>>)`](crate::operation::get_remaining_free_trial_days::GetRemainingFreeTrialDaysOutput::accounts): <p>The member accounts which were included in a request and were processed successfully.</p>
10 /// - [`unprocessed_accounts(Option<Vec::<UnprocessedAccount>>)`](crate::operation::get_remaining_free_trial_days::GetRemainingFreeTrialDaysOutput::unprocessed_accounts): <p>The member account that was included in a request but for which the request could not be processed.</p>
11 /// - On failure, responds with [`SdkError<GetRemainingFreeTrialDaysError>`](crate::operation::get_remaining_free_trial_days::GetRemainingFreeTrialDaysError)
12 pub fn get_remaining_free_trial_days(&self) -> crate::operation::get_remaining_free_trial_days::builders::GetRemainingFreeTrialDaysFluentBuilder {
13 crate::operation::get_remaining_free_trial_days::builders::GetRemainingFreeTrialDaysFluentBuilder::new(self.handle.clone())
14 }
15}