Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a room with the specified details.
- createRoom :: Text -> CreateRoom
- data CreateRoom
- crProfileARN :: Lens' CreateRoom (Maybe Text)
- crProviderCalendarId :: Lens' CreateRoom (Maybe Text)
- crClientRequestToken :: Lens' CreateRoom (Maybe Text)
- crDescription :: Lens' CreateRoom (Maybe Text)
- crTags :: Lens' CreateRoom [Tag]
- crRoomName :: Lens' CreateRoom Text
- createRoomResponse :: Int -> CreateRoomResponse
- data CreateRoomResponse
- crrsRoomARN :: Lens' CreateRoomResponse (Maybe Text)
- crrsResponseStatus :: Lens' CreateRoomResponse Int
Creating a Request
:: Text | |
-> CreateRoom |
Creates a value of CreateRoom
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crProfileARN
- The profile ARN for the room.crProviderCalendarId
- The calendar ARN for the room.crClientRequestToken
- A unique, user-specified identifier for this request that ensures idempotency.crDescription
- The description for the room.crTags
- The tags for the room.crRoomName
- The name for the room.
data CreateRoom Source #
See: createRoom
smart constructor.
Request Lenses
crProfileARN :: Lens' CreateRoom (Maybe Text) Source #
The profile ARN for the room.
crProviderCalendarId :: Lens' CreateRoom (Maybe Text) Source #
The calendar ARN for the room.
crClientRequestToken :: Lens' CreateRoom (Maybe Text) Source #
A unique, user-specified identifier for this request that ensures idempotency.
crDescription :: Lens' CreateRoom (Maybe Text) Source #
The description for the room.
crRoomName :: Lens' CreateRoom Text Source #
The name for the room.
Destructuring the Response
Creates a value of CreateRoomResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crrsRoomARN
- The ARN of the newly created room in the response.crrsResponseStatus
- -- | The response status code.
data CreateRoomResponse Source #
See: createRoomResponse
smart constructor.
Response Lenses
crrsRoomARN :: Lens' CreateRoomResponse (Maybe Text) Source #
The ARN of the newly created room in the response.
crrsResponseStatus :: Lens' CreateRoomResponse Int Source #
- - | The response status code.