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 Source #

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 Source #

See: getServiceLinkedRoleDeletionStatus smart constructor.

Instances

Eq GetServiceLinkedRoleDeletionStatus Source # 
Data GetServiceLinkedRoleDeletionStatus Source # 

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 Source # 
Show GetServiceLinkedRoleDeletionStatus Source # 
Generic GetServiceLinkedRoleDeletionStatus Source # 
Hashable GetServiceLinkedRoleDeletionStatus Source # 
NFData GetServiceLinkedRoleDeletionStatus Source # 
AWSRequest GetServiceLinkedRoleDeletionStatus Source # 
ToHeaders GetServiceLinkedRoleDeletionStatus Source # 
ToPath GetServiceLinkedRoleDeletionStatus Source # 
ToQuery GetServiceLinkedRoleDeletionStatus Source # 
type Rep GetServiceLinkedRoleDeletionStatus Source # 
type Rep GetServiceLinkedRoleDeletionStatus = D1 * (MetaData "GetServiceLinkedRoleDeletionStatus" "Network.AWS.IAM.GetServiceLinkedRoleDeletionStatus" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" True) (C1 * (MetaCons "GetServiceLinkedRoleDeletionStatus'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gslrdsDeletionTaskId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetServiceLinkedRoleDeletionStatus Source # 

Request Lenses

gslrdsDeletionTaskId :: Lens' GetServiceLinkedRoleDeletionStatus Text Source #

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 Source #

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 Source #

Instances

Eq GetServiceLinkedRoleDeletionStatusResponse Source # 
Data GetServiceLinkedRoleDeletionStatusResponse Source # 

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 Source # 
Show GetServiceLinkedRoleDeletionStatusResponse Source # 
Generic GetServiceLinkedRoleDeletionStatusResponse Source # 
NFData GetServiceLinkedRoleDeletionStatusResponse Source # 
type Rep GetServiceLinkedRoleDeletionStatusResponse Source # 
type Rep GetServiceLinkedRoleDeletionStatusResponse = D1 * (MetaData "GetServiceLinkedRoleDeletionStatusResponse" "Network.AWS.IAM.GetServiceLinkedRoleDeletionStatus" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" 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) Source #

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