aws_sdk_iotfleetwise/client/get_register_account_status.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetRegisterAccountStatus`](crate::operation::get_register_account_status::builders::GetRegisterAccountStatusFluentBuilder) operation.
///
/// - The fluent builder takes no input, just [`send`](crate::operation::get_register_account_status::builders::GetRegisterAccountStatusFluentBuilder::send) it.
/// - On success, responds with [`GetRegisterAccountStatusOutput`](crate::operation::get_register_account_status::GetRegisterAccountStatusOutput) with field(s):
/// - [`customer_account_id(String)`](crate::operation::get_register_account_status::GetRegisterAccountStatusOutput::customer_account_id): <p>The unique ID of the Amazon Web Services account, provided at account creation.</p>
/// - [`account_status(RegistrationStatus)`](crate::operation::get_register_account_status::GetRegisterAccountStatusOutput::account_status): <p>The status of registering your account and resources. The status can be one of:</p> <ul> <li> <p><code>REGISTRATION_SUCCESS</code> - The Amazon Web Services resource is successfully registered.</p></li> <li> <p><code>REGISTRATION_PENDING</code> - Amazon Web Services IoT FleetWise is processing the registration request. This process takes approximately five minutes to complete.</p></li> <li> <p><code>REGISTRATION_FAILURE</code> - Amazon Web Services IoT FleetWise can't register the AWS resource. Try again later.</p></li> </ul>
/// - [`timestream_registration_response(Option<TimestreamRegistrationResponse>)`](crate::operation::get_register_account_status::GetRegisterAccountStatusOutput::timestream_registration_response): <p>Information about the registered Amazon Timestream resources or errors, if any.</p>
/// - [`iam_registration_response(Option<IamRegistrationResponse>)`](crate::operation::get_register_account_status::GetRegisterAccountStatusOutput::iam_registration_response): <p>Information about the registered IAM resources or errors, if any.</p>
/// - [`creation_time(DateTime)`](crate::operation::get_register_account_status::GetRegisterAccountStatusOutput::creation_time): <p>The time the account was registered, in seconds since epoch (January 1, 1970 at midnight UTC time).</p>
/// - [`last_modification_time(DateTime)`](crate::operation::get_register_account_status::GetRegisterAccountStatusOutput::last_modification_time): <p>The time this registration was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time).</p>
/// - On failure, responds with [`SdkError<GetRegisterAccountStatusError>`](crate::operation::get_register_account_status::GetRegisterAccountStatusError)
pub fn get_register_account_status(&self) -> crate::operation::get_register_account_status::builders::GetRegisterAccountStatusFluentBuilder {
crate::operation::get_register_account_status::builders::GetRegisterAccountStatusFluentBuilder::new(self.handle.clone())
}
}