Module Values.GetDelegationRequestResponseSource

Retrieves information about a specific delegation request. If a delegation request has no owner or owner account, GetDelegationRequest for that delegation request can be called by any account. If the owner account is assigned but there is no owner id, only identities within that owner account can call GetDelegationRequest for the delegation request. Once the delegation request is fully owned, the owner of the request gets a default permission to get that delegation request. For more details, see Managing Permissions for Delegation Requests.

Sourcetype getDelegationRequestResult = {
  1. delegationRequest : DelegationRequest.t option;
    (*

    The delegation request object containing all details about the request.

    *)
  2. permissionCheckStatus : PermissionCheckStatusType.t option;
    (*

    The status of the permission check for the delegation request. This value indicates the status of the process to check whether the caller has sufficient permissions to cover the requested actions in the delegation request. Since this is an asynchronous process, there are three potential values: IN_PROGRESS : The permission check process has started. COMPLETED : The permission check process has completed. The PermissionCheckResult will include the result. FAILED : The permission check process has failed.

    *)
  3. permissionCheckResult : PermissionCheckResultType.t option;
    (*

    The result of the permission check, indicating whether the caller has sufficient permissions to cover the requested permissions. This is an approximate result. ALLOWED : The caller has sufficient permissions cover all the requested permissions. DENIED : The caller does not have sufficient permissions to cover all the requested permissions. UNSURE : It is not possible to determine whether the caller has all the permissions needed. This output is most likely for cases when the caller has permissions with conditions.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. getDelegationRequestResult : getDelegationRequestResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `NoSuchEntityException of NoSuchEntityException.t
  2. | `ServiceFailureException of ServiceFailureException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?delegationRequest:??? -> ?permissionCheckStatus:??? -> ?permissionCheckResult:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `NoSuchEntityException of NoSuchEntityException.t | `ServiceFailureException of ServiceFailureException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.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 * [> `Boolean of BooleanType.t | `Enum of string | `Integer of SessionDurationType.t | `List of [> `String of ArnType.t ] list | `String of DelegationRequestIdType.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `List of [> `String of PolicyParameterValueType.t ] list | `String of PolicyParameterNameType.t ]) list ] list | `String of ArnType.t ]) list | `Timestamp of DateType.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