| 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.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 #
Arguments
| :: Text | |
| -> CreateVoiceConnectorGroup |
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:
CreateVoiceConnectorGroup, createVoiceConnectorGroup_voiceConnectorItems - The Amazon Chime Voice Connectors to route inbound calls to.
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.