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 { BatchCreateAttendeeRequest, BatchCreateAttendeeResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link BatchCreateAttendeeCommand}. */ export interface BatchCreateAttendeeCommandInput extends BatchCreateAttendeeRequest { } /** * @public * * The output of {@link BatchCreateAttendeeCommand}. */ export interface BatchCreateAttendeeCommandOutput extends BatchCreateAttendeeResponse, __MetadataBearer { } declare const BatchCreateAttendeeCommand_base: { new (input: BatchCreateAttendeeCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: BatchCreateAttendeeCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates up to 100 attendees for an active Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see * Using the Amazon Chime SDK in the Amazon Chime Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ChimeSDKMeetingsClient, BatchCreateAttendeeCommand } from "@aws-sdk/client-chime-sdk-meetings"; // ES Modules import * // const { ChimeSDKMeetingsClient, BatchCreateAttendeeCommand } = 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 = { // BatchCreateAttendeeRequest * MeetingId: "STRING_VALUE", // required * Attendees: [ // CreateAttendeeRequestItemList // required * { // CreateAttendeeRequestItem * ExternalUserId: "STRING_VALUE", // required * Capabilities: { // AttendeeCapabilities * Audio: "SendReceive" || "Send" || "Receive" || "None", // required * Video: "SendReceive" || "Send" || "Receive" || "None", // required * Content: "SendReceive" || "Send" || "Receive" || "None", // required * }, * }, * ], * }; * const command = new BatchCreateAttendeeCommand(input); * const response = await client.send(command); * // { // BatchCreateAttendeeResponse * // Attendees: [ // AttendeeList * // { // Attendee * // ExternalUserId: "STRING_VALUE", * // AttendeeId: "STRING_VALUE", * // JoinToken: "STRING_VALUE", * // Capabilities: { // AttendeeCapabilities * // Audio: "SendReceive" || "Send" || "Receive" || "None", // required * // Video: "SendReceive" || "Send" || "Receive" || "None", // required * // Content: "SendReceive" || "Send" || "Receive" || "None", // required * // }, * // }, * // ], * // Errors: [ // BatchCreateAttendeeErrorList * // { // CreateAttendeeError * // ExternalUserId: "STRING_VALUE", * // ErrorCode: "STRING_VALUE", * // ErrorMessage: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param BatchCreateAttendeeCommandInput - {@link BatchCreateAttendeeCommandInput} * @returns {@link BatchCreateAttendeeCommandOutput} * @see {@link BatchCreateAttendeeCommandInput} for command's `input` shape. * @see {@link BatchCreateAttendeeCommandOutput} 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 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 NotFoundException} (client fault) *

One or more of the resources in the request does not exist in the system.

* * @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 UnprocessableEntityException} (client fault) *

The request was well-formed but was unable to be followed due to semantic errors.

* * @throws {@link ChimeSDKMeetingsServiceException} *

Base exception class for all service exceptions from ChimeSDKMeetings service.

* * * @public */ export declare class BatchCreateAttendeeCommand extends BatchCreateAttendeeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchCreateAttendeeRequest; output: BatchCreateAttendeeResponse; }; sdk: { input: BatchCreateAttendeeCommandInput; output: BatchCreateAttendeeCommandOutput; }; }; }