amazonka-iam-2.0: Amazon Identity and Access Management SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • reason :: Maybe Text

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

  • 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.

Instances

Instances details
FromXML 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 #

Read DeletionTaskFailureReasonType Source # 
Instance details

Defined in Amazonka.IAM.Types.DeletionTaskFailureReasonType

Show DeletionTaskFailureReasonType Source # 
Instance details

Defined in Amazonka.IAM.Types.DeletionTaskFailureReasonType

NFData DeletionTaskFailureReasonType Source # 
Instance details

Defined in Amazonka.IAM.Types.DeletionTaskFailureReasonType

Eq DeletionTaskFailureReasonType Source # 
Instance details

Defined in Amazonka.IAM.Types.DeletionTaskFailureReasonType

Hashable 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" "amazonka-iam-2.0-5DxkArXx9sD3CCYYGFyGET" 'False) (C1 ('MetaCons "DeletionTaskFailureReasonType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleUsageList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RoleUsageType]))))

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:reason:DeletionTaskFailureReasonType', deletionTaskFailureReasonType_reason - A short description of the reason that the service-linked role deletion failed.

$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.

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

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.