Struct aws_sdk_inspector::error::InvalidCrossAccountRoleException [−][src]
#[non_exhaustive]pub struct InvalidCrossAccountRoleException {
pub message: Option<String>,
pub error_code: Option<InvalidCrossAccountRoleErrorCode>,
pub can_retry: Option<bool>,
}Expand description
Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 instances during the assessment run.
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.message: Option<String>Details of the exception error.
error_code: Option<InvalidCrossAccountRoleErrorCode>Code that indicates the type of error that is generated.
can_retry: Option<bool>You can immediately retry your request.
Implementations
Code that indicates the type of error that is generated.
Creates a new builder-style object to manufacture InvalidCrossAccountRoleException
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for InvalidCrossAccountRoleException
impl Sync for InvalidCrossAccountRoleException
impl Unpin for InvalidCrossAccountRoleException
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
