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 |
Amazonka.Chime.CreateVoiceConnectorGroup
Description
Creates an Amazon Chime Voice Connector group under the administrator's
AWS account. You can associate Amazon Chime Voice Connectors with the
Amazon Chime Voice Connector group by including VoiceConnectorItems
in
the request.
You can include Amazon Chime Voice Connectors from different AWS Regions in your group. This creates a fault tolerant mechanism for fallback in case of availability events.
Synopsis
- data CreateVoiceConnectorGroup = CreateVoiceConnectorGroup' {}
- newCreateVoiceConnectorGroup :: Text -> CreateVoiceConnectorGroup
- createVoiceConnectorGroup_voiceConnectorItems :: Lens' CreateVoiceConnectorGroup (Maybe [VoiceConnectorItem])
- createVoiceConnectorGroup_name :: Lens' CreateVoiceConnectorGroup Text
- data CreateVoiceConnectorGroupResponse = CreateVoiceConnectorGroupResponse' {}
- newCreateVoiceConnectorGroupResponse :: Int -> CreateVoiceConnectorGroupResponse
- createVoiceConnectorGroupResponse_voiceConnectorGroup :: Lens' CreateVoiceConnectorGroupResponse (Maybe VoiceConnectorGroup)
- createVoiceConnectorGroupResponse_httpStatus :: Lens' CreateVoiceConnectorGroupResponse Int
Creating a Request
data CreateVoiceConnectorGroup Source #
See: newCreateVoiceConnectorGroup
smart constructor.
Constructors
CreateVoiceConnectorGroup' | |
Fields
|
Instances
newCreateVoiceConnectorGroup Source #
Create a value of CreateVoiceConnectorGroup
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:voiceConnectorItems:CreateVoiceConnectorGroup'
, createVoiceConnectorGroup_voiceConnectorItems
- The Amazon Chime Voice Connectors to route inbound calls to.
$sel:name:CreateVoiceConnectorGroup'
, createVoiceConnectorGroup_name
- The name of the Amazon Chime Voice Connector group.
Request Lenses
createVoiceConnectorGroup_voiceConnectorItems :: Lens' CreateVoiceConnectorGroup (Maybe [VoiceConnectorItem]) Source #
The Amazon Chime Voice Connectors to route inbound calls to.
createVoiceConnectorGroup_name :: Lens' CreateVoiceConnectorGroup Text Source #
The name of the Amazon Chime Voice Connector group.
Destructuring the Response
data CreateVoiceConnectorGroupResponse Source #
See: newCreateVoiceConnectorGroupResponse
smart constructor.
Constructors
CreateVoiceConnectorGroupResponse' | |
Fields
|
Instances
newCreateVoiceConnectorGroupResponse Source #
Arguments
:: Int | |
-> CreateVoiceConnectorGroupResponse |
Create a value of CreateVoiceConnectorGroupResponse
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:CreateVoiceConnectorGroupResponse'
, createVoiceConnectorGroupResponse_voiceConnectorGroup
- The Amazon Chime Voice Connector group details.
$sel:httpStatus:CreateVoiceConnectorGroupResponse'
, createVoiceConnectorGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createVoiceConnectorGroupResponse_voiceConnectorGroup :: Lens' CreateVoiceConnectorGroupResponse (Maybe VoiceConnectorGroup) Source #
The Amazon Chime Voice Connector group details.
createVoiceConnectorGroupResponse_httpStatus :: Lens' CreateVoiceConnectorGroupResponse Int Source #
The response's http status code.