Struct aws_sdk_iotfleetwise::operation::get_register_account_status::GetRegisterAccountStatusOutput
source · #[non_exhaustive]pub struct GetRegisterAccountStatusOutput {
pub customer_account_id: Option<String>,
pub account_status: Option<RegistrationStatus>,
pub timestream_registration_response: Option<TimestreamRegistrationResponse>,
pub iam_registration_response: Option<IamRegistrationResponse>,
pub creation_time: Option<DateTime>,
pub last_modification_time: Option<DateTime>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.customer_account_id: Option<String>
The unique ID of the Amazon Web Services account, provided at account creation.
account_status: Option<RegistrationStatus>
The status of registering your account and resources. The status can be one of:
-
REGISTRATION_SUCCESS
- The Amazon Web Services resource is successfully registered. -
REGISTRATION_PENDING
- Amazon Web Services IoT FleetWise is processing the registration request. This process takes approximately five minutes to complete. -
REGISTRATION_FAILURE
- Amazon Web Services IoT FleetWise can't register the AWS resource. Try again later.
timestream_registration_response: Option<TimestreamRegistrationResponse>
Information about the registered Amazon Timestream resources or errors, if any.
iam_registration_response: Option<IamRegistrationResponse>
Information about the registered IAM resources or errors, if any.
creation_time: Option<DateTime>
The time the account was registered, in seconds since epoch (January 1, 1970 at midnight UTC time).
last_modification_time: Option<DateTime>
The time this registration was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time).
Implementations§
source§impl GetRegisterAccountStatusOutput
impl GetRegisterAccountStatusOutput
sourcepub fn customer_account_id(&self) -> Option<&str>
pub fn customer_account_id(&self) -> Option<&str>
The unique ID of the Amazon Web Services account, provided at account creation.
sourcepub fn account_status(&self) -> Option<&RegistrationStatus>
pub fn account_status(&self) -> Option<&RegistrationStatus>
The status of registering your account and resources. The status can be one of:
-
REGISTRATION_SUCCESS
- The Amazon Web Services resource is successfully registered. -
REGISTRATION_PENDING
- Amazon Web Services IoT FleetWise is processing the registration request. This process takes approximately five minutes to complete. -
REGISTRATION_FAILURE
- Amazon Web Services IoT FleetWise can't register the AWS resource. Try again later.
sourcepub fn timestream_registration_response(
&self
) -> Option<&TimestreamRegistrationResponse>
pub fn timestream_registration_response( &self ) -> Option<&TimestreamRegistrationResponse>
Information about the registered Amazon Timestream resources or errors, if any.
sourcepub fn iam_registration_response(&self) -> Option<&IamRegistrationResponse>
pub fn iam_registration_response(&self) -> Option<&IamRegistrationResponse>
Information about the registered IAM resources or errors, if any.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time the account was registered, in seconds since epoch (January 1, 1970 at midnight UTC time).
sourcepub fn last_modification_time(&self) -> Option<&DateTime>
pub fn last_modification_time(&self) -> Option<&DateTime>
The time this registration was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time).
source§impl GetRegisterAccountStatusOutput
impl GetRegisterAccountStatusOutput
sourcepub fn builder() -> GetRegisterAccountStatusOutputBuilder
pub fn builder() -> GetRegisterAccountStatusOutputBuilder
Creates a new builder-style object to manufacture GetRegisterAccountStatusOutput
.
Trait Implementations§
source§impl Clone for GetRegisterAccountStatusOutput
impl Clone for GetRegisterAccountStatusOutput
source§fn clone(&self) -> GetRegisterAccountStatusOutput
fn clone(&self) -> GetRegisterAccountStatusOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<GetRegisterAccountStatusOutput> for GetRegisterAccountStatusOutput
impl PartialEq<GetRegisterAccountStatusOutput> for GetRegisterAccountStatusOutput
source§fn eq(&self, other: &GetRegisterAccountStatusOutput) -> bool
fn eq(&self, other: &GetRegisterAccountStatusOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetRegisterAccountStatusOutput
impl RequestId for GetRegisterAccountStatusOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.