libZSservicesZSamazonka-iamZSamazonka-iam
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IAM.Types.DeletionTaskFailureReasonType

Description

 
Synopsis

Documentation

data DeletionTaskFailureReasonType Source #

The reason that the service-linked role deletion failed.

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

See: newDeletionTaskFailureReasonType smart constructor.

Constructors

DeletionTaskFailureReasonType' 

Fields

  • roleUsageList :: Maybe [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.

  • reason :: Maybe Text

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

Instances

Instances details
Eq DeletionTaskFailureReasonType Source # 
Instance details

Defined in Amazonka.IAM.Types.DeletionTaskFailureReasonType

Read DeletionTaskFailureReasonType Source # 
Instance details

Defined in Amazonka.IAM.Types.DeletionTaskFailureReasonType

Show DeletionTaskFailureReasonType Source # 
Instance details

Defined in Amazonka.IAM.Types.DeletionTaskFailureReasonType

Generic DeletionTaskFailureReasonType Source # 
Instance details

Defined in Amazonka.IAM.Types.DeletionTaskFailureReasonType

Associated Types

type Rep DeletionTaskFailureReasonType :: Type -> Type #

NFData DeletionTaskFailureReasonType Source # 
Instance details

Defined in Amazonka.IAM.Types.DeletionTaskFailureReasonType

Hashable DeletionTaskFailureReasonType Source # 
Instance details

Defined in Amazonka.IAM.Types.DeletionTaskFailureReasonType

FromXML DeletionTaskFailureReasonType Source # 
Instance details

Defined in Amazonka.IAM.Types.DeletionTaskFailureReasonType

type Rep DeletionTaskFailureReasonType Source # 
Instance details

Defined in Amazonka.IAM.Types.DeletionTaskFailureReasonType

type Rep DeletionTaskFailureReasonType = D1 ('MetaData "DeletionTaskFailureReasonType" "Amazonka.IAM.Types.DeletionTaskFailureReasonType" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "DeletionTaskFailureReasonType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleUsageList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RoleUsageType])) :*: S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDeletionTaskFailureReasonType :: DeletionTaskFailureReasonType Source #

Create a value of DeletionTaskFailureReasonType with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:roleUsageList:DeletionTaskFailureReasonType', deletionTaskFailureReasonType_roleUsageList - 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.

$sel:reason:DeletionTaskFailureReasonType', deletionTaskFailureReasonType_reason - A short description of the reason that the service-linked role deletion failed.

deletionTaskFailureReasonType_roleUsageList :: Lens' DeletionTaskFailureReasonType (Maybe [RoleUsageType]) Source #

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.

deletionTaskFailureReasonType_reason :: Lens' DeletionTaskFailureReasonType (Maybe Text) Source #

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