Class AwsHostNameUtils
java.lang.Object
software.amazon.awssdk.awscore.util.AwsHostNameUtils
-
Method Summary
Modifier and TypeMethodDescriptionparseSigningRegion
(String host, String serviceHint) Attempts to parse the region name from an endpoint based on conventions about the endpoint format.
-
Method Details
-
parseSigningRegion
Attempts to parse the region name from an endpoint based on conventions about the endpoint format.- Parameters:
host
- the hostname to parseserviceHint
- an optional hint about the service for the endpoint- Returns:
- the region parsed from the hostname, or null if no region information could be found.
-