libZSservicesZSamazonka-chimeZSamazonka-chime
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Chime.Types.PhoneNumberError

Description

 
Synopsis

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

Instances details
Eq PhoneNumberError Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberError

Read PhoneNumberError Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberError

Show PhoneNumberError Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberError

Generic PhoneNumberError Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberError

Associated Types

type Rep PhoneNumberError :: Type -> Type #

NFData PhoneNumberError Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberError

Methods

rnf :: PhoneNumberError -> () #

Hashable PhoneNumberError Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberError

FromJSON PhoneNumberError Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberError

type Rep PhoneNumberError Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberError

type Rep PhoneNumberError = D1 ('MetaData "PhoneNumberError" "Amazonka.Chime.Types.PhoneNumberError" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "PhoneNumberError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorCode)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:phoneNumberId:PhoneNumberError', phoneNumberError_phoneNumberId - The phone number ID for which the action failed.

$sel:errorCode:PhoneNumberError', phoneNumberError_errorCode - The error code.

$sel:errorMessage:PhoneNumberError', phoneNumberError_errorMessage - The error message.

phoneNumberError_phoneNumberId :: Lens' PhoneNumberError (Maybe Text) Source #

The phone number ID for which the action failed.