получить исключение:Невозможно получить доступ к AWS S3 из Android
Unable to execute HTTP request: Unable to resolve host "cognito-identity.eu-central-1.amazonaws.com": No address associated with hostname
Unable to resolve host "cognito-identity.eu-central-1.amazonaws.com": No address associated with hostname
Код следующее:
// Initialize the Amazon Cognito credentials provider
CognitoCachingCredentialsProvider credentialsProvider = new CognitoCachingCredentialsProvider(
getApplicationContext(), // Application Context
getResources().getString(R.string.AWS_IdentityPoolId), // Identity Pool ID
Regions.EU_CENTRAL_1 // Region enum
);