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

Description

Retrieves the status of your service-linked role deletion. After you use DeleteServiceLinkedRole to submit a service-linked role for deletion, you can use the DeletionTaskId parameter in GetServiceLinkedRoleDeletionStatus to check the status of the deletion. If the deletion fails, this operation returns the reason that it failed, if that information is returned by the service.

Synopsis

Creating a Request

data GetServiceLinkedRoleDeletionStatus Source #

Constructors

GetServiceLinkedRoleDeletionStatus' 

Fields

  • deletionTaskId :: Text

    The deletion task identifier. This identifier is returned by the DeleteServiceLinkedRole operation in the format task/aws-service-role/<service-principal-name>/<role-name>/<task-uuid>.

Instances

Instances details
Eq GetServiceLinkedRoleDeletionStatus Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

Read GetServiceLinkedRoleDeletionStatus Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

Show GetServiceLinkedRoleDeletionStatus Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

Generic GetServiceLinkedRoleDeletionStatus Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

Associated Types

type Rep GetServiceLinkedRoleDeletionStatus :: Type -> Type #

NFData GetServiceLinkedRoleDeletionStatus Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

Hashable GetServiceLinkedRoleDeletionStatus Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

AWSRequest GetServiceLinkedRoleDeletionStatus Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

ToHeaders GetServiceLinkedRoleDeletionStatus Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

ToPath GetServiceLinkedRoleDeletionStatus Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

ToQuery GetServiceLinkedRoleDeletionStatus Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

type Rep GetServiceLinkedRoleDeletionStatus Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

type Rep GetServiceLinkedRoleDeletionStatus = D1 ('MetaData "GetServiceLinkedRoleDeletionStatus" "Amazonka.IAM.GetServiceLinkedRoleDeletionStatus" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "GetServiceLinkedRoleDeletionStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deletionTaskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetServiceLinkedRoleDeletionStatus Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

newGetServiceLinkedRoleDeletionStatus Source #

Create a value of GetServiceLinkedRoleDeletionStatus 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:deletionTaskId:GetServiceLinkedRoleDeletionStatus', getServiceLinkedRoleDeletionStatus_deletionTaskId - The deletion task identifier. This identifier is returned by the DeleteServiceLinkedRole operation in the format task/aws-service-role/<service-principal-name>/<role-name>/<task-uuid>.

Request Lenses

getServiceLinkedRoleDeletionStatus_deletionTaskId :: Lens' GetServiceLinkedRoleDeletionStatus Text Source #

The deletion task identifier. This identifier is returned by the DeleteServiceLinkedRole operation in the format task/aws-service-role/<service-principal-name>/<role-name>/<task-uuid>.

Destructuring the Response

data GetServiceLinkedRoleDeletionStatusResponse Source #

Constructors

GetServiceLinkedRoleDeletionStatusResponse' 

Fields

Instances

Instances details
Eq GetServiceLinkedRoleDeletionStatusResponse Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

Read GetServiceLinkedRoleDeletionStatusResponse Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

Show GetServiceLinkedRoleDeletionStatusResponse Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

Generic GetServiceLinkedRoleDeletionStatusResponse Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

NFData GetServiceLinkedRoleDeletionStatusResponse Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

type Rep GetServiceLinkedRoleDeletionStatusResponse Source # 
Instance details

Defined in Amazonka.IAM.GetServiceLinkedRoleDeletionStatus

type Rep GetServiceLinkedRoleDeletionStatusResponse = D1 ('MetaData "GetServiceLinkedRoleDeletionStatusResponse" "Amazonka.IAM.GetServiceLinkedRoleDeletionStatus" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "GetServiceLinkedRoleDeletionStatusResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeletionTaskFailureReasonType)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DeletionTaskStatusType))))

Response Lenses