Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- getServiceLinkedRoleDeletionStatus :: Text -> GetServiceLinkedRoleDeletionStatus
- data GetServiceLinkedRoleDeletionStatus
- gslrdsDeletionTaskId :: Lens' GetServiceLinkedRoleDeletionStatus Text
- getServiceLinkedRoleDeletionStatusResponse :: Int -> DeletionTaskStatusType -> GetServiceLinkedRoleDeletionStatusResponse
- data GetServiceLinkedRoleDeletionStatusResponse
- gslrdsrsReason :: Lens' GetServiceLinkedRoleDeletionStatusResponse (Maybe DeletionTaskFailureReasonType)
- gslrdsrsResponseStatus :: Lens' GetServiceLinkedRoleDeletionStatusResponse Int
- gslrdsrsStatus :: Lens' GetServiceLinkedRoleDeletionStatusResponse DeletionTaskStatusType
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:
gslrdsDeletionTaskId
- The deletion task identifier. This identifier is returned by theDeleteServiceLinkedRole
operation in the formattaskaws-service-roleservice-principal-namerole-nametask-uuid
.
data GetServiceLinkedRoleDeletionStatus Source #
See: getServiceLinkedRoleDeletionStatus
smart constructor.
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:
gslrdsrsReason
- An object that contains details about the reason the deletion failed.gslrdsrsResponseStatus
- -- | The response status code.gslrdsrsStatus
- The status of the deletion.
data GetServiceLinkedRoleDeletionStatusResponse Source #
See: getServiceLinkedRoleDeletionStatusResponse
smart constructor.
Response Lenses
gslrdsrsReason :: Lens' GetServiceLinkedRoleDeletionStatusResponse (Maybe DeletionTaskFailureReasonType) Source #
An object that contains details about the reason the deletion failed.
gslrdsrsResponseStatus :: Lens' GetServiceLinkedRoleDeletionStatusResponse Int Source #
- - | The response status code.
gslrdsrsStatus :: Lens' GetServiceLinkedRoleDeletionStatusResponse DeletionTaskStatusType Source #
The status of the deletion.