import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { KinesisVideoClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisVideoClient"; import type { ListStreamsInput, ListStreamsOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListStreamsCommand}. */ export interface ListStreamsCommandInput extends ListStreamsInput { } /** * @public * * The output of {@link ListStreamsCommand}. */ export interface ListStreamsCommandOutput extends ListStreamsOutput, __MetadataBearer { } declare const ListStreamsCommand_base: { new (input: ListStreamsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListStreamsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns an array of StreamInfo objects. Each object describes a * stream. To retrieve only streams that satisfy a specific condition, you can specify a * StreamNameCondition.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { KinesisVideoClient, ListStreamsCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import * // const { KinesisVideoClient, ListStreamsCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import * // import type { KinesisVideoClientConfig } from "@aws-sdk/client-kinesis-video"; * const config = {}; // type is KinesisVideoClientConfig * const client = new KinesisVideoClient(config); * const input = { // ListStreamsInput * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * StreamNameCondition: { // StreamNameCondition * ComparisonOperator: "BEGINS_WITH", * ComparisonValue: "STRING_VALUE", * }, * }; * const command = new ListStreamsCommand(input); * const response = await client.send(command); * // { // ListStreamsOutput * // StreamInfoList: [ // StreamInfoList * // { // StreamInfo * // DeviceName: "STRING_VALUE", * // StreamName: "STRING_VALUE", * // StreamARN: "STRING_VALUE", * // MediaType: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // Version: "STRING_VALUE", * // Status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING", * // CreationTime: new Date("TIMESTAMP"), * // DataRetentionInHours: Number("int"), * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListStreamsCommandInput - {@link ListStreamsCommandInput} * @returns {@link ListStreamsCommandOutput} * @see {@link ListStreamsCommandInput} for command's `input` shape. * @see {@link ListStreamsCommandOutput} for command's `response` shape. * @see {@link KinesisVideoClientResolvedConfig | config} for KinesisVideoClient's `config` shape. * * @throws {@link ClientLimitExceededException} (client fault) *

Kinesis Video Streams has throttled the request because you have exceeded the limit of * allowed client calls. Try making the call later.

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

The value for this input parameter is invalid.

* * @throws {@link KinesisVideoServiceException} *

Base exception class for all service exceptions from KinesisVideo service.

* * * @public */ export declare class ListStreamsCommand extends ListStreamsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListStreamsInput; output: ListStreamsOutput; }; sdk: { input: ListStreamsCommandInput; output: ListStreamsCommandOutput; }; }; }