| 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.AssociateSkillGroupWithRoom
Description
Associates a skill group with a given room. This enables all skills in the associated skill group on all devices in the room.
Synopsis
- data AssociateSkillGroupWithRoom = AssociateSkillGroupWithRoom' {}
- newAssociateSkillGroupWithRoom :: AssociateSkillGroupWithRoom
- associateSkillGroupWithRoom_roomArn :: Lens' AssociateSkillGroupWithRoom (Maybe Text)
- associateSkillGroupWithRoom_skillGroupArn :: Lens' AssociateSkillGroupWithRoom (Maybe Text)
- data AssociateSkillGroupWithRoomResponse = AssociateSkillGroupWithRoomResponse' {
- httpStatus :: Int
- newAssociateSkillGroupWithRoomResponse :: Int -> AssociateSkillGroupWithRoomResponse
- associateSkillGroupWithRoomResponse_httpStatus :: Lens' AssociateSkillGroupWithRoomResponse Int
Creating a Request
data AssociateSkillGroupWithRoom Source #
See: newAssociateSkillGroupWithRoom smart constructor.
Constructors
| AssociateSkillGroupWithRoom' | |
Instances
newAssociateSkillGroupWithRoom :: AssociateSkillGroupWithRoom Source #
Create a value of AssociateSkillGroupWithRoom 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:
AssociateSkillGroupWithRoom, associateSkillGroupWithRoom_roomArn - The ARN of the room with which to associate the skill group. Required.
AssociateSkillGroupWithRoom, associateSkillGroupWithRoom_skillGroupArn - The ARN of the skill group to associate with a room. Required.
Request Lenses
associateSkillGroupWithRoom_roomArn :: Lens' AssociateSkillGroupWithRoom (Maybe Text) Source #
The ARN of the room with which to associate the skill group. Required.
associateSkillGroupWithRoom_skillGroupArn :: Lens' AssociateSkillGroupWithRoom (Maybe Text) Source #
The ARN of the skill group to associate with a room. Required.
Destructuring the Response
data AssociateSkillGroupWithRoomResponse Source #
See: newAssociateSkillGroupWithRoomResponse smart constructor.
Constructors
| AssociateSkillGroupWithRoomResponse' | |
Fields
| |
Instances
newAssociateSkillGroupWithRoomResponse Source #
Arguments
| :: Int | |
| -> AssociateSkillGroupWithRoomResponse |
Create a value of AssociateSkillGroupWithRoomResponse 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:httpStatus:AssociateSkillGroupWithRoomResponse', associateSkillGroupWithRoomResponse_httpStatus - The response's http status code.
Response Lenses
associateSkillGroupWithRoomResponse_httpStatus :: Lens' AssociateSkillGroupWithRoomResponse Int Source #
The response's http status code.