amazonka-iam-1.6.0: Amazon Identity and Access Management SDK.

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

Network.AWS.IAM.GetServiceLinkedRoleDeletionStatus

Contents

Description

Retrieves the status of your service-linked role deletion. After you use the DeleteServiceLinkedRole API operation 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

getServiceLinkedRoleDeletionStatus #

Creates a value of GetServiceLinkedRoleDeletionStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetServiceLinkedRoleDeletionStatus #

See: getServiceLinkedRoleDeletionStatus smart constructor.

Instances

Eq GetServiceLinkedRoleDeletionStatus # 
Data GetServiceLinkedRoleDeletionStatus # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetServiceLinkedRoleDeletionStatus -> c GetServiceLinkedRoleDeletionStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetServiceLinkedRoleDeletionStatus #

toConstr :: GetServiceLinkedRoleDeletionStatus -> Constr #

dataTypeOf :: GetServiceLinkedRoleDeletionStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetServiceLinkedRoleDeletionStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetServiceLinkedRoleDeletionStatus) #

gmapT :: (forall b. Data b => b -> b) -> GetServiceLinkedRoleDeletionStatus -> GetServiceLinkedRoleDeletionStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetServiceLinkedRoleDeletionStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetServiceLinkedRoleDeletionStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetServiceLinkedRoleDeletionStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetServiceLinkedRoleDeletionStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetServiceLinkedRoleDeletionStatus -> m GetServiceLinkedRoleDeletionStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetServiceLinkedRoleDeletionStatus -> m GetServiceLinkedRoleDeletionStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetServiceLinkedRoleDeletionStatus -> m GetServiceLinkedRoleDeletionStatus #

Read GetServiceLinkedRoleDeletionStatus # 
Show GetServiceLinkedRoleDeletionStatus # 
Generic GetServiceLinkedRoleDeletionStatus # 
Hashable GetServiceLinkedRoleDeletionStatus # 
NFData GetServiceLinkedRoleDeletionStatus # 
AWSRequest GetServiceLinkedRoleDeletionStatus # 
ToHeaders GetServiceLinkedRoleDeletionStatus # 
ToPath GetServiceLinkedRoleDeletionStatus # 
ToQuery GetServiceLinkedRoleDeletionStatus # 
type Rep GetServiceLinkedRoleDeletionStatus # 
type Rep GetServiceLinkedRoleDeletionStatus = D1 * (MetaData "GetServiceLinkedRoleDeletionStatus" "Network.AWS.IAM.GetServiceLinkedRoleDeletionStatus" "amazonka-iam-1.6.0-1EzdHSXYgBWIEzsCXYmity" True) (C1 * (MetaCons "GetServiceLinkedRoleDeletionStatus'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gslrdsDeletionTaskId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetServiceLinkedRoleDeletionStatus # 

Request Lenses

gslrdsDeletionTaskId :: Lens' GetServiceLinkedRoleDeletionStatus Text #

The deletion task identifier. This identifier is returned by the DeleteServiceLinkedRole operation in the format taskaws-service-roleservice-principal-namerole-nametask-uuid .

Destructuring the Response

getServiceLinkedRoleDeletionStatusResponse #

Creates a value of GetServiceLinkedRoleDeletionStatusResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetServiceLinkedRoleDeletionStatusResponse #

Instances

Eq GetServiceLinkedRoleDeletionStatusResponse # 
Data GetServiceLinkedRoleDeletionStatusResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetServiceLinkedRoleDeletionStatusResponse -> c GetServiceLinkedRoleDeletionStatusResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetServiceLinkedRoleDeletionStatusResponse #

toConstr :: GetServiceLinkedRoleDeletionStatusResponse -> Constr #

dataTypeOf :: GetServiceLinkedRoleDeletionStatusResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetServiceLinkedRoleDeletionStatusResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetServiceLinkedRoleDeletionStatusResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetServiceLinkedRoleDeletionStatusResponse -> GetServiceLinkedRoleDeletionStatusResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetServiceLinkedRoleDeletionStatusResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetServiceLinkedRoleDeletionStatusResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetServiceLinkedRoleDeletionStatusResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetServiceLinkedRoleDeletionStatusResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetServiceLinkedRoleDeletionStatusResponse -> m GetServiceLinkedRoleDeletionStatusResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetServiceLinkedRoleDeletionStatusResponse -> m GetServiceLinkedRoleDeletionStatusResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetServiceLinkedRoleDeletionStatusResponse -> m GetServiceLinkedRoleDeletionStatusResponse #

Read GetServiceLinkedRoleDeletionStatusResponse # 
Show GetServiceLinkedRoleDeletionStatusResponse # 
Generic GetServiceLinkedRoleDeletionStatusResponse # 
NFData GetServiceLinkedRoleDeletionStatusResponse # 
type Rep GetServiceLinkedRoleDeletionStatusResponse # 
type Rep GetServiceLinkedRoleDeletionStatusResponse = D1 * (MetaData "GetServiceLinkedRoleDeletionStatusResponse" "Network.AWS.IAM.GetServiceLinkedRoleDeletionStatus" "amazonka-iam-1.6.0-1EzdHSXYgBWIEzsCXYmity" False) (C1 * (MetaCons "GetServiceLinkedRoleDeletionStatusResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gslrdsrsReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DeletionTaskFailureReasonType))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gslrdsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_gslrdsrsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * DeletionTaskStatusType)))))

Response Lenses

gslrdsrsReason :: Lens' GetServiceLinkedRoleDeletionStatusResponse (Maybe DeletionTaskFailureReasonType) #

An object that contains details about the reason the deletion failed.