libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
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.Pinpoint.Types.NumberValidateRequest

Description

 
Synopsis

Documentation

data NumberValidateRequest Source #

Specifies a phone number to validate and retrieve information about.

See: newNumberValidateRequest smart constructor.

Constructors

NumberValidateRequest' 

Fields

  • isoCountryCode :: Maybe Text

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.

  • phoneNumber :: Maybe Text

    The phone number to retrieve information about. The phone number that you provide should include a valid numeric country code. Otherwise, the operation might result in an error.

Instances

Instances details
Eq NumberValidateRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.NumberValidateRequest

Read NumberValidateRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.NumberValidateRequest

Show NumberValidateRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.NumberValidateRequest

Generic NumberValidateRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.NumberValidateRequest

Associated Types

type Rep NumberValidateRequest :: Type -> Type #

NFData NumberValidateRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.NumberValidateRequest

Methods

rnf :: NumberValidateRequest -> () #

Hashable NumberValidateRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.NumberValidateRequest

ToJSON NumberValidateRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.NumberValidateRequest

type Rep NumberValidateRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.NumberValidateRequest

type Rep NumberValidateRequest = D1 ('MetaData "NumberValidateRequest" "Amazonka.Pinpoint.Types.NumberValidateRequest" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "NumberValidateRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "isoCountryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newNumberValidateRequest :: NumberValidateRequest Source #

Create a value of NumberValidateRequest 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:isoCountryCode:NumberValidateRequest', numberValidateRequest_isoCountryCode - The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.

$sel:phoneNumber:NumberValidateRequest', numberValidateRequest_phoneNumber - The phone number to retrieve information about. The phone number that you provide should include a valid numeric country code. Otherwise, the operation might result in an error.

numberValidateRequest_isoCountryCode :: Lens' NumberValidateRequest (Maybe Text) Source #

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.

numberValidateRequest_phoneNumber :: Lens' NumberValidateRequest (Maybe Text) Source #

The phone number to retrieve information about. The phone number that you provide should include a valid numeric country code. Otherwise, the operation might result in an error.