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 group.
Synopsis
- data DisassociatePhoneNumbersFromVoiceConnectorGroup = DisassociatePhoneNumbersFromVoiceConnectorGroup' {}
- newDisassociatePhoneNumbersFromVoiceConnectorGroup :: Text -> DisassociatePhoneNumbersFromVoiceConnectorGroup
- disassociatePhoneNumbersFromVoiceConnectorGroup_voiceConnectorGroupId :: Lens' DisassociatePhoneNumbersFromVoiceConnectorGroup Text
- disassociatePhoneNumbersFromVoiceConnectorGroup_e164PhoneNumbers :: Lens' DisassociatePhoneNumbersFromVoiceConnectorGroup [Text]
- data DisassociatePhoneNumbersFromVoiceConnectorGroupResponse = DisassociatePhoneNumbersFromVoiceConnectorGroupResponse' {}
- newDisassociatePhoneNumbersFromVoiceConnectorGroupResponse :: Int -> DisassociatePhoneNumbersFromVoiceConnectorGroupResponse
- disassociatePhoneNumbersFromVoiceConnectorGroupResponse_phoneNumberErrors :: Lens' DisassociatePhoneNumbersFromVoiceConnectorGroupResponse (Maybe [PhoneNumberError])
- disassociatePhoneNumbersFromVoiceConnectorGroupResponse_httpStatus :: Lens' DisassociatePhoneNumbersFromVoiceConnectorGroupResponse Int
Creating a Request
data DisassociatePhoneNumbersFromVoiceConnectorGroup Source #
See: newDisassociatePhoneNumbersFromVoiceConnectorGroup
smart constructor.
DisassociatePhoneNumbersFromVoiceConnectorGroup' | |
|
Instances
newDisassociatePhoneNumbersFromVoiceConnectorGroup Source #
:: Text |
|
-> DisassociatePhoneNumbersFromVoiceConnectorGroup |
Create a value of DisassociatePhoneNumbersFromVoiceConnectorGroup
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:voiceConnectorGroupId:DisassociatePhoneNumbersFromVoiceConnectorGroup'
, disassociatePhoneNumbersFromVoiceConnectorGroup_voiceConnectorGroupId
- The Amazon Chime Voice Connector group ID.
$sel:e164PhoneNumbers:DisassociatePhoneNumbersFromVoiceConnectorGroup'
, disassociatePhoneNumbersFromVoiceConnectorGroup_e164PhoneNumbers
- List of phone numbers, in E.164 format.
Request Lenses
disassociatePhoneNumbersFromVoiceConnectorGroup_voiceConnectorGroupId :: Lens' DisassociatePhoneNumbersFromVoiceConnectorGroup Text Source #
The Amazon Chime Voice Connector group ID.
disassociatePhoneNumbersFromVoiceConnectorGroup_e164PhoneNumbers :: Lens' DisassociatePhoneNumbersFromVoiceConnectorGroup [Text] Source #
List of phone numbers, in E.164 format.
Destructuring the Response
data DisassociatePhoneNumbersFromVoiceConnectorGroupResponse Source #
See: newDisassociatePhoneNumbersFromVoiceConnectorGroupResponse
smart constructor.
DisassociatePhoneNumbersFromVoiceConnectorGroupResponse' | |
|
Instances
newDisassociatePhoneNumbersFromVoiceConnectorGroupResponse Source #
:: Int |
|
-> DisassociatePhoneNumbersFromVoiceConnectorGroupResponse |
Create a value of DisassociatePhoneNumbersFromVoiceConnectorGroupResponse
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:DisassociatePhoneNumbersFromVoiceConnectorGroupResponse'
, disassociatePhoneNumbersFromVoiceConnectorGroupResponse_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:DisassociatePhoneNumbersFromVoiceConnectorGroupResponse'
, disassociatePhoneNumbersFromVoiceConnectorGroupResponse_httpStatus
- The response's http status code.
Response Lenses
disassociatePhoneNumbersFromVoiceConnectorGroupResponse_phoneNumberErrors :: Lens' DisassociatePhoneNumbersFromVoiceConnectorGroupResponse (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.
disassociatePhoneNumbersFromVoiceConnectorGroupResponse_httpStatus :: Lens' DisassociatePhoneNumbersFromVoiceConnectorGroupResponse Int Source #
The response's http status code.