| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Chime.Types.PhoneNumberError
Description
Documentation
data PhoneNumberError Source #
If the phone number 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.
See: newPhoneNumberError smart constructor.
Constructors
| PhoneNumberError' | |
Fields
| |
Instances
newPhoneNumberError :: PhoneNumberError Source #
Create a value of PhoneNumberError 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:errorCode:PhoneNumberError', phoneNumberError_errorCode - The error code.
$sel:errorMessage:PhoneNumberError', phoneNumberError_errorMessage - The error message.
$sel:phoneNumberId:PhoneNumberError', phoneNumberError_phoneNumberId - The phone number ID for which the action failed.
phoneNumberError_errorCode :: Lens' PhoneNumberError (Maybe ErrorCode) Source #
The error code.
phoneNumberError_errorMessage :: Lens' PhoneNumberError (Maybe Text) Source #
The error message.
phoneNumberError_phoneNumberId :: Lens' PhoneNumberError (Maybe Text) Source #
The phone number ID for which the action failed.