Module Values.GetServiceLinkedRoleDeletionStatusResponseSource

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.

Sourcetype getServiceLinkedRoleDeletionStatusResult = {
  1. status : DeletionTaskStatusType.t option;
    (*

    The status of the deletion.

    *)
  2. reason : DeletionTaskFailureReasonType.t option;
    (*

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

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. getServiceLinkedRoleDeletionStatusResult : getServiceLinkedRoleDeletionStatusResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `InvalidInputException of InvalidInputException.t
  2. | `NoSuchEntityException of NoSuchEntityException.t
  3. | `ServiceFailureException of ServiceFailureException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?status:??? -> ?reason:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidInputException of InvalidInputException.t | `NoSuchEntityException of NoSuchEntityException.t | `ServiceFailureException of ServiceFailureException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidInputException of InvalidInputException.t | `NoSuchEntityException of NoSuchEntityException.t | `ServiceFailureException of ServiceFailureException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of ArnType.t ] list | `String of RegionNameType.t ]) list ] list | `String of ReasonType.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t