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 |
Puts emergency calling configuration details to the specified Amazon Chime Voice Connector, such as emergency phone numbers and calling countries. Origination and termination settings must be enabled for the Amazon Chime Voice Connector before emergency calling can be configured.
Synopsis
- data PutVoiceConnectorEmergencyCallingConfiguration = PutVoiceConnectorEmergencyCallingConfiguration' {}
- newPutVoiceConnectorEmergencyCallingConfiguration :: Text -> EmergencyCallingConfiguration -> PutVoiceConnectorEmergencyCallingConfiguration
- putVoiceConnectorEmergencyCallingConfiguration_voiceConnectorId :: Lens' PutVoiceConnectorEmergencyCallingConfiguration Text
- putVoiceConnectorEmergencyCallingConfiguration_emergencyCallingConfiguration :: Lens' PutVoiceConnectorEmergencyCallingConfiguration EmergencyCallingConfiguration
- data PutVoiceConnectorEmergencyCallingConfigurationResponse = PutVoiceConnectorEmergencyCallingConfigurationResponse' {}
- newPutVoiceConnectorEmergencyCallingConfigurationResponse :: Int -> PutVoiceConnectorEmergencyCallingConfigurationResponse
- putVoiceConnectorEmergencyCallingConfigurationResponse_emergencyCallingConfiguration :: Lens' PutVoiceConnectorEmergencyCallingConfigurationResponse (Maybe EmergencyCallingConfiguration)
- putVoiceConnectorEmergencyCallingConfigurationResponse_httpStatus :: Lens' PutVoiceConnectorEmergencyCallingConfigurationResponse Int
Creating a Request
data PutVoiceConnectorEmergencyCallingConfiguration Source #
See: newPutVoiceConnectorEmergencyCallingConfiguration
smart constructor.
PutVoiceConnectorEmergencyCallingConfiguration' | |
|
Instances
newPutVoiceConnectorEmergencyCallingConfiguration Source #
Create a value of PutVoiceConnectorEmergencyCallingConfiguration
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:PutVoiceConnectorEmergencyCallingConfiguration'
, putVoiceConnectorEmergencyCallingConfiguration_voiceConnectorId
- The Amazon Chime Voice Connector ID.
$sel:emergencyCallingConfiguration:PutVoiceConnectorEmergencyCallingConfiguration'
, putVoiceConnectorEmergencyCallingConfiguration_emergencyCallingConfiguration
- The emergency calling configuration details.
Request Lenses
putVoiceConnectorEmergencyCallingConfiguration_voiceConnectorId :: Lens' PutVoiceConnectorEmergencyCallingConfiguration Text Source #
The Amazon Chime Voice Connector ID.
putVoiceConnectorEmergencyCallingConfiguration_emergencyCallingConfiguration :: Lens' PutVoiceConnectorEmergencyCallingConfiguration EmergencyCallingConfiguration Source #
The emergency calling configuration details.
Destructuring the Response
data PutVoiceConnectorEmergencyCallingConfigurationResponse Source #
See: newPutVoiceConnectorEmergencyCallingConfigurationResponse
smart constructor.
PutVoiceConnectorEmergencyCallingConfigurationResponse' | |
|
Instances
newPutVoiceConnectorEmergencyCallingConfigurationResponse Source #
:: Int |
|
-> PutVoiceConnectorEmergencyCallingConfigurationResponse |
Create a value of PutVoiceConnectorEmergencyCallingConfigurationResponse
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:emergencyCallingConfiguration:PutVoiceConnectorEmergencyCallingConfiguration'
, putVoiceConnectorEmergencyCallingConfigurationResponse_emergencyCallingConfiguration
- The emergency calling configuration details.
$sel:httpStatus:PutVoiceConnectorEmergencyCallingConfigurationResponse'
, putVoiceConnectorEmergencyCallingConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
putVoiceConnectorEmergencyCallingConfigurationResponse_emergencyCallingConfiguration :: Lens' PutVoiceConnectorEmergencyCallingConfigurationResponse (Maybe EmergencyCallingConfiguration) Source #
The emergency calling configuration details.
putVoiceConnectorEmergencyCallingConfigurationResponse_httpStatus :: Lens' PutVoiceConnectorEmergencyCallingConfigurationResponse Int Source #
The response's http status code.