Package | Description |
---|---|
com.amazonaws |
The amazonaws package includes classes commonly used to support the AWS SDK for Android.
|
com.amazonaws.auth | |
com.amazonaws.handlers | |
com.amazonaws.http | |
com.amazonaws.services.cognitoidentity |
|
com.amazonaws.services.securitytoken |
|
Modifier and Type | Method and Description |
---|---|
AWSCredentials |
AmazonWebServiceRequest.getRequestCredentials()
Returns the optional credentials to use to sign this request, overriding
the default credentials set at the client level.
|
Modifier and Type | Method and Description |
---|---|
void |
AmazonWebServiceRequest.setRequestCredentials(AWSCredentials credentials)
Sets the optional credentials to use for this request, overriding the
default credentials set at the client level.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AWSRefreshableSessionCredentials
Session credentials that can be refreshed upon request.
|
interface |
AWSSessionCredentials
AWS session credentials object.
|
Modifier and Type | Class and Description |
---|---|
class |
AnonymousAWSCredentials
Basic implementation of the AWSCredentials interface that allows use of
"anonymous" credentials.
|
class |
BasicAWSCredentials
Basic implementation of the AWSCredentials interface that allows callers to
pass in the AWS access key and secret access in the constructor.
|
class |
BasicSessionCredentials
Simple session credentials with keys and session token.
|
class |
PropertiesCredentials
Simple implementation AWSCredentials that reads in AWS access keys from a
properties file.
|
class |
STSSessionCredentials
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AWSCredentials |
AWSCredentialsProviderChain.getCredentials() |
AWSCredentials |
WebIdentityFederationSessionCredentialsProvider.getCredentials() |
AWSCredentials |
STSSessionCredentialsProvider.getCredentials() |
AWSCredentials |
ClasspathPropertiesFileCredentialsProvider.getCredentials()
Deprecated.
|
AWSCredentials |
STSAssumeRoleSessionCredentialsProvider.getCredentials() |
AWSCredentials |
AWSCredentialsProvider.getCredentials()
Returns AWSCredentials which the caller can use to authorize an AWS
request.
|
AWSCredentials |
SystemPropertiesCredentialsProvider.getCredentials()
Deprecated.
|
AWSCredentials |
PropertiesFileCredentialsProvider.getCredentials() |
protected AWSCredentials |
AbstractAWSSigner.sanitizeCredentials(AWSCredentials credentials)
Loads the individual access key ID and secret key from the specified
credentials, ensuring that access to the credentials is synchronized on
the credentials object itself, and trimming any extra whitespace from the
credentials.
|
Modifier and Type | Method and Description |
---|---|
protected AWS4Signer.HeaderSigningResult |
AWS4Signer.computeSignature(Request<?> request,
String dateStamp,
String timeStamp,
String algorithm,
String contentSha256,
AWSCredentials sanitizedCredentials) |
static STSSessionCredentialsProvider |
SessionCredentialsProviderFactory.getSessionCredentialsProvider(AWSCredentials longTermCredentials,
String serviceEndpoint,
ClientConfiguration stsClientConfiguration)
Gets a session credentials provider for the long-term credentials and
service endpoint given.
|
void |
AWS4Signer.presignRequest(Request<?> request,
AWSCredentials credentials,
Date expiration) |
void |
Presigner.presignRequest(Request<?> request,
AWSCredentials credentials,
Date expiration)
Signs the request by adding the signature to the URL rather than as a
header.
|
protected AWSCredentials |
AbstractAWSSigner.sanitizeCredentials(AWSCredentials credentials)
Loads the individual access key ID and secret key from the specified
credentials, ensuring that access to the credentials is synchronized on
the credentials object itself, and trimming any extra whitespace from the
credentials.
|
void |
AWS4Signer.sign(Request<?> request,
AWSCredentials credentials) |
void |
AWS3Signer.sign(Request<?> request,
AWSCredentials credentials)
Signs the specified request with the AWS3 signing protocol by using the
AWS account credentials specified when this object was constructed and
adding the required AWS3 headers to the request.
|
void |
NoOpSigner.sign(Request<?> request,
AWSCredentials credentials) |
void |
Signer.sign(Request<?> request,
AWSCredentials credentials)
Sign the given request with the given set of credentials.
|
void |
QueryStringSigner.sign(Request<?> request,
AWSCredentials credentials)
This signer will add "Signature" parameter to the request.
|
void |
QueryStringSigner.sign(Request<?> request,
SignatureVersion version,
SigningAlgorithm algorithm,
AWSCredentials credentials)
This signer will add following authentication parameters to the request:
AWSAccessKeyId SignatureVersion SignatureMethod Timestamp Signature
|
Constructor and Description |
---|
STSAssumeRoleSessionCredentialsProvider(AWSCredentials longLivedCredentials,
String roleArn,
String roleSessionName)
Constructs a new STSAssumeRoleSessionCredentialsProvider, which will use
the specified 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. |
STSAssumeRoleSessionCredentialsProvider(AWSCredentials longLivedCredentials,
String roleArn,
String roleSessionName,
ClientConfiguration clientConfiguration)
Constructs a new STSAssumeRoleSessionCredentialsProvider, which will use
the specified 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. |
STSSessionCredentials(AWSCredentials credentials)
Deprecated.
Create a new credentials object that will periodically and automatically
obtain a session from STS.
|
STSSessionCredentials(AWSCredentials credentials,
int sessionDurationSeconds)
Deprecated.
Create a new credentials object that will periodically and automatically
obtain a session from STS.
|
STSSessionCredentialsProvider(AWSCredentials longLivedCredentials)
Constructs a new STSSessionCredentialsProvider, which will use the
specified 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(AWSCredentials longLivedCredentials,
ClientConfiguration clientConfiguration)
Constructs a new STSSessionCredentialsProvider, which will use the
specified 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 | Field and Description |
---|---|
protected AWSCredentials |
CredentialsRequestHandler.awsCredentials
AWSCredentials to be used in the RequestHandler.
|
Modifier and Type | Method and Description |
---|---|
void |
CredentialsRequestHandler.setCredentials(AWSCredentials awsCredentials)
Sets the AWSCredentials.
|
Modifier and Type | Method and Description |
---|---|
AWSCredentials |
ExecutionContext.getCredentials()
Returns the optional credentials used to sign the associated request.
|
Modifier and Type | Method and Description |
---|---|
void |
ExecutionContext.setCredentials(AWSCredentials credentials)
Sets the optional credentials used to sign the associated request.
|
Constructor and Description |
---|
AmazonCognitoIdentityClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on
AmazonCognitoIdentity using the specified AWS account credentials.
|
AmazonCognitoIdentityClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on
AmazonCognitoIdentity using the specified AWS account credentials and
client configuration options.
|
Constructor and Description |
---|
AWSSecurityTokenServiceClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on
AWSSecurityTokenService using the specified AWS account credentials.
|
AWSSecurityTokenServiceClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on
AWSSecurityTokenService using the specified AWS account credentials and
client configuration options.
|
Copyright © 2018. All rights reserved.