validate_e911_address

ChimeSDKVoice.Client.validate_e911_address(**kwargs)

See also: AWS API Documentation

Request Syntax

response = client.validate_e911_address(
    AwsAccountId='string',
    StreetNumber='string',
    StreetInfo='string',
    City='string',
    State='string',
    Country='string',
    PostalCode='string'
)
Parameters
  • AwsAccountId (string) -- [REQUIRED]
  • StreetNumber (string) -- [REQUIRED]
  • StreetInfo (string) -- [REQUIRED]
  • City (string) -- [REQUIRED]
  • State (string) -- [REQUIRED]
  • Country (string) -- [REQUIRED]
  • PostalCode (string) -- [REQUIRED]
Return type

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) --
    • AddressExternalId (string) --
    • Address (dict) --
      • streetName (string) --
      • streetSuffix (string) --
      • postDirectional (string) --
      • preDirectional (string) --
      • streetNumber (string) --
      • city (string) --
      • state (string) --
      • postalCode (string) --
      • postalCodePlus4 (string) --
      • country (string) --
    • CandidateAddressList (list) --
      • (dict) --
        • streetInfo (string) --
        • streetNumber (string) --
        • city (string) --
        • state (string) --
        • postalCode (string) --
        • postalCodePlus4 (string) --
        • country (string) --

Exceptions

  • ChimeSDKVoice.Client.exceptions.UnauthorizedClientException
  • ChimeSDKVoice.Client.exceptions.NotFoundException
  • ChimeSDKVoice.Client.exceptions.ForbiddenException
  • ChimeSDKVoice.Client.exceptions.BadRequestException
  • ChimeSDKVoice.Client.exceptions.ThrottledClientException
  • ChimeSDKVoice.Client.exceptions.ServiceUnavailableException
  • ChimeSDKVoice.Client.exceptions.ServiceFailureException