Package | Description |
---|---|
com.amazonaws.auth | |
com.amazonaws.metrics |
Classes used to support the AWS SDK metrics API.
|
com.amazonaws.regions | |
com.amazonaws.services.cognitoidentity |
|
com.amazonaws.services.securitytoken |
|
Modifier and Type | Class and Description |
---|---|
class |
AWSCredentialsProviderChain
AWSCredentialsProvider implementation that chains together multiple
credentials providers. |
class |
ClasspathPropertiesFileCredentialsProvider
Deprecated.
This is unsafe in mobile applications and should not be used. Use
temporary credentials provided by services such as Cognito
Identity
(http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide
/cognito-auth.html)
|
class |
CognitoCachingCredentialsProvider
This credentials provider is intended for Android applications.
|
class |
CognitoCredentialsProvider
AWSCredentialsProvider implementation that uses the Amazon Cognito Identity
service and AWS Security Token Service to create temporary, short-lived
sessions to use for authentication
|
class |
DefaultAWSCredentialsProviderChain
Deprecated.
|
class |
PropertiesFileCredentialsProvider
AWSCredentialsProvider implementation that loads AWS security
credentials from a properties file provided on initialization. |
class |
STSAssumeRoleSessionCredentialsProvider
AWSCredentialsProvider implementation that uses the AWS Security Token
Service to assume a Role and create temporary, short-lived sessions to use
for authentication.
|
class |
STSSessionCredentialsProvider
AWSCredentialsProvider implementation that uses the AWS Security Token
Service to create temporary, short-lived sessions to use for authentication.
|
class |
SystemPropertiesCredentialsProvider
Deprecated.
|
class |
WebIdentityFederationSessionCredentialsProvider
AWSCredentialsProvider implementation that uses the AWS Security Token
Service to create temporary, short-lived sessions to use for authentication.
|
Modifier and Type | Method and Description |
---|---|
AWSCredentialsProvider |
CognitoCredentialsProvider.withLogins(Map<String,String> logins)
Set the logins map used to authenticated with Amazon Cognito.
|
Constructor and Description |
---|
AWSCredentialsProviderChain(AWSCredentialsProvider... credentialsProviders)
Constructs a new AWSCredentialsProviderChain with the specified
credential providers.
|
STSAssumeRoleSessionCredentialsProvider(AWSCredentialsProvider longLivedCredentialsProvider,
String roleArn,
String roleSessionName)
Constructs a new STSAssumeRoleSessionCredentialsProvider, which will use
the specified credentials provider (which vends long lived AWS
credentials) to make a request to the AWS Security Token Service (STS),
usess the provided
STSAssumeRoleSessionCredentialsProvider.roleArn to assume a role and then request
short lived session credentials, which will then be returned by this
class's STSAssumeRoleSessionCredentialsProvider.getCredentials() method. |
STSAssumeRoleSessionCredentialsProvider(AWSCredentialsProvider longLivedCredentialsProvider,
String roleArn,
String roleSessionName,
ClientConfiguration clientConfiguration)
Constructs a new STSAssumeRoleSessionCredentialsProvider, which will use
the specified credentials provider (which vends long lived AWS
credentials) to make a request to the AWS Security Token Service (STS),
uses the provided
STSAssumeRoleSessionCredentialsProvider.roleArn to assume a role and then request
short lived session credentials, which will then be returned by this
class's STSAssumeRoleSessionCredentialsProvider.getCredentials() method. |
STSSessionCredentialsProvider(AWSCredentialsProvider longLivedCredentialsProvider)
Constructs a new STSSessionCredentialsProvider, which will use the
specified credentials provider (which vends long lived AWS credentials)
to make a request to the AWS Security Token Service (STS) to request
short lived session credentials, which will then be returned by this
class's
STSSessionCredentialsProvider.getCredentials() method. |
STSSessionCredentialsProvider(AWSCredentialsProvider longLivedCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new STSSessionCredentialsProvider, which will use the
specified credentials provider (which vends long lived AWS credentials)
to make a request to the AWS Security Token Service (STS) to request
short lived session credentials, which will then be returned by this
class's
STSSessionCredentialsProvider.getCredentials() method. |
Modifier and Type | Method and Description |
---|---|
static AWSCredentialsProvider |
AwsSdkMetrics.getCredentialProvider() |
Modifier and Type | Method and Description |
---|---|
static void |
AwsSdkMetrics.setCredentialProvider(AWSCredentialsProvider provider)
Sets the credential provider for the default AWS SDK metric
implementation; or null if the default is to be used.
|
Modifier and Type | Method and Description |
---|---|
<T extends AmazonWebServiceClient> |
Region.createClient(Class<T> serviceClass,
AWSCredentialsProvider credentials,
ClientConfiguration config)
Creates a new service client of the class given and configures it.
|
Constructor and Description |
---|
AmazonCognitoIdentityClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on
AmazonCognitoIdentity using the specified AWS account credentials
provider.
|
AmazonCognitoIdentityClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on
AmazonCognitoIdentity using the specified AWS account credentials
provider and client configuration options.
|
AmazonCognitoIdentityClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
HttpClient httpClient)
Constructs a new client to invoke service methods on
AmazonCognitoIdentity using the specified AWS account credentials
provider, client configuration options and request metric collector.
|
AmazonCognitoIdentityClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
Deprecated.
|
Constructor and Description |
---|
AWSSecurityTokenServiceClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on
AWSSecurityTokenService using the specified AWS account credentials
provider.
|
AWSSecurityTokenServiceClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on
AWSSecurityTokenService using the specified AWS account credentials
provider and client configuration options.
|
AWSSecurityTokenServiceClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
HttpClient httpClient)
Constructs a new client to invoke service methods on
AWSSecurityTokenService using the specified AWS account credentials
provider, client configuration options and request metric collector.
|
AWSSecurityTokenServiceClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
Deprecated.
|
Copyright © 2019. All rights reserved.