Skip to main content

compositions

Creates, updates, deletes, gets or lists a compositions resource.

Overview

Namecompositions
TypeResource
Idaws.ivs_realtime.compositions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringARN of the Composition resource. (pattern: <code>arn:aws:ivs:[a-z0-9-]+:[0-9]+:composition/[a-zA-Z0-9-]+</code>)
destinationsarrayArray of Destination objects. A Composition can contain either one destination (channel or s3) or two (one channel and one s3).
end_timestring (date-time)UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a string.
layoutobjectLayout object to configure composition parameters.
stage_arnstringARN of the stage used as input (pattern: <code>arn:aws:ivs:[a-z0-9-]+:[0-9]+:stage/[a-zA-Z0-9-]+</code>)
start_timestring (date-time)UTC time of the Composition start. This is an ISO 8601 timestamp; note that this is returned as a string.
statestringState of the Composition. (STARTING, ACTIVE, STOPPING, FAILED, STOPPED)
tagsobjectTags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_compositionselectregionGet information about the specified Composition resource.
list_compositionsselectregionGets summary information about all Compositions in your account, in the AWS region where the API request is processed.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Get information about the specified Composition resource.

SELECT
arn,
destinations,
end_time,
layout,
stage_arn,
start_time,
state,
tags
FROM aws.ivs_realtime.compositions
WHERE region = '{{ region }}' -- required
;