Module Values.StartCompositionResponseSource

Starts a Composition from a stage based on the configuration provided in the request. A Composition is an ephemeral resource that exists after this operation returns successfully. Composition stops and the resource is deleted: When StopComposition is called. After a 1-minute timeout, when all participants are disconnected from the stage. After a 1-minute timeout, if there are no participants in the stage when StartComposition is called. When broadcasting to the IVS channel fails and all retries are exhausted. When broadcasting is disconnected and all attempts to reconnect are exhausted.

Sourcetype nonrec t = {
  1. composition : Composition.t option;
    (*

    The Composition that was created.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `PendingVerification of PendingVerification.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  7. | `ValidationException of ValidationException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?composition:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `PendingVerification of PendingVerification.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.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 | `PendingVerification of PendingVerification.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.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 * [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of String_.t | `Structure of (string * [> `String of DestinationConfigurationName.t | `Structure of (string * [> `List of [> `String of EncoderConfigurationArn.t | `Structure of (string * [> `Integer of ThumbnailIntervalSeconds.t | `List of [> `Enum of string ] list ]) list ] list | `String of ChannelArn.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Integer of CompositionRecordingTargetSegmentDurationSeconds.t ]) list ]) list ]) list ]) list | `Timestamp of Time.t ]) list ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of CompositionArn.t | `Structure of (string * [> `Structure of (string * [> `Boolean of OmitStoppedVideo.t | `Enum of string | `Integer of GridGap.t | `String of AttributeKey.t ]) list ]) list | `Timestamp of Time.t ]) 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