amazonka-chime-2.0: Amazon Chime SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Chime.ValidateE911Address

Description

Validates an address to be used for 911 calls made with Amazon Chime Voice Connectors. You can use validated addresses in a Presence Information Data Format Location Object file that you include in SIP requests. That helps ensure that addresses are routed to the appropriate Public Safety Answering Point.

Synopsis

Creating a Request

data ValidateE911Address Source #

See: newValidateE911Address smart constructor.

Constructors

ValidateE911Address' 

Fields

Instances

Instances details
ToJSON ValidateE911Address Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

ToHeaders ValidateE911Address Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

ToPath ValidateE911Address Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

ToQuery ValidateE911Address Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

AWSRequest ValidateE911Address Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

Associated Types

type AWSResponse ValidateE911Address #

Generic ValidateE911Address Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

Associated Types

type Rep ValidateE911Address :: Type -> Type #

Show ValidateE911Address Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

NFData ValidateE911Address Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

Methods

rnf :: ValidateE911Address -> () #

Eq ValidateE911Address Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

Hashable ValidateE911Address Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

type AWSResponse ValidateE911Address Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

type Rep ValidateE911Address Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

newValidateE911Address Source #

Create a value of ValidateE911Address 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:

ValidateE911Address, validateE911Address_awsAccountId - The AWS account ID.

ValidateE911Address, validateE911Address_streetNumber - The address street number, such as 200 or 2121.

ValidateE911Address, validateE911Address_streetInfo - The address street information, such as 8th Avenue.

ValidateE911Address, validateE911Address_city - The address city, such as Portland.

ValidateE911Address, validateE911Address_state - The address state, such as ME.

ValidateE911Address, validateE911Address_country - The address country, such as US.

ValidateE911Address, validateE911Address_postalCode - The address postal code, such as 04352.

Request Lenses

validateE911Address_streetNumber :: Lens' ValidateE911Address Text Source #

The address street number, such as 200 or 2121.

validateE911Address_streetInfo :: Lens' ValidateE911Address Text Source #

The address street information, such as 8th Avenue.

validateE911Address_city :: Lens' ValidateE911Address Text Source #

The address city, such as Portland.

validateE911Address_postalCode :: Lens' ValidateE911Address Text Source #

The address postal code, such as 04352.

Destructuring the Response

data ValidateE911AddressResponse Source #

See: newValidateE911AddressResponse smart constructor.

Constructors

ValidateE911AddressResponse' 

Fields

Instances

Instances details
Generic ValidateE911AddressResponse Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

Associated Types

type Rep ValidateE911AddressResponse :: Type -> Type #

Show ValidateE911AddressResponse Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

NFData ValidateE911AddressResponse Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

Eq ValidateE911AddressResponse Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

type Rep ValidateE911AddressResponse Source # 
Instance details

Defined in Amazonka.Chime.ValidateE911Address

type Rep ValidateE911AddressResponse = D1 ('MetaData "ValidateE911AddressResponse" "Amazonka.Chime.ValidateE911Address" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "ValidateE911AddressResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Address)) :*: S1 ('MetaSel ('Just "addressExternalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "candidateAddressList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CandidateAddress])) :*: (S1 ('MetaSel ('Just "validationResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newValidateE911AddressResponse Source #

Create a value of ValidateE911AddressResponse 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:address:ValidateE911AddressResponse', validateE911AddressResponse_address - The validated address.

$sel:addressExternalId:ValidateE911AddressResponse', validateE911AddressResponse_addressExternalId - The ID that represents the address.

$sel:candidateAddressList:ValidateE911AddressResponse', validateE911AddressResponse_candidateAddressList - The list of address suggestions.

$sel:validationResult:ValidateE911AddressResponse', validateE911AddressResponse_validationResult - Number indicating the result of address validation. 0 means the address was perfect as is and successfully validated. 1 means the address was corrected. 2 means the address sent was not close enough and was not validated.

$sel:httpStatus:ValidateE911AddressResponse', validateE911AddressResponse_httpStatus - The response's http status code.

Response Lenses

validateE911AddressResponse_validationResult :: Lens' ValidateE911AddressResponse (Maybe Natural) Source #

Number indicating the result of address validation. 0 means the address was perfect as is and successfully validated. 1 means the address was corrected. 2 means the address sent was not close enough and was not validated.