Smaws_Client_IAM.GetServiceLinkedRoleDeletionStatusRetrieves 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `InvalidInputException of Types.invalid_input_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceFailureException of Types.service_failure_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_service_linked_role_deletion_status_request ->
(Types.get_service_linked_role_deletion_status_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidInputException of Types.invalid_input_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceFailureException of Types.service_failure_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_service_linked_role_deletion_status_request ->
(Types.get_service_linked_role_deletion_status_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidInputException of Types.invalid_input_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceFailureException of Types.service_failure_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result