AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Constructs a new SQLiteCognitoAWSCredentials instance, which will use the specified Amazon Cognito identity pool to make a requests to the AWS Security Token Service (STS) to request short lived session credentials.
public SQLiteCognitoAWSCredentials( String accountId, String identityPoolId, String unAuthRoleArn, String authRoleArn, RegionEndpoint region )
The AWS accountId for the account with Amazon Cognito
The Amazon Cogntio identity pool to use
The ARN of the IAM Role that will be assumed when unauthenticated
The ARN of the IAM Role that will be assumed when authenticated
Region to use when accessing Amazon Cognito and AWS Security Token Service.
Supported in: 4.5, 4.0, 3.5