Copyright | (c) 2013-2021 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 |
Updates details of the specified Amazon Chime Voice Connector group, such as the name and Amazon Chime Voice Connector priority ranking.
Synopsis
- data UpdateVoiceConnectorGroup = UpdateVoiceConnectorGroup' {}
- newUpdateVoiceConnectorGroup :: Text -> Text -> UpdateVoiceConnectorGroup
- updateVoiceConnectorGroup_voiceConnectorGroupId :: Lens' UpdateVoiceConnectorGroup Text
- updateVoiceConnectorGroup_name :: Lens' UpdateVoiceConnectorGroup Text
- updateVoiceConnectorGroup_voiceConnectorItems :: Lens' UpdateVoiceConnectorGroup [VoiceConnectorItem]
- data UpdateVoiceConnectorGroupResponse = UpdateVoiceConnectorGroupResponse' {}
- newUpdateVoiceConnectorGroupResponse :: Int -> UpdateVoiceConnectorGroupResponse
- updateVoiceConnectorGroupResponse_voiceConnectorGroup :: Lens' UpdateVoiceConnectorGroupResponse (Maybe VoiceConnectorGroup)
- updateVoiceConnectorGroupResponse_httpStatus :: Lens' UpdateVoiceConnectorGroupResponse Int
Creating a Request
data UpdateVoiceConnectorGroup Source #
See: newUpdateVoiceConnectorGroup
smart constructor.
UpdateVoiceConnectorGroup' | |
|
Instances
newUpdateVoiceConnectorGroup Source #
:: Text | |
-> Text | |
-> UpdateVoiceConnectorGroup |
Create a value of UpdateVoiceConnectorGroup
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:voiceConnectorGroupId:UpdateVoiceConnectorGroup'
, updateVoiceConnectorGroup_voiceConnectorGroupId
- The Amazon Chime Voice Connector group ID.
$sel:name:UpdateVoiceConnectorGroup'
, updateVoiceConnectorGroup_name
- The name of the Amazon Chime Voice Connector group.
$sel:voiceConnectorItems:UpdateVoiceConnectorGroup'
, updateVoiceConnectorGroup_voiceConnectorItems
- The VoiceConnectorItems
to associate with the group.
Request Lenses
updateVoiceConnectorGroup_voiceConnectorGroupId :: Lens' UpdateVoiceConnectorGroup Text Source #
The Amazon Chime Voice Connector group ID.
updateVoiceConnectorGroup_name :: Lens' UpdateVoiceConnectorGroup Text Source #
The name of the Amazon Chime Voice Connector group.
updateVoiceConnectorGroup_voiceConnectorItems :: Lens' UpdateVoiceConnectorGroup [VoiceConnectorItem] Source #
The VoiceConnectorItems
to associate with the group.
Destructuring the Response
data UpdateVoiceConnectorGroupResponse Source #
See: newUpdateVoiceConnectorGroupResponse
smart constructor.
UpdateVoiceConnectorGroupResponse' | |
|
Instances
Eq UpdateVoiceConnectorGroupResponse Source # | |
Read UpdateVoiceConnectorGroupResponse Source # | |
Show UpdateVoiceConnectorGroupResponse Source # | |
Generic UpdateVoiceConnectorGroupResponse Source # | |
NFData UpdateVoiceConnectorGroupResponse Source # | |
Defined in Amazonka.Chime.UpdateVoiceConnectorGroup rnf :: UpdateVoiceConnectorGroupResponse -> () # | |
type Rep UpdateVoiceConnectorGroupResponse Source # | |
Defined in Amazonka.Chime.UpdateVoiceConnectorGroup type Rep UpdateVoiceConnectorGroupResponse = D1 ('MetaData "UpdateVoiceConnectorGroupResponse" "Amazonka.Chime.UpdateVoiceConnectorGroup" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "UpdateVoiceConnectorGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "voiceConnectorGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VoiceConnectorGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateVoiceConnectorGroupResponse Source #
Create a value of UpdateVoiceConnectorGroupResponse
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:voiceConnectorGroup:UpdateVoiceConnectorGroupResponse'
, updateVoiceConnectorGroupResponse_voiceConnectorGroup
- The updated Amazon Chime Voice Connector group details.
$sel:httpStatus:UpdateVoiceConnectorGroupResponse'
, updateVoiceConnectorGroupResponse_httpStatus
- The response's http status code.
Response Lenses
updateVoiceConnectorGroupResponse_voiceConnectorGroup :: Lens' UpdateVoiceConnectorGroupResponse (Maybe VoiceConnectorGroup) Source #
The updated Amazon Chime Voice Connector group details.
updateVoiceConnectorGroupResponse_httpStatus :: Lens' UpdateVoiceConnectorGroupResponse Int Source #
The response's http status code.