Retrieves the status of your service-linked role deletion. After you use
the delete_service_linked_role
API
operation to submit a service-linked role for deletion, you can use the
DeletionTaskId
parameter in
get_service_linked_role_deletion_status
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.
iam_get_service_linked_role_deletion_status(DeletionTaskId)
A list with the following syntax:
list(
Status = "SUCCEEDED"|"IN_PROGRESS"|"FAILED"|"NOT_STARTED",
Reason = list(
Reason = "string",
RoleUsageList = list(
list(
Region = "string",
Resources = list(
"string"
)
)
)
)
)
[required] The deletion task identifier. This identifier is returned by the
delete_service_linked_role
operation
in the format
task/aws-service-role/<service-principal-name>/<role-name>/<task-uuid>
.
svc$get_service_linked_role_deletion_status(
DeletionTaskId = "string"
)