Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class UpdateRoomCommandProtected

Updates a room’s configuration.

Example

Use a bare-bones client and the command you need to make an API call.

import { IvschatClient, UpdateRoomCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
// const { IvschatClient, UpdateRoomCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
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
// "<keys>": "STRING_VALUE",
// },
// loggingConfigurationIdentifiers: [ // LoggingConfigurationIdentifierList
// "STRING_VALUE",
// ],
// };

Param

UpdateRoomCommandInput

Returns

UpdateRoomCommandOutput

See

Throws

AccessDeniedException (client fault)

Throws

PendingVerification (client fault)

Throws

ResourceNotFoundException (client fault)

Throws

ValidationException (client fault)

Throws

IvschatServiceException

Base exception class for all service exceptions from Ivschat service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods