Class: Aws::IAM::Types::DeletionTaskFailureReasonType
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::DeletionTaskFailureReasonType
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iam/types.rb
Overview
The reason that the service-linked role deletion failed.
This data type is used as a response element in the GetServiceLinkedRoleDeletionStatus operation.
Instance Attribute Summary collapse
-
#reason ⇒ String
A short description of the reason that the service-linked role deletion failed.
-
#role_usage_list ⇒ 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.
Instance Attribute Details
#reason ⇒ String
A short description of the reason that the service-linked role deletion failed.
2312 2313 2314 2315 2316 |
# File 'lib/aws-sdk-iam/types.rb', line 2312 class DeletionTaskFailureReasonType < Struct.new( :reason, :role_usage_list) include Aws::Structure end |
#role_usage_list ⇒ 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. 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.
2312 2313 2314 2315 2316 |
# File 'lib/aws-sdk-iam/types.rb', line 2312 class DeletionTaskFailureReasonType < Struct.new( :reason, :role_usage_list) include Aws::Structure end |