aws_sdk_freetier/client/get_account_plan_state.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 [`GetAccountPlanState`](crate::operation::get_account_plan_state::builders::GetAccountPlanStateFluentBuilder) operation.
4 ///
5 /// - The fluent builder takes no input, just [`send`](crate::operation::get_account_plan_state::builders::GetAccountPlanStateFluentBuilder::send) it.
6 /// - On success, responds with [`GetAccountPlanStateOutput`](crate::operation::get_account_plan_state::GetAccountPlanStateOutput) with field(s):
7 /// - [`account_id(String)`](crate::operation::get_account_plan_state::GetAccountPlanStateOutput::account_id): <p>A unique identifier that identifies the account.</p>
8 /// - [`account_plan_type(AccountPlanType)`](crate::operation::get_account_plan_state::GetAccountPlanStateOutput::account_plan_type): <p>The plan type for the account.</p>
9 /// - [`account_plan_status(AccountPlanStatus)`](crate::operation::get_account_plan_state::GetAccountPlanStateOutput::account_plan_status): <p>The current status for the account plan.</p>
10 /// - [`account_plan_remaining_credits(Option<MonetaryAmount>)`](crate::operation::get_account_plan_state::GetAccountPlanStateOutput::account_plan_remaining_credits): <p>The amount of credits remaining for the account.</p>
11 /// - [`account_plan_expiration_date(Option<DateTime>)`](crate::operation::get_account_plan_state::GetAccountPlanStateOutput::account_plan_expiration_date): <p>The timestamp for when the current account plan expires.</p>
12 /// - On failure, responds with [`SdkError<GetAccountPlanStateError>`](crate::operation::get_account_plan_state::GetAccountPlanStateError)
13 pub fn get_account_plan_state(&self) -> crate::operation::get_account_plan_state::builders::GetAccountPlanStateFluentBuilder {
14 crate::operation::get_account_plan_state::builders::GetAccountPlanStateFluentBuilder::new(self.handle.clone())
15 }
16}