import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ChimeSDKMeetingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMeetingsClient"; import type { CreateMeetingRequest, CreateMeetingResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateMeetingCommand}. */ export interface CreateMeetingCommandInput extends CreateMeetingRequest { } /** * @public * * The output of {@link CreateMeetingCommand}. */ export interface CreateMeetingCommandOutput extends CreateMeetingResponse, __MetadataBearer { } declare const CreateMeetingCommand_base: { new (input: CreateMeetingCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateMeetingCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates a new Amazon Chime SDK meeting in the specified media Region with no initial attendees. For more information about specifying media Regions, see * Available Regions and * Using meeting Regions, both * in the Amazon Chime SDK Developer Guide. For more information about the Amazon Chime SDK, see * Using the Amazon Chime SDK * in the * Amazon Chime SDK Developer Guide. *

* *

If you use this API in conjuction with the and APIs, and you don't specify the * MeetingFeatures.Content.MaxResolution or MeetingFeatures.Video.MaxResolution parameters, the following defaults are used:

*
    *
  • *

    Content.MaxResolution: FHD

    *
  • *
  • *

    Video.MaxResolution: HD

    *
  • *
*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ChimeSDKMeetingsClient, CreateMeetingCommand } from "@aws-sdk/client-chime-sdk-meetings"; // ES Modules import * // const { ChimeSDKMeetingsClient, CreateMeetingCommand } = require("@aws-sdk/client-chime-sdk-meetings"); // CommonJS import * // import type { ChimeSDKMeetingsClientConfig } from "@aws-sdk/client-chime-sdk-meetings"; * const config = {}; // type is ChimeSDKMeetingsClientConfig * const client = new ChimeSDKMeetingsClient(config); * const input = { // CreateMeetingRequest * ClientRequestToken: "STRING_VALUE", // required * MediaRegion: "STRING_VALUE", // required * MeetingHostId: "STRING_VALUE", * ExternalMeetingId: "STRING_VALUE", // required * NotificationsConfiguration: { // NotificationsConfiguration * LambdaFunctionArn: "STRING_VALUE", * SnsTopicArn: "STRING_VALUE", * SqsQueueArn: "STRING_VALUE", * }, * MeetingFeatures: { // MeetingFeaturesConfiguration * Audio: { // AudioFeatures * EchoReduction: "AVAILABLE" || "UNAVAILABLE", * }, * Video: { // VideoFeatures * MaxResolution: "None" || "HD" || "FHD", * }, * Content: { // ContentFeatures * MaxResolution: "None" || "FHD" || "UHD", * }, * Attendee: { // AttendeeFeatures * MaxCount: Number("int"), * }, * }, * PrimaryMeetingId: "STRING_VALUE", * TenantIds: [ // TenantIdList * "STRING_VALUE", * ], * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * MediaPlacementNetworkType: "Ipv4Only" || "DualStack", * }; * const command = new CreateMeetingCommand(input); * const response = await client.send(command); * // { // CreateMeetingResponse * // Meeting: { // Meeting * // MeetingId: "STRING_VALUE", * // MeetingHostId: "STRING_VALUE", * // ExternalMeetingId: "STRING_VALUE", * // MediaRegion: "STRING_VALUE", * // MediaPlacement: { // MediaPlacement * // AudioHostUrl: "STRING_VALUE", * // AudioFallbackUrl: "STRING_VALUE", * // SignalingUrl: "STRING_VALUE", * // TurnControlUrl: "STRING_VALUE", * // ScreenDataUrl: "STRING_VALUE", * // ScreenViewingUrl: "STRING_VALUE", * // ScreenSharingUrl: "STRING_VALUE", * // EventIngestionUrl: "STRING_VALUE", * // }, * // MeetingFeatures: { // MeetingFeaturesConfiguration * // Audio: { // AudioFeatures * // EchoReduction: "AVAILABLE" || "UNAVAILABLE", * // }, * // Video: { // VideoFeatures * // MaxResolution: "None" || "HD" || "FHD", * // }, * // Content: { // ContentFeatures * // MaxResolution: "None" || "FHD" || "UHD", * // }, * // Attendee: { // AttendeeFeatures * // MaxCount: Number("int"), * // }, * // }, * // PrimaryMeetingId: "STRING_VALUE", * // TenantIds: [ // TenantIdList * // "STRING_VALUE", * // ], * // MeetingArn: "STRING_VALUE", * // }, * // }; * * ``` * * @param CreateMeetingCommandInput - {@link CreateMeetingCommandInput} * @returns {@link CreateMeetingCommandOutput} * @see {@link CreateMeetingCommandInput} for command's `input` shape. * @see {@link CreateMeetingCommandOutput} for command's `response` shape. * @see {@link ChimeSDKMeetingsClientResolvedConfig | config} for ChimeSDKMeetingsClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

The input parameters don't match the service's restrictions.

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

Multiple instances of the same request have been made simultaneously.

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

The client is permanently forbidden from making the request.

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

The request exceeds the resource limit.

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

The service encountered an unexpected error.

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

The service is currently unavailable.

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

The number of customer requests exceeds the request rate limit.

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

The user isn't authorized to request a resource.

* * @throws {@link ChimeSDKMeetingsServiceException} *

Base exception class for all service exceptions from ChimeSDKMeetings service.

* * * @public */ export declare class CreateMeetingCommand extends CreateMeetingCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateMeetingRequest; output: CreateMeetingResponse; }; sdk: { input: CreateMeetingCommandInput; output: CreateMeetingCommandOutput; }; }; }