You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IAM::Types::DeletionTaskFailureReasonType

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

The reason that the service-linked role deletion failed.

This data type is used as a response element in the GetServiceLinkedRoleDeletionStatus operation.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#reasonString

A short description of the reason that the service-linked role deletion failed.

Returns:

  • (String)

    A short description of the reason that the service-linked role deletion failed.

#role_usage_listArray<Types::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.

Returns:

  • (Array<Types::RoleUsageType>)

    A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service.