import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient"; import type { UpdateRoomRequest, UpdateRoomResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateRoomCommand}. */ export interface UpdateRoomCommandInput extends UpdateRoomRequest { } /** * @public * * The output of {@link UpdateRoomCommand}. */ export interface UpdateRoomCommandOutput extends UpdateRoomResponse, __MetadataBearer { } declare const UpdateRoomCommand_base: { new (input: UpdateRoomCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: UpdateRoomCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Updates a room’s configuration.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IvschatClient, UpdateRoomCommand } from "@aws-sdk/client-ivschat"; // ES Modules import * // const { IvschatClient, UpdateRoomCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import * // import type { IvschatClientConfig } from "@aws-sdk/client-ivschat"; * const config = {}; // type is IvschatClientConfig * const client = new IvschatClient(config); * const input = { // UpdateRoomRequest * identifier: "STRING_VALUE", // required * name: "STRING_VALUE", * maximumMessageRatePerSecond: Number("int"), * maximumMessageLength: Number("int"), * messageReviewHandler: { // MessageReviewHandler * uri: "STRING_VALUE", * fallbackResult: "STRING_VALUE", * }, * loggingConfigurationIdentifiers: [ // LoggingConfigurationIdentifierList * "STRING_VALUE", * ], * }; * const command = new UpdateRoomCommand(input); * const response = await client.send(command); * // { // UpdateRoomResponse * // arn: "STRING_VALUE", * // id: "STRING_VALUE", * // name: "STRING_VALUE", * // createTime: new Date("TIMESTAMP"), * // updateTime: new Date("TIMESTAMP"), * // maximumMessageRatePerSecond: Number("int"), * // maximumMessageLength: Number("int"), * // messageReviewHandler: { // MessageReviewHandler * // uri: "STRING_VALUE", * // fallbackResult: "STRING_VALUE", * // }, * // tags: { // Tags * // "": "STRING_VALUE", * // }, * // loggingConfigurationIdentifiers: [ // LoggingConfigurationIdentifierList * // "STRING_VALUE", * // ], * // }; * * ``` * * @param UpdateRoomCommandInput - {@link UpdateRoomCommandInput} * @returns {@link UpdateRoomCommandOutput} * @see {@link UpdateRoomCommandInput} for command's `input` shape. * @see {@link UpdateRoomCommandOutput} for command's `response` shape. * @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

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

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

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

* * @throws {@link IvschatServiceException} *

Base exception class for all service exceptions from Ivschat service.

* * * @public */ export declare class UpdateRoomCommand extends UpdateRoomCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateRoomRequest; output: UpdateRoomResponse; }; sdk: { input: UpdateRoomCommandInput; output: UpdateRoomCommandOutput; }; }; }