Module Values.GetSessionResponseSource

Returns details for an approval session. For more information, see Session in the Multi-party approval User Guide.

Sourcetype nonrec t = {
  1. sessionArn : SessionArn.t option;
    (*

    Amazon Resource Name (ARN) for the session.

    *)
  2. approvalTeamArn : ApprovalTeamArn.t option;
    (*

    Amazon Resource Name (ARN) for the approval team.

    *)
  3. approvalTeamName : ApprovalTeamName.t option;
    (*

    Name of the approval team.

    *)
  4. protectedResourceArn : String_.t option;
    (*

    Amazon Resource Name (ARN) for the protected operation.

    *)
  5. approvalStrategy : ApprovalStrategyResponse.t option;
    (*

    An ApprovalStrategyResponse object. Contains details for how the team grants approval

    *)
  6. numberOfApprovers : Integer.t option;
    (*

    Total number of approvers in the session.

    *)
  7. initiationTime : IsoTimestamp.t option;
    (*

    Timestamp when the session was initiated.

    *)
  8. expirationTime : IsoTimestamp.t option;
    (*

    Timestamp when the session will expire.

    *)
  9. completionTime : IsoTimestamp.t option;
    (*

    Timestamp when the session completed.

    *)
  10. description : Description.t option;
    (*

    Description for the session.

    *)
  11. metadata : SessionMetadata.t option;
    (*

    Metadata for the session.

    *)
  12. status : SessionStatus.t option;
    (*

    Status for the session. For example, if the team has approved the requested operation.

    *)
  13. statusCode : SessionStatusCode.t option;
    (*

    Status code of the session.

    *)
  14. statusMessage : Message.t option;
    (*

    Message describing the status for session.

    *)
  15. executionStatus : SessionExecutionStatus.t option;
    (*

    Status for the protected operation. For example, if the operation is PENDING.

    *)
  16. actionName : ActionName.t option;
    (*

    Name of the protected operation.

    *)
  17. requesterServicePrincipal : ServicePrincipal.t option;
    (*

    Service principal for the service associated with the protected operation.

    *)
  18. requesterPrincipalArn : String_.t option;
    (*

    IAM principal that made the operation request.

    *)
  19. requesterAccountId : AccountId.t option;
    (*

    ID for the account that made the operation request.

    *)
  20. requesterRegion : Region.t option;
    (*

    Amazon Web Services Region where the operation request originated.

    *)
  21. requesterComment : RequesterComment.t option;
    (*

    Message from the account that made the operation request

    *)
  22. actionCompletionStrategy : ActionCompletionStrategy.t option;
    (*

    Strategy for executing the protected operation. AUTO_COMPLETION_UPON_APPROVAL means the operation is automatically executed using the requester's permissions, if approved.

    *)
  23. approverResponses : GetSessionResponseApproverResponses.t option;
    (*

    An array of GetSessionResponseApproverResponse objects. Contains details for approver responses in the session.

    *)
  24. additionalSecurityRequirements : AdditionalSecurityRequirements.t option;
    (*

    A list of AdditionalSecurityRequirement applied to the session.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?sessionArn:??? -> ?approvalTeamArn:??? -> ?approvalTeamName:??? -> ?protectedResourceArn:??? -> ?approvalStrategy:??? -> ?numberOfApprovers:??? -> ?initiationTime:??? -> ?expirationTime:??? -> ?completionTime:??? -> ?description:??? -> ?metadata:??? -> ?status:??? -> ?statusCode:??? -> ?statusMessage:??? -> ?executionStatus:??? -> ?actionName:??? -> ?requesterServicePrincipal:??? -> ?requesterPrincipalArn:??? -> ?requesterAccountId:??? -> ?requesterRegion:??? -> ?requesterComment:??? -> ?actionCompletionStrategy:??? -> ?approverResponses:??? -> ?additionalSecurityRequirements:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Integer.t | `List of [> `Enum of string | `Structure of (string * [> `Enum of string | `String of ParticipantId.t | `Timestamp of IsoTimestamp.t ]) list ] list | `Map of ([> `String of SessionKey.t ] * [> `String of SessionValue.t ]) list | `String of SessionArn.t | `Structure of (string * [> `Structure of (string * [> `Integer of MofNApprovalStrategyMinApprovalsRequiredInteger.t ]) list ]) list | `Timestamp of IsoTimestamp.t ]) 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