Package | Description |
---|---|
com.amazonaws |
The amazonaws package includes classes commonly used to support the AWS SDK for Android.
|
com.amazonaws.auth | |
com.amazonaws.http | |
com.amazonaws.mobile.config | |
com.amazonaws.regions | |
com.amazonaws.services.cognitoidentity |
|
com.amazonaws.services.securitytoken |
|
com.amazonaws.util |
Modifier and Type | Field and Description |
---|---|
protected ClientConfiguration |
AmazonWebServiceClient.clientConfiguration
The client configuration.
|
Modifier and Type | Method and Description |
---|---|
ClientConfiguration |
ClientConfiguration.withConnectionTimeout(int connectionTimeout)
Sets the amount of time to wait (in milliseconds) when initially
establishing a connection before giving up and timing out, and returns
the updated ClientConfiguration object so that additional method calls
may be chained together.
|
ClientConfiguration |
ClientConfiguration.withCurlLogging(boolean curlLogging)
Sets whether or not the client should be logging any information.
|
ClientConfiguration |
ClientConfiguration.withEnableGzip(boolean enableGzip)
Sets whether gzip compression should be used
|
ClientConfiguration |
ClientConfiguration.withLocalAddress(InetAddress localAddress)
Sets the optional local address the client will bind to and returns the
updated ClientConfiguration object.
|
ClientConfiguration |
ClientConfiguration.withMaxConnections(int maxConnections)
Sets the maximum number of allowed open HTTP connections and returns the
updated ClientConfiguration object.
|
ClientConfiguration |
ClientConfiguration.withMaxErrorRetry(int maxErrorRetry)
Sets the maximum number of retry attempts for failed retryable requests
(ex: 5xx error responses from services), and returns the updated
ClientConfiguration object.
|
ClientConfiguration |
ClientConfiguration.withPreemptiveBasicProxyAuth(boolean preemptiveBasicProxyAuth)
Sets whether to attempt to authenticate preemptively against proxy
servers using basic authentication, and returns the updated
ClientConfiguration object so that additional method calls may be chained
together.
|
ClientConfiguration |
ClientConfiguration.withProtocol(Protocol protocol)
Sets the protocol (i.e.
|
ClientConfiguration |
ClientConfiguration.withProxyDomain(String proxyDomain)
Deprecated.
|
ClientConfiguration |
ClientConfiguration.withProxyHost(String proxyHost)
Sets the optional proxy host the client will connect through and returns
the updated ClientConfiguration object.
|
ClientConfiguration |
ClientConfiguration.withProxyPassword(String proxyPassword)
Sets the optional proxy password to use when connecting through a proxy,
and returns the updated ClientConfiguration object.
|
ClientConfiguration |
ClientConfiguration.withProxyPort(int proxyPort)
Sets the optional proxy port the client will connect through and returns
the updated ClientConfiguration object.
|
ClientConfiguration |
ClientConfiguration.withProxyUsername(String proxyUsername)
Sets the optional proxy user name and returns the updated
ClientConfiguration object.
|
ClientConfiguration |
ClientConfiguration.withProxyWorkstation(String proxyWorkstation)
Deprecated.
|
ClientConfiguration |
ClientConfiguration.withReaper(boolean use)
Sets whether the
IdleConnectionReaper is to be started as a
daemon thread |
ClientConfiguration |
ClientConfiguration.withRetryPolicy(RetryPolicy retryPolicy)
Sets the retry policy upon failed requests, and returns the updated
ClientConfiguration object.
|
ClientConfiguration |
ClientConfiguration.withSignerOverride(String value)
Sets the name of the signature algorithm to use for signing requests made
by this client.
|
ClientConfiguration |
ClientConfiguration.withSocketBufferSizeHints(int socketSendBufferSizeHint,
int socketReceiveBufferSizeHint)
Sets the optional size hints (in bytes) for the low level TCP send and
receive buffers, and returns the updated ClientConfiguration object so
that additional method calls may be chained together.
|
ClientConfiguration |
ClientConfiguration.withSocketTimeout(int socketTimeout)
Sets the amount of time to wait (in milliseconds) for data to be
transfered over an established, open connection before the connection
times out and is closed, and returns the updated ClientConfiguration
object so that additional method calls may be chained together.
|
ClientConfiguration |
ClientConfiguration.withTrustManager(TrustManager trustManager)
Sets the trust manager to use for secure connections from this client,
and returns the updated ClientConfiguration object so that additional
calls may be chained together.
|
ClientConfiguration |
ClientConfiguration.withUserAgent(String userAgent)
Sets the HTTP user agent header used in requests and returns the updated
ClientConfiguration object.
|
Modifier and Type | Method and Description |
---|---|
void |
AmazonWebServiceClient.setConfiguration(ClientConfiguration clientConfiguration)
Deprecated.
by client configuration via the constructor. This method will
be removed later on.
|
Constructor and Description |
---|
AmazonWebServiceClient(ClientConfiguration clientConfiguration)
Constructs a new AmazonWebServiceClient object using the specified
configuration.
|
AmazonWebServiceClient(ClientConfiguration clientConfiguration,
HttpClient httpClient)
Constructs a new AmazonWebServiceClient object using the specified
configuration.
|
AmazonWebServiceClient(ClientConfiguration clientConfiguration,
HttpClient httpClient,
RequestMetricCollector requestMetricCollector)
Deprecated.
|
AmazonWebServiceClient(ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
Deprecated.
|
ClientConfiguration(ClientConfiguration other)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static STSSessionCredentialsProvider |
SessionCredentialsProviderFactory.getSessionCredentialsProvider(AWSCredentials longTermCredentials,
String serviceEndpoint,
ClientConfiguration stsClientConfiguration)
Gets a session credentials provider for the long-term credentials and
service endpoint given.
|
Constructor and Description |
---|
AWSAbstractCognitoDeveloperIdentityProvider(String accountId,
String identityPoolId,
ClientConfiguration clientConfiguration)
Deprecated.
please use AWSAbstractCognitoDeveloperIdentityProvider(String
accountId, String identityPoolId, ClientConfiguration
clientConfiguration, Regions region) instead
|
AWSAbstractCognitoDeveloperIdentityProvider(String accountId,
String identityPoolId,
ClientConfiguration clientConfiguration,
Regions region)
Wraps around the AbstractIdentityProvider to cover some back end code
that is consistent across all providers, utilizing the CIB client to
handle the identity management.
|
AWSAbstractCognitoIdentityProvider(String accountId,
String identityPoolId,
ClientConfiguration clientConfiguration)
Deprecated.
please use AWSAbstractCognitoIdentityProvider(String
accountId, String identityPoolId, ClientConfiguration
clientConfiguration, Regions region) instead.
|
AWSAbstractCognitoIdentityProvider(String accountId,
String identityPoolId,
ClientConfiguration clientConfiguration,
Regions region)
Sets up an AWSAbstractCognitoIdentityProvider, which will serve as the
baseline for both Cognito and developer trusted identity providers.
|
AWSBasicCognitoIdentityProvider(String accountId,
String identityPoolId,
ClientConfiguration clientConfiguration)
An extension of the AbstractCognitoProvider that is used to communicate
with Cognito.
|
AWSEnhancedCognitoIdentityProvider(String accountId,
String identityPoolId,
ClientConfiguration clientConfiguration)
An extension of the AbstractCognitoProvider that is used to communicate
with Cognito.
|
CognitoCachingCredentialsProvider(android.content.Context context,
AWSCognitoIdentityProvider provider,
Regions region,
ClientConfiguration clientConfiguration)
Constructs a new
CognitoCachingCredentialsProvider , which will
set up a link to the provider passed in using the enhanced authentication
flow to get short-lived credentials from Amazon Cognito, which can be
retrieved from CognitoCachingCredentialsProvider.getCredentials() |
CognitoCachingCredentialsProvider(android.content.Context context,
String identityPoolId,
Regions region,
ClientConfiguration clientConfiguration)
Constructs a new
CognitoCachingCredentialsProvider , which will
use the specified Amazon Cognito identity pool to make a request to
Cognito, using the enhanced flow, to get short lived session credentials,
which will then be returned by this class's CognitoCachingCredentialsProvider.getCredentials()
method. |
CognitoCachingCredentialsProvider(android.content.Context context,
String accountId,
String identityPoolId,
String unauthRoleArn,
String authRoleArn,
Regions region,
ClientConfiguration clientConfiguration)
Constructs a new
CognitoCachingCredentialsProvider , which will
use the specified Amazon Cognito identity pool to make a request, using
the basic authentication flow, to the AWS Security Token Service (STS) to
request short-lived session credentials, which will then be returned by
this class's CognitoCachingCredentialsProvider.getCredentials() method. |
CognitoCredentialsProvider(AWSCognitoIdentityProvider provider,
Regions region,
ClientConfiguration clientConfiguration)
Constructs a new CognitoCredentialsProvider, which will set up a link to
the provider passed in using the enhanced authentication flow to get
short-lived credentials from Amazon Cognito, which can be retrieved from
CognitoCredentialsProvider.getCredentials() |
CognitoCredentialsProvider(String identityPoolId,
Regions region,
ClientConfiguration clientConfiguration)
Constructs a new
CognitoCredentialsProvider , which will use the
specified Amazon Cognito identity pool to make a request to Cognito,
using the enhanced flow, to get short lived session credentials, which
will then be returned by this class's CognitoCredentialsProvider.getCredentials() method. |
CognitoCredentialsProvider(String accountId,
String identityPoolId,
String unauthRoleArn,
String authRoleArn,
Regions region,
ClientConfiguration clientConfiguration)
Constructs a new
CognitoCredentialsProvider , which will use the
specified Amazon Cognito identity pool to make a request, using the basic
authentication flow, to the AWS Security Token Service (STS) to request
short-lived session credentials, which will then be returned by this
class's CognitoCredentialsProvider.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. |
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. |
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. |
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. |
WebIdentityFederationSessionCredentialsProvider(String wifToken,
String wifProvider,
String roleArn,
ClientConfiguration clientConfiguration)
Constructs a new WebIdentityFederationSessionCredentialsProvider, which
will use the specified 3rd-party web identity provider 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
WebIdentityFederationSessionCredentialsProvider.getCredentials() method. |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequestFactory.createHttpRequest(Request<?> request,
ClientConfiguration clientConfiguration,
ExecutionContext context)
Creates an
HttpClient request object based on the specified AWS
request and populates any parameters, headers, etc. |
Constructor and Description |
---|
AmazonHttpClient(ClientConfiguration config)
Constructs a new AWS client using the specified client configuration
options (ex: max retry attempts, proxy settings, etc).
|
AmazonHttpClient(ClientConfiguration config,
HttpClient httpClient)
Constructs a new AWS client using the specified client configuration
options (ex: max retry attempts, proxy settings, etc), and request metric
collector.
|
AmazonHttpClient(ClientConfiguration config,
HttpClient httpClient,
RequestMetricCollector requestMetricCollector)
Deprecated.
|
AmazonHttpClient(ClientConfiguration config,
RequestMetricCollector requestMetricCollector)
Deprecated.
|
ApacheHttpClient(ClientConfiguration config)
Constructor.
|
UrlHttpClient(ClientConfiguration config)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AWSConfigurable |
AWSConfigurable.initialize(android.content.Context context,
AWSConfiguration configuration,
ClientConfiguration clientConfiguration)
Initialize the SDK Client.
|
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(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on
AmazonCognitoIdentity using the specified AWS account credentials and
client configuration options.
|
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.
|
AmazonCognitoIdentityClient(ClientConfiguration clientConfiguration)
Deprecated.
|
Constructor and Description |
---|
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.
|
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.
|
AWSSecurityTokenServiceClient(ClientConfiguration clientConfiguration)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InputStream |
HttpUtils.fetchFile(URI uri,
ClientConfiguration config)
Fetches a file from the URI given and returns an input stream to it.
|
static URI |
RuntimeHttpUtils.toUri(String endpoint,
ClientConfiguration config) |
Copyright © 2018. All rights reserved.