validate_e911_address
async
¶
validate_e911_address(
aws_account_id: NonEmptyString,
street_number: SensitiveNonEmptyString,
street_info: SensitiveNonEmptyString,
city: SensitiveNonEmptyString,
state: SensitiveNonEmptyString,
country: SensitiveNonEmptyString,
postal_code: SensitiveNonEmptyString,
*,
config_overrides: Optional[AsyncChimeSDKVoiceClientConfig] = None,
) -> ValidateE911AddressResponse
Validates an address to be used for 911 calls made with Amazon Chime SDK 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.
Parameters:
-
aws_account_id(NonEmptyString) –The AWS account ID.
-
street_number(SensitiveNonEmptyString) –The address street number, such as
200or2121. -
street_info(SensitiveNonEmptyString) –The address street information, such as
8th Avenue. -
city(SensitiveNonEmptyString) –The address city, such as
Portland. -
state(SensitiveNonEmptyString) –The address state, such as
ME. -
country(SensitiveNonEmptyString) –The country in the address being validated as two-letter country code in ISO 3166-1 alpha-2 format, such as
US. For more information, see ISO 3166-1 alpha-2 in Wikipedia. -
postal_code(SensitiveNonEmptyString) –The dress postal code, such
04352.
Raises:
-
AccessDeniedException–You don't have the permissions needed to run this action.
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
NotFoundException–The requested resource couldn't be found.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
ThrottledClientException–The number of customer requests exceeds the request rate limit.
-
UnauthorizedClientException–The client isn't authorized to request a resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chime_sdk_voice/_services/async_chime_sdk_voice.py
6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 | |