Copyright | (c) 2013-2021 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 |
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
- data GetServiceLinkedRoleDeletionStatus = GetServiceLinkedRoleDeletionStatus' {}
- newGetServiceLinkedRoleDeletionStatus :: Text -> GetServiceLinkedRoleDeletionStatus
- getServiceLinkedRoleDeletionStatus_deletionTaskId :: Lens' GetServiceLinkedRoleDeletionStatus Text
- data GetServiceLinkedRoleDeletionStatusResponse = GetServiceLinkedRoleDeletionStatusResponse' {}
- newGetServiceLinkedRoleDeletionStatusResponse :: Int -> DeletionTaskStatusType -> GetServiceLinkedRoleDeletionStatusResponse
- getServiceLinkedRoleDeletionStatusResponse_reason :: Lens' GetServiceLinkedRoleDeletionStatusResponse (Maybe DeletionTaskFailureReasonType)
- getServiceLinkedRoleDeletionStatusResponse_httpStatus :: Lens' GetServiceLinkedRoleDeletionStatusResponse Int
- getServiceLinkedRoleDeletionStatusResponse_status :: Lens' GetServiceLinkedRoleDeletionStatusResponse DeletionTaskStatusType
Creating a Request
data GetServiceLinkedRoleDeletionStatus Source #
See: newGetServiceLinkedRoleDeletionStatus
smart constructor.
GetServiceLinkedRoleDeletionStatus' | |
|
Instances
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 #
See: newGetServiceLinkedRoleDeletionStatusResponse
smart constructor.
GetServiceLinkedRoleDeletionStatusResponse' | |
|
Instances
newGetServiceLinkedRoleDeletionStatusResponse Source #
Create a value of GetServiceLinkedRoleDeletionStatusResponse
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:GetServiceLinkedRoleDeletionStatusResponse'
, getServiceLinkedRoleDeletionStatusResponse_reason
- An object that contains details about the reason the deletion failed.
$sel:httpStatus:GetServiceLinkedRoleDeletionStatusResponse'
, getServiceLinkedRoleDeletionStatusResponse_httpStatus
- The response's http status code.
$sel:status:GetServiceLinkedRoleDeletionStatusResponse'
, getServiceLinkedRoleDeletionStatusResponse_status
- The status of the deletion.
Response Lenses
getServiceLinkedRoleDeletionStatusResponse_reason :: Lens' GetServiceLinkedRoleDeletionStatusResponse (Maybe DeletionTaskFailureReasonType) Source #
An object that contains details about the reason the deletion failed.
getServiceLinkedRoleDeletionStatusResponse_httpStatus :: Lens' GetServiceLinkedRoleDeletionStatusResponse Int Source #
The response's http status code.
getServiceLinkedRoleDeletionStatusResponse_status :: Lens' GetServiceLinkedRoleDeletionStatusResponse DeletionTaskStatusType Source #
The status of the deletion.