Values.GetSessionResponseSourceReturns details for an approval session. For more information, see Session in the Multi-party approval User Guide.
type nonrec t = {sessionArn : SessionArn.t option;Amazon Resource Name (ARN) for the session.
*)approvalTeamArn : ApprovalTeamArn.t option;Amazon Resource Name (ARN) for the approval team.
*)approvalTeamName : ApprovalTeamName.t option;Name of the approval team.
*)protectedResourceArn : String_.t option;Amazon Resource Name (ARN) for the protected operation.
*)approvalStrategy : ApprovalStrategyResponse.t option;An ApprovalStrategyResponse object. Contains details for how the team grants approval
*)numberOfApprovers : Integer.t option;Total number of approvers in the session.
*)initiationTime : IsoTimestamp.t option;Timestamp when the session was initiated.
*)expirationTime : IsoTimestamp.t option;Timestamp when the session will expire.
*)completionTime : IsoTimestamp.t option;Timestamp when the session completed.
*)description : Description.t option;Description for the session.
*)metadata : SessionMetadata.t option;Metadata for the session.
*)status : SessionStatus.t option;Status for the session. For example, if the team has approved the requested operation.
*)statusCode : SessionStatusCode.t option;Status code of the session.
*)statusMessage : Message.t option;Message describing the status for session.
*)executionStatus : SessionExecutionStatus.t option;Status for the protected operation. For example, if the operation is PENDING.
*)actionName : ActionName.t option;Name of the protected operation.
*)requesterServicePrincipal : ServicePrincipal.t option;Service principal for the service associated with the protected operation.
*)requesterPrincipalArn : String_.t option;IAM principal that made the operation request.
*)requesterAccountId : AccountId.t option;ID for the account that made the operation request.
*)requesterRegion : Region.t option;Amazon Web Services Region where the operation request originated.
*)requesterComment : RequesterComment.t option;Message from the account that made the operation request
*)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.
*)approverResponses : GetSessionResponseApproverResponses.t option;An array of GetSessionResponseApproverResponse objects. Contains details for approver responses in the session.
*)additionalSecurityRequirements : AdditionalSecurityRequirements.t option;A list of AdditionalSecurityRequirement applied to the session.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val 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 ->
tval 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 ]val 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 ]val 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 ]