Amazon.Internal.RegionEndpointV3.DetermineAuthRegion C# (CSharp) Method

DetermineAuthRegion() private static method

private static DetermineAuthRegion ( JsonData credentialScope ) : string
credentialScope JsonData
return string
        private static string DetermineAuthRegion(JsonData credentialScope)
        {
            string authRegion = null;
            if (credentialScope["region"] != null)
            {
                authRegion = (string) credentialScope["region"];
            }
            return authRegion;
        }