Amazon Chime

2022/07/27 - Amazon Chime - 1 new api methods

Changes  Chime VoiceConnector will now support ValidateE911Address which will allow customers to prevalidate their addresses included in their SIP invites for emergency calling

ValidateE911Address (new) Link ΒΆ

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.

See also: AWS API Documentation

Request Syntax

client.validate_e911_address(
    AwsAccountId='string',
    StreetNumber='string',
    StreetInfo='string',
    City='string',
    State='string',
    Country='string',
    PostalCode='string'
)
type AwsAccountId

string

param AwsAccountId

[REQUIRED]

The AWS account ID.

type StreetNumber

string

param StreetNumber

[REQUIRED]

The address street number, such as 200 or 2121 .

type StreetInfo

string

param StreetInfo

[REQUIRED]

The address street information, such as 8th Avenue .

type City

string

param City

[REQUIRED]

The address city, such as Portland .

type State

string

param State

[REQUIRED]

The address state, such as ME .

type Country

string

param Country

[REQUIRED]

The address country, such as US .

type PostalCode

string

param PostalCode

[REQUIRED]

The address postal code, such as 04352 .

rtype

dict

returns

Response Syntax

{
    'ValidationResult': 123,
    'AddressExternalId': 'string',
    'Address': {
        'streetName': 'string',
        'streetSuffix': 'string',
        'postDirectional': 'string',
        'preDirectional': 'string',
        'streetNumber': 'string',
        'city': 'string',
        'state': 'string',
        'postalCode': 'string',
        'postalCodePlus4': 'string',
        'country': 'string'
    },
    'CandidateAddressList': [
        {
            'streetInfo': 'string',
            'streetNumber': 'string',
            'city': 'string',
            'state': 'string',
            'postalCode': 'string',
            'postalCodePlus4': 'string',
            'country': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • ValidationResult (integer) --

      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.

    • AddressExternalId (string) --

      The ID that represents the address.

    • Address (dict) --

      The validated address.

      • streetName (string) --

        The address street, such as 8th Avenue .

      • streetSuffix (string) --

        The address suffix, such as the N in 8th Avenue N .

      • postDirectional (string) --

        An address suffix location, such as the S. Unit A in Central Park S. Unit A .

      • preDirectional (string) --

        An address prefix location, such as the N in N. Third St. .

      • streetNumber (string) --

        The numeric portion of an address.

      • city (string) --

        The city of an address.

      • state (string) --

        The state of an address.

      • postalCode (string) --

        The postal code of an address.

      • postalCodePlus4 (string) --

        The Zip + 4 or postal code + 4 of an address.

      • country (string) --

        The country of an address.

    • CandidateAddressList (list) --

      The list of address suggestions.

      • (dict) --

        A suggested address.

        • streetInfo (string) --

          The street information of a candidate address

        • streetNumber (string) --

          The numeric portion of a candidate address.

        • city (string) --

          The city of a candidate address.

        • state (string) --

          The state of a candidate address.

        • postalCode (string) --

          The postal code of a candidate address.

        • postalCodePlus4 (string) --

          The Zip + 4 or postal code + 4 of a candidate address.

        • country (string) --

          The country of a candidate address.