| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AlexaBusiness.CreateRoom
Description
Creates a room with the specified details.
Synopsis
- data CreateRoom = CreateRoom' {
- clientRequestToken :: Maybe Text
- description :: Maybe Text
- profileArn :: Maybe Text
- providerCalendarId :: Maybe Text
- tags :: Maybe [Tag]
- roomName :: Text
- newCreateRoom :: Text -> CreateRoom
- createRoom_clientRequestToken :: Lens' CreateRoom (Maybe Text)
- createRoom_description :: Lens' CreateRoom (Maybe Text)
- createRoom_profileArn :: Lens' CreateRoom (Maybe Text)
- createRoom_providerCalendarId :: Lens' CreateRoom (Maybe Text)
- createRoom_tags :: Lens' CreateRoom (Maybe [Tag])
- createRoom_roomName :: Lens' CreateRoom Text
- data CreateRoomResponse = CreateRoomResponse' {
- roomArn :: Maybe Text
- httpStatus :: Int
- newCreateRoomResponse :: Int -> CreateRoomResponse
- createRoomResponse_roomArn :: Lens' CreateRoomResponse (Maybe Text)
- createRoomResponse_httpStatus :: Lens' CreateRoomResponse Int
Creating a Request
data CreateRoom Source #
See: newCreateRoom smart constructor.
Constructors
| CreateRoom' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> CreateRoom |
Create a value of CreateRoom 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:
$sel:clientRequestToken:CreateRoom', createRoom_clientRequestToken - A unique, user-specified identifier for this request that ensures
idempotency.
CreateRoom, createRoom_description - The description for the room.
CreateRoom, createRoom_profileArn - The profile ARN for the room. This is required.
CreateRoom, createRoom_providerCalendarId - The calendar ARN for the room.
$sel:tags:CreateRoom', createRoom_tags - The tags for the room.
CreateRoom, createRoom_roomName - The name for the room.
Request Lenses
createRoom_clientRequestToken :: Lens' CreateRoom (Maybe Text) Source #
A unique, user-specified identifier for this request that ensures idempotency.
createRoom_description :: Lens' CreateRoom (Maybe Text) Source #
The description for the room.
createRoom_profileArn :: Lens' CreateRoom (Maybe Text) Source #
The profile ARN for the room. This is required.
createRoom_providerCalendarId :: Lens' CreateRoom (Maybe Text) Source #
The calendar ARN for the room.
createRoom_tags :: Lens' CreateRoom (Maybe [Tag]) Source #
The tags for the room.
createRoom_roomName :: Lens' CreateRoom Text Source #
The name for the room.
Destructuring the Response
data CreateRoomResponse Source #
See: newCreateRoomResponse smart constructor.
Constructors
| CreateRoomResponse' | |
Fields
| |
Instances
newCreateRoomResponse Source #
Arguments
| :: Int | |
| -> CreateRoomResponse |
Create a value of CreateRoomResponse 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:
CreateRoomResponse, createRoomResponse_roomArn - The ARN of the newly created room in the response.
$sel:httpStatus:CreateRoomResponse', createRoomResponse_httpStatus - The response's http status code.
Response Lenses
createRoomResponse_roomArn :: Lens' CreateRoomResponse (Maybe Text) Source #
The ARN of the newly created room in the response.
createRoomResponse_httpStatus :: Lens' CreateRoomResponse Int Source #
The response's http status code.