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 |
Disassociates the specified phone numbers from the specified Amazon Chime Voice Connector.
Synopsis
- data DisassociatePhoneNumbersFromVoiceConnector = DisassociatePhoneNumbersFromVoiceConnector' {}
- newDisassociatePhoneNumbersFromVoiceConnector :: Text -> DisassociatePhoneNumbersFromVoiceConnector
- disassociatePhoneNumbersFromVoiceConnector_voiceConnectorId :: Lens' DisassociatePhoneNumbersFromVoiceConnector Text
- disassociatePhoneNumbersFromVoiceConnector_e164PhoneNumbers :: Lens' DisassociatePhoneNumbersFromVoiceConnector [Text]
- data DisassociatePhoneNumbersFromVoiceConnectorResponse = DisassociatePhoneNumbersFromVoiceConnectorResponse' {}
- newDisassociatePhoneNumbersFromVoiceConnectorResponse :: Int -> DisassociatePhoneNumbersFromVoiceConnectorResponse
- disassociatePhoneNumbersFromVoiceConnectorResponse_phoneNumberErrors :: Lens' DisassociatePhoneNumbersFromVoiceConnectorResponse (Maybe [PhoneNumberError])
- disassociatePhoneNumbersFromVoiceConnectorResponse_httpStatus :: Lens' DisassociatePhoneNumbersFromVoiceConnectorResponse Int
Creating a Request
data DisassociatePhoneNumbersFromVoiceConnector Source #
See: newDisassociatePhoneNumbersFromVoiceConnector
smart constructor.
DisassociatePhoneNumbersFromVoiceConnector' | |
|
Instances
newDisassociatePhoneNumbersFromVoiceConnector Source #
:: Text |
|
-> DisassociatePhoneNumbersFromVoiceConnector |
Create a value of DisassociatePhoneNumbersFromVoiceConnector
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:DisassociatePhoneNumbersFromVoiceConnector'
, disassociatePhoneNumbersFromVoiceConnector_voiceConnectorId
- The Amazon Chime Voice Connector ID.
$sel:e164PhoneNumbers:DisassociatePhoneNumbersFromVoiceConnector'
, disassociatePhoneNumbersFromVoiceConnector_e164PhoneNumbers
- List of phone numbers, in E.164 format.
Request Lenses
disassociatePhoneNumbersFromVoiceConnector_voiceConnectorId :: Lens' DisassociatePhoneNumbersFromVoiceConnector Text Source #
The Amazon Chime Voice Connector ID.
disassociatePhoneNumbersFromVoiceConnector_e164PhoneNumbers :: Lens' DisassociatePhoneNumbersFromVoiceConnector [Text] Source #
List of phone numbers, in E.164 format.
Destructuring the Response
data DisassociatePhoneNumbersFromVoiceConnectorResponse Source #
See: newDisassociatePhoneNumbersFromVoiceConnectorResponse
smart constructor.
DisassociatePhoneNumbersFromVoiceConnectorResponse' | |
|
Instances
newDisassociatePhoneNumbersFromVoiceConnectorResponse Source #
:: Int |
|
-> DisassociatePhoneNumbersFromVoiceConnectorResponse |
Create a value of DisassociatePhoneNumbersFromVoiceConnectorResponse
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:phoneNumberErrors:DisassociatePhoneNumbersFromVoiceConnectorResponse'
, disassociatePhoneNumbersFromVoiceConnectorResponse_phoneNumberErrors
- If the action fails for one or more of the phone numbers in the request,
a list of the phone numbers is returned, along with error codes and
error messages.
$sel:httpStatus:DisassociatePhoneNumbersFromVoiceConnectorResponse'
, disassociatePhoneNumbersFromVoiceConnectorResponse_httpStatus
- The response's http status code.
Response Lenses
disassociatePhoneNumbersFromVoiceConnectorResponse_phoneNumberErrors :: Lens' DisassociatePhoneNumbersFromVoiceConnectorResponse (Maybe [PhoneNumberError]) Source #
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.
disassociatePhoneNumbersFromVoiceConnectorResponse_httpStatus :: Lens' DisassociatePhoneNumbersFromVoiceConnectorResponse Int Source #
The response's http status code.