import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IVSRealTimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IVSRealTimeClient"; import type { ListCompositionsRequest, ListCompositionsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListCompositionsCommand}. */ export interface ListCompositionsCommandInput extends ListCompositionsRequest { } /** * @public * * The output of {@link ListCompositionsCommand}. */ export interface ListCompositionsCommandOutput extends ListCompositionsResponse, __MetadataBearer { } declare const ListCompositionsCommand_base: { new (input: ListCompositionsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListCompositionsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Gets summary information about all Compositions in your account, in the AWS region * where the API request is processed.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IVSRealTimeClient, ListCompositionsCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import * // const { IVSRealTimeClient, ListCompositionsCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import * // import type { IVSRealTimeClientConfig } from "@aws-sdk/client-ivs-realtime"; * const config = {}; // type is IVSRealTimeClientConfig * const client = new IVSRealTimeClient(config); * const input = { // ListCompositionsRequest * filterByStageArn: "STRING_VALUE", * filterByEncoderConfigurationArn: "STRING_VALUE", * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new ListCompositionsCommand(input); * const response = await client.send(command); * // { // ListCompositionsResponse * // compositions: [ // CompositionSummaryList // required * // { // CompositionSummary * // arn: "STRING_VALUE", // required * // stageArn: "STRING_VALUE", // required * // destinations: [ // DestinationSummaryList // required * // { // DestinationSummary * // id: "STRING_VALUE", // required * // state: "STRING_VALUE", // required * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // }, * // ], * // state: "STRING_VALUE", // required * // tags: { // Tags * // "": "STRING_VALUE", * // }, * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListCompositionsCommandInput - {@link ListCompositionsCommandInput} * @returns {@link ListCompositionsCommandOutput} * @see {@link ListCompositionsCommandInput} for command's `input` shape. * @see {@link ListCompositionsCommandOutput} for command's `response` shape. * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

* * @throws {@link ConflictException} (client fault) *

* * @throws {@link InternalServerException} (server fault) *

* * @throws {@link ServiceQuotaExceededException} (client fault) *

* * @throws {@link ValidationException} (client fault) *

* * @throws {@link IVSRealTimeServiceException} *

Base exception class for all service exceptions from IVSRealTime service.

* * * @public */ export declare class ListCompositionsCommand extends ListCompositionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListCompositionsRequest; output: ListCompositionsResponse; }; sdk: { input: ListCompositionsCommandInput; output: ListCompositionsCommandOutput; }; }; }