Module Values.StartEngagementByAcceptingInvitationTaskResponseSource

This action starts the engagement by accepting an EngagementInvitation. The task is asynchronous and involves the following steps: accepting the invitation, creating an opportunity in the partner’s account from the AWS opportunity, and copying details for tracking. When completed, an Opportunity Created event is generated, indicating that the opportunity has been successfully created in the partner's account.

Sourcetype nonrec t = {
  1. taskId : TaskIdentifier.t option;
    (*

    The unique identifier of the task, used to track the task’s progress.

    *)
  2. taskArn : TaskArn.t option;
    (*

    The Amazon Resource Name (ARN) of the task, used for tracking and managing the task within AWS.

    *)
  3. startTime : DateTime.t option;
    (*

    The timestamp indicating when the task was initiated. The format follows RFC 3339 section 5.6.

    *)
  4. taskStatus : TaskStatus.t option;
    (*

    Indicates the current status of the task.

    *)
  5. message : String_.t option;
    (*

    If the task fails, this field contains a detailed message describing the failure and possible recovery steps.

    *)
  6. reasonCode : ReasonCode.t option;
    (*

    Indicates the reason for task failure using an enumerated code.

    *)
  7. opportunityId : OpportunityIdentifier.t option;
    (*

    Returns the original opportunity identifier passed in the request. This is the unique identifier for the opportunity.

    *)
  8. resourceSnapshotJobId : ResourceSnapshotJobIdentifier.t option;
    (*

    The identifier of the Resource Snapshot Job created as part of this task.

    *)
  9. engagementInvitationId : EngagementInvitationIdentifier.t option;
    (*

    Returns the identifier of the engagement invitation that was accepted and used to create the opportunity.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `ValidationException of ValidationException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?taskId:??? -> ?taskArn:??? -> ?startTime:??? -> ?taskStatus:??? -> ?message:??? -> ?reasonCode:??? -> ?opportunityId:??? -> ?resourceSnapshotJobId:??? -> ?engagementInvitationId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.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 | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.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 | `String of TaskIdentifier.t | `Timestamp of DateTime.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