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 |
Adds origination settings for the specified Amazon Chime Voice Connector.
If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to turning off origination settings.
Synopsis
- data PutVoiceConnectorOrigination = PutVoiceConnectorOrigination' {}
- newPutVoiceConnectorOrigination :: Text -> Origination -> PutVoiceConnectorOrigination
- putVoiceConnectorOrigination_voiceConnectorId :: Lens' PutVoiceConnectorOrigination Text
- putVoiceConnectorOrigination_origination :: Lens' PutVoiceConnectorOrigination Origination
- data PutVoiceConnectorOriginationResponse = PutVoiceConnectorOriginationResponse' {}
- newPutVoiceConnectorOriginationResponse :: Int -> PutVoiceConnectorOriginationResponse
- putVoiceConnectorOriginationResponse_origination :: Lens' PutVoiceConnectorOriginationResponse (Maybe Origination)
- putVoiceConnectorOriginationResponse_httpStatus :: Lens' PutVoiceConnectorOriginationResponse Int
Creating a Request
data PutVoiceConnectorOrigination Source #
See: newPutVoiceConnectorOrigination
smart constructor.
PutVoiceConnectorOrigination' | |
|
Instances
newPutVoiceConnectorOrigination Source #
Create a value of PutVoiceConnectorOrigination
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:voiceConnectorId:PutVoiceConnectorOrigination'
, putVoiceConnectorOrigination_voiceConnectorId
- The Amazon Chime Voice Connector ID.
$sel:origination:PutVoiceConnectorOrigination'
, putVoiceConnectorOrigination_origination
- The origination setting details to add.
Request Lenses
putVoiceConnectorOrigination_voiceConnectorId :: Lens' PutVoiceConnectorOrigination Text Source #
The Amazon Chime Voice Connector ID.
putVoiceConnectorOrigination_origination :: Lens' PutVoiceConnectorOrigination Origination Source #
The origination setting details to add.
Destructuring the Response
data PutVoiceConnectorOriginationResponse Source #
See: newPutVoiceConnectorOriginationResponse
smart constructor.
PutVoiceConnectorOriginationResponse' | |
|
Instances
newPutVoiceConnectorOriginationResponse Source #
Create a value of PutVoiceConnectorOriginationResponse
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:origination:PutVoiceConnectorOrigination'
, putVoiceConnectorOriginationResponse_origination
- The updated origination setting details.
$sel:httpStatus:PutVoiceConnectorOriginationResponse'
, putVoiceConnectorOriginationResponse_httpStatus
- The response's http status code.
Response Lenses
putVoiceConnectorOriginationResponse_origination :: Lens' PutVoiceConnectorOriginationResponse (Maybe Origination) Source #
The updated origination setting details.
putVoiceConnectorOriginationResponse_httpStatus :: Lens' PutVoiceConnectorOriginationResponse Int Source #
The response's http status code.