Struct aws_sdk_iam::model::DeletionTaskFailureReasonType
source · [−]#[non_exhaustive]pub struct DeletionTaskFailureReasonType { /* private fields */ }Expand description
The reason that the service-linked role deletion failed.
This data type is used as a response element in the GetServiceLinkedRoleDeletionStatus operation.
Implementations
sourceimpl DeletionTaskFailureReasonType
impl DeletionTaskFailureReasonType
sourcepub fn reason(&self) -> Option<&str>
pub fn reason(&self) -> Option<&str>
A short description of the reason that the service-linked role deletion failed.
sourcepub fn role_usage_list(&self) -> Option<&[RoleUsageType]>
pub fn role_usage_list(&self) -> Option<&[RoleUsageType]>
A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.
sourceimpl DeletionTaskFailureReasonType
impl DeletionTaskFailureReasonType
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeletionTaskFailureReasonType.
Trait Implementations
sourceimpl Clone for DeletionTaskFailureReasonType
impl Clone for DeletionTaskFailureReasonType
sourcefn clone(&self) -> DeletionTaskFailureReasonType
fn clone(&self) -> DeletionTaskFailureReasonType
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more