Amazon.Runtime.InstanceProfileAWSCredentials.GetServiceInfo C# (CSharp) Method

GetServiceInfo() private static method

private static GetServiceInfo ( ) : SecurityInfo
return SecurityInfo
        private static SecurityInfo GetServiceInfo()
        {
            string json = GetContents(InfoUri);
            SecurityInfo info = JsonMapper.ToObject<SecurityInfo>(json);
            ValidateResponse(info);
            return info;
        }