amazonka-ivschat-2.0: Amazon Interactive Video Service Chat SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IVSChat.UpdateRoom

Description

Updates a room’s configuration.

Synopsis

Creating a Request

data UpdateRoom Source #

See: newUpdateRoom smart constructor.

Constructors

UpdateRoom' 

Fields

Instances

Instances details
ToJSON UpdateRoom Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

ToHeaders UpdateRoom Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

Methods

toHeaders :: UpdateRoom -> [Header] #

ToPath UpdateRoom Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

ToQuery UpdateRoom Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

AWSRequest UpdateRoom Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

Associated Types

type AWSResponse UpdateRoom #

Generic UpdateRoom Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

Associated Types

type Rep UpdateRoom :: Type -> Type #

Read UpdateRoom Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

Show UpdateRoom Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

NFData UpdateRoom Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

Methods

rnf :: UpdateRoom -> () #

Eq UpdateRoom Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

Hashable UpdateRoom Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

type AWSResponse UpdateRoom Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

type Rep UpdateRoom Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

type Rep UpdateRoom = D1 ('MetaData "UpdateRoom" "Amazonka.IVSChat.UpdateRoom" "amazonka-ivschat-2.0-AB4QlCKEEGt4izEWjWKMb2" 'False) (C1 ('MetaCons "UpdateRoom'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "loggingConfigurationIdentifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "maximumMessageLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "maximumMessageRatePerSecond") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: (S1 ('MetaSel ('Just "messageReviewHandler") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MessageReviewHandler)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateRoom Source #

Create a value of UpdateRoom with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

UpdateRoom, updateRoom_loggingConfigurationIdentifiers - Array of logging-configuration identifiers attached to the room.

UpdateRoom, updateRoom_maximumMessageLength - The maximum number of characters in a single message. Messages are expected to be UTF-8 encoded and this limit applies specifically to rune/code-point count, not number of bytes. Default: 500.

UpdateRoom, updateRoom_maximumMessageRatePerSecond - Maximum number of messages per second that can be sent to the room (by all clients). Default: 10.

UpdateRoom, updateRoom_messageReviewHandler - Configuration information for optional review of messages. Specify an empty uri string to disassociate a message review handler from the specified room.

UpdateRoom, updateRoom_name - Room name. The value does not need to be unique.

$sel:identifier:UpdateRoom', updateRoom_identifier - Identifier of the room to be updated. Currently this must be an ARN.

Request Lenses

updateRoom_loggingConfigurationIdentifiers :: Lens' UpdateRoom (Maybe [Text]) Source #

Array of logging-configuration identifiers attached to the room.

updateRoom_maximumMessageLength :: Lens' UpdateRoom (Maybe Natural) Source #

The maximum number of characters in a single message. Messages are expected to be UTF-8 encoded and this limit applies specifically to rune/code-point count, not number of bytes. Default: 500.

updateRoom_maximumMessageRatePerSecond :: Lens' UpdateRoom (Maybe Natural) Source #

Maximum number of messages per second that can be sent to the room (by all clients). Default: 10.

updateRoom_messageReviewHandler :: Lens' UpdateRoom (Maybe MessageReviewHandler) Source #

Configuration information for optional review of messages. Specify an empty uri string to disassociate a message review handler from the specified room.

updateRoom_name :: Lens' UpdateRoom (Maybe Text) Source #

Room name. The value does not need to be unique.

updateRoom_identifier :: Lens' UpdateRoom Text Source #

Identifier of the room to be updated. Currently this must be an ARN.

Destructuring the Response

data UpdateRoomResponse Source #

See: newUpdateRoomResponse smart constructor.

Constructors

UpdateRoomResponse' 

Fields

Instances

Instances details
Generic UpdateRoomResponse Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

Associated Types

type Rep UpdateRoomResponse :: Type -> Type #

Read UpdateRoomResponse Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

Show UpdateRoomResponse Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

NFData UpdateRoomResponse Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

Methods

rnf :: UpdateRoomResponse -> () #

Eq UpdateRoomResponse Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

type Rep UpdateRoomResponse Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateRoom

type Rep UpdateRoomResponse = D1 ('MetaData "UpdateRoomResponse" "Amazonka.IVSChat.UpdateRoom" "amazonka-ivschat-2.0-AB4QlCKEEGt4izEWjWKMb2" 'False) (C1 ('MetaCons "UpdateRoomResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "loggingConfigurationIdentifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "maximumMessageLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))) :*: ((S1 ('MetaSel ('Just "maximumMessageRatePerSecond") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "messageReviewHandler") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MessageReviewHandler)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "updateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newUpdateRoomResponse Source #

Create a value of UpdateRoomResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

UpdateRoomResponse, updateRoomResponse_arn - Room ARN, from the request (if identifier was an ARN).

UpdateRoomResponse, updateRoomResponse_createTime - Time when the room was created. This is an ISO 8601 timestamp; /note that this is returned as a string/.

UpdateRoomResponse, updateRoomResponse_id - Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.

UpdateRoom, updateRoomResponse_loggingConfigurationIdentifiers - Array of logging configurations attached to the room, from the request (if specified).

UpdateRoom, updateRoomResponse_maximumMessageLength - Maximum number of characters in a single message, from the request (if specified).

UpdateRoom, updateRoomResponse_maximumMessageRatePerSecond - Maximum number of messages per second that can be sent to the room (by all clients), from the request (if specified).

UpdateRoom, updateRoomResponse_messageReviewHandler - Configuration information for optional review of messages.

UpdateRoom, updateRoomResponse_name - Room name, from the request (if specified).

UpdateRoomResponse, updateRoomResponse_tags - Tags attached to the resource. Array of maps, each of the form string:string (key:value).

UpdateRoomResponse, updateRoomResponse_updateTime - Time of the room’s last update. This is an ISO 8601 timestamp; /note that this is returned as a string/.

$sel:httpStatus:UpdateRoomResponse', updateRoomResponse_httpStatus - The response's http status code.

Response Lenses

updateRoomResponse_arn :: Lens' UpdateRoomResponse (Maybe Text) Source #

Room ARN, from the request (if identifier was an ARN).

updateRoomResponse_createTime :: Lens' UpdateRoomResponse (Maybe UTCTime) Source #

Time when the room was created. This is an ISO 8601 timestamp; /note that this is returned as a string/.

updateRoomResponse_id :: Lens' UpdateRoomResponse (Maybe Text) Source #

Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.

updateRoomResponse_loggingConfigurationIdentifiers :: Lens' UpdateRoomResponse (Maybe [Text]) Source #

Array of logging configurations attached to the room, from the request (if specified).

updateRoomResponse_maximumMessageLength :: Lens' UpdateRoomResponse (Maybe Natural) Source #

Maximum number of characters in a single message, from the request (if specified).

updateRoomResponse_maximumMessageRatePerSecond :: Lens' UpdateRoomResponse (Maybe Natural) Source #

Maximum number of messages per second that can be sent to the room (by all clients), from the request (if specified).

updateRoomResponse_messageReviewHandler :: Lens' UpdateRoomResponse (Maybe MessageReviewHandler) Source #

Configuration information for optional review of messages.

updateRoomResponse_name :: Lens' UpdateRoomResponse (Maybe Text) Source #

Room name, from the request (if specified).

updateRoomResponse_tags :: Lens' UpdateRoomResponse (Maybe (HashMap Text Text)) Source #

Tags attached to the resource. Array of maps, each of the form string:string (key:value).

updateRoomResponse_updateTime :: Lens' UpdateRoomResponse (Maybe UTCTime) Source #

Time of the room’s last update. This is an ISO 8601 timestamp; /note that this is returned as a string/.