SessionLocationType
¶
Source code in docs_src/capo_cognito_identity_provider/types/session_location_type.py
city
instance-attribute
¶
city: NotRequired[SessionLocationCityType]
The city of the most recent activity on the session, derived from the IP address. This value can be null if geo-IP resolution fails. The maximum length is 256 characters.
country
instance-attribute
¶
country: NotRequired[SessionLocationCountryType]
The country of the most recent activity on the session, derived from the IP address and returned in English (for example, United States). This is a country name as returned by the geo-IP database, not an ISO country code, and can be unknown if geo-IP resolution fails.