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 termination 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 termination settings.
Synopsis
- data PutVoiceConnectorTermination = PutVoiceConnectorTermination' {}
- newPutVoiceConnectorTermination :: Text -> Termination -> PutVoiceConnectorTermination
- putVoiceConnectorTermination_voiceConnectorId :: Lens' PutVoiceConnectorTermination Text
- putVoiceConnectorTermination_termination :: Lens' PutVoiceConnectorTermination Termination
- data PutVoiceConnectorTerminationResponse = PutVoiceConnectorTerminationResponse' {}
- newPutVoiceConnectorTerminationResponse :: Int -> PutVoiceConnectorTerminationResponse
- putVoiceConnectorTerminationResponse_termination :: Lens' PutVoiceConnectorTerminationResponse (Maybe Termination)
- putVoiceConnectorTerminationResponse_httpStatus :: Lens' PutVoiceConnectorTerminationResponse Int
Creating a Request
data PutVoiceConnectorTermination Source #
See: newPutVoiceConnectorTermination
smart constructor.
PutVoiceConnectorTermination' | |
|
Instances
newPutVoiceConnectorTermination Source #
Create a value of PutVoiceConnectorTermination
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:PutVoiceConnectorTermination'
, putVoiceConnectorTermination_voiceConnectorId
- The Amazon Chime Voice Connector ID.
$sel:termination:PutVoiceConnectorTermination'
, putVoiceConnectorTermination_termination
- The termination setting details to add.
Request Lenses
putVoiceConnectorTermination_voiceConnectorId :: Lens' PutVoiceConnectorTermination Text Source #
The Amazon Chime Voice Connector ID.
putVoiceConnectorTermination_termination :: Lens' PutVoiceConnectorTermination Termination Source #
The termination setting details to add.
Destructuring the Response
data PutVoiceConnectorTerminationResponse Source #
See: newPutVoiceConnectorTerminationResponse
smart constructor.
PutVoiceConnectorTerminationResponse' | |
|
Instances
newPutVoiceConnectorTerminationResponse Source #
Create a value of PutVoiceConnectorTerminationResponse
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:termination:PutVoiceConnectorTermination'
, putVoiceConnectorTerminationResponse_termination
- The updated termination setting details.
$sel:httpStatus:PutVoiceConnectorTerminationResponse'
, putVoiceConnectorTerminationResponse_httpStatus
- The response's http status code.
Response Lenses
putVoiceConnectorTerminationResponse_termination :: Lens' PutVoiceConnectorTerminationResponse (Maybe Termination) Source #
The updated termination setting details.
putVoiceConnectorTerminationResponse_httpStatus :: Lens' PutVoiceConnectorTerminationResponse Int Source #
The response's http status code.