#[non_exhaustive]pub struct IamRegistrationResponse {
pub role_arn: String,
pub registration_status: RegistrationStatus,
pub error_message: Option<String>,
}
Expand description
Information about registering an Identity and Access Management (IAM) resource so Amazon Web Services IoT FleetWise edge agent software can transfer your vehicle data to Amazon Timestream.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.role_arn: String
The Amazon Resource Name (ARN) of the IAM role to register.
registration_status: RegistrationStatus
The status of registering your IAM resource. The status can be one of REGISTRATION_SUCCESS
, REGISTRATION_PENDING
, REGISTRATION_FAILURE
.
error_message: Option<String>
A message associated with a registration error.
Implementations§
source§impl IamRegistrationResponse
impl IamRegistrationResponse
sourcepub fn registration_status(&self) -> &RegistrationStatus
pub fn registration_status(&self) -> &RegistrationStatus
The status of registering your IAM resource. The status can be one of REGISTRATION_SUCCESS
, REGISTRATION_PENDING
, REGISTRATION_FAILURE
.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
A message associated with a registration error.
source§impl IamRegistrationResponse
impl IamRegistrationResponse
sourcepub fn builder() -> IamRegistrationResponseBuilder
pub fn builder() -> IamRegistrationResponseBuilder
Creates a new builder-style object to manufacture IamRegistrationResponse
.
Trait Implementations§
source§impl Clone for IamRegistrationResponse
impl Clone for IamRegistrationResponse
source§fn clone(&self) -> IamRegistrationResponse
fn clone(&self) -> IamRegistrationResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IamRegistrationResponse
impl Debug for IamRegistrationResponse
source§impl PartialEq for IamRegistrationResponse
impl PartialEq for IamRegistrationResponse
source§fn eq(&self, other: &IamRegistrationResponse) -> bool
fn eq(&self, other: &IamRegistrationResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IamRegistrationResponse
Auto Trait Implementations§
impl RefUnwindSafe for IamRegistrationResponse
impl Send for IamRegistrationResponse
impl Sync for IamRegistrationResponse
impl Unpin for IamRegistrationResponse
impl UnwindSafe for IamRegistrationResponse
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.