Skip to content

Commit e933343

Browse files
author
AWS
committed
AWS SDK for Android 2.3.4
1 parent 76829f5 commit e933343

File tree

362 files changed

+26467
-353
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

362 files changed

+26467
-353
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
# Change Log - AWS SDK for Android
2+
## [Release 2.3.4] (https://github.com/aws/aws-sdk-android/releases/tag/release_v2.3.4) (11/30/2016)
3+
4+
### New Features
5+
- **Support for Amazon Lex - Beta**: Amazon Lex is a service for building conversational interactions into any application using voice and text. With Lex, the same conversational engine that powers Amazon Alexa is now available to any developer, enabling you to build sophisticated, natural language, conversational bots (chatbots) into your new and existing applications. Amazon Lex provides the deep functionality and flexibility of automatic speech recognition (ASR) for converting speech to text and natural language understanding (NLU) to understand the intent of the text. This allows you to build highly engaging user experiences with lifelike, conversational interactions.
6+
7+
- **Support for Amazon Polly**: Amazon Polly is a service that turns text into lifelike speech, making it easy to develop applications that use high-quality speech to increase engagement and accessibility. With Amazon Polly the developers can build speech-enabled apps that work in multiple geographies.
8+
29
## [Release 2.3.3] (https://github.com/aws/aws-sdk-android/releases/tag/release_v2.3.3) (10/11/2016)
310

411
### Improvements

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
The AWS SDK for Android is generally licensed under the Apache 2.0 License, with the Amazon Cognito Sync aws-android-sdk-cognito and Amazon Cognito Identity Provider aws-android-sdk-cognitoidentityprovider subcomponent being licensed under the Amazon Software License.
1+
The AWS SDK for Android is generally licensed under the Apache 2.0 License, with the Amazon Cognito Sync aws-android-sdk-cognito and Amazon Cognito Identity Provider aws-android-sdk-cognitoidentityprovider subcomponent being licensed under the Amazon Software License, and the Amazon Lex subcomponent under the path aws-android-sdk-deepsense/src/main/jni/ under the AWS Customer Agreement (https://aws.amazon.com/agreement/ ).

NOTICE.txt

Lines changed: 548 additions & 5 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ The AWS SDK for Android supports the following AWS services:
3232
* [Amazon Kinesis Streams](http://aws.amazon.com/kinesis/streams/)
3333
* [Amazon Machine Learning](http://aws.amazon.com/machine-learning/)
3434
* [Amazon Mobile Analytics](http://aws.amazon.com/mobileanalytics/)
35+
* [Amazon Polly](http://aws.amazon.com/polly/)
3536
* [Amazon S3](http://aws.amazon.com/s3/)
3637
* [Amazon Security Token Service (STS)](http://docs.aws.amazon.com/STS/latest/APIReference/Welcome.html)
3738
* [Amazon Simple Email Service (SES)](http://aws.amazon.com/ses/)
@@ -199,7 +200,8 @@ Note: Cognito Identity authentication abilities are included in the aws-android-
199200
* cloudwatch (Amazon CloudWatch),
200201
* autoscaling (Auto Scaling),
201202
* ec2 (Amazon EC2),
202-
* sdb (Amazon Simple DB)
203+
* sdb (Amazon Simple DB),
204+
* polly (Amazon Polly)
203205

204206
#### Using Maven
205207

aws-android-sdk-apigateway-core/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
<parent>
1313
<groupId>com.amazonaws</groupId>
1414
<artifactId>aws-android-sdk-pom</artifactId>
15-
<version>2.3.3</version>
15+
<version>2.3.4</version>
1616
</parent>
1717

1818
<dependencies>
1919
<dependency>
2020
<groupId>com.amazonaws</groupId>
2121
<artifactId>aws-android-sdk-core</artifactId>
2222
<optional>false</optional>
23-
<version>2.3.3</version>
23+
<version>2.3.4</version>
2424
</dependency>
2525
</dependencies>
2626

aws-android-sdk-apigateway-core/src/main/java/com/amazonaws/mobileconnectors/apigateway/ApiClientHandler.java

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,26 @@ class ApiClientHandler implements InvocationHandler {
8282
@Override
8383
public Object invoke(Object proxy, Method method, Object[] args)
8484
throws Throwable {
85-
// the execute method call flow
86-
if (isExecuteMethod(method)) {
87-
final HttpRequest httpRequest = invokeExecuteMethod(args);
88-
final HttpResponse response = client.execute(httpRequest);
89-
return new ApiResponse(response);
90-
} else {
91-
final HttpRequest httpRequest = createHttpRequest(method, args);
92-
final HttpResponse response = client.execute(httpRequest);
9385

94-
return handleResponse(response, method);
86+
try {
87+
// the execute method call flow
88+
if (isExecuteMethod(method)) {
89+
final HttpRequest httpRequest = invokeExecuteMethod(args);
90+
final HttpResponse response = client.execute(httpRequest);
91+
92+
return new ApiResponse(response);
93+
} else {
94+
final HttpRequest httpRequest = createHttpRequest(method, args);
95+
final HttpResponse response = client.execute(httpRequest);
96+
97+
return handleResponse(response, method);
98+
}
99+
100+
} catch (final ApiClientException ace) {
101+
throw ace;
102+
} catch (final Exception e) {
103+
final String msg = e.getMessage() == null ? "" : e.getMessage();
104+
throw new ApiClientException(msg, e);
95105
}
96106
}
97107

aws-android-sdk-autoscaling/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
<parent>
1313
<groupId>com.amazonaws</groupId>
1414
<artifactId>aws-android-sdk-pom</artifactId>
15-
<version>2.3.3</version>
15+
<version>2.3.4</version>
1616
</parent>
1717

1818
<dependencies>
1919
<dependency>
2020
<groupId>com.amazonaws</groupId>
2121
<artifactId>aws-android-sdk-core</artifactId>
2222
<optional>false</optional>
23-
<version>2.3.3</version>
23+
<version>2.3.4</version>
2424
</dependency>
2525
</dependencies>
2626

aws-android-sdk-cloudwatch/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
<parent>
1313
<groupId>com.amazonaws</groupId>
1414
<artifactId>aws-android-sdk-pom</artifactId>
15-
<version>2.3.3</version>
15+
<version>2.3.4</version>
1616
</parent>
1717

1818
<dependencies>
1919
<dependency>
2020
<groupId>com.amazonaws</groupId>
2121
<artifactId>aws-android-sdk-core</artifactId>
2222
<optional>false</optional>
23-
<version>2.3.3</version>
23+
<version>2.3.4</version>
2424
</dependency>
2525
</dependencies>
2626

aws-android-sdk-cognito/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
<artifactId>aws-android-sdk-cognito</artifactId>
77
<packaging>jar</packaging>
88
<name>AWS SDK for Android - Amazon Cognito Sync</name>
9-
<version>2.3.3</version>
9+
<version>2.3.4</version>
1010
<description>The AWS Android SDK for Amazon Cognito Sync module holds the client classes that are used for communicating with Amazon Cognito Sync Service</description>
1111
<url>http://aws.amazon.com/sdkforandroid</url>
1212

1313
<parent>
1414
<groupId>com.amazonaws</groupId>
1515
<artifactId>aws-android-sdk-pom</artifactId>
16-
<version>2.3.3</version>
16+
<version>2.3.4</version>
1717
</parent>
1818

1919
<licenses>
@@ -29,7 +29,7 @@
2929
<groupId>com.amazonaws</groupId>
3030
<artifactId>aws-android-sdk-core</artifactId>
3131
<optional>false</optional>
32-
<version>2.3.3</version>
32+
<version>2.3.4</version>
3333
</dependency>
3434
<dependency>
3535
<groupId>com.google.android</groupId>

aws-android-sdk-cognito/src/main/java/com/amazonaws/services/cognitosync/model/transform/InternalErrorExceptionUnmarshaller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import com.amazonaws.AmazonServiceException;
1919
import com.amazonaws.http.JsonErrorResponseHandler.JsonErrorResponse;
2020
import com.amazonaws.transform.JsonErrorUnmarshaller;
21-
2221
import com.amazonaws.services.cognitosync.model.InternalErrorException;
2322

2423
public class InternalErrorExceptionUnmarshaller extends JsonErrorUnmarshaller {
@@ -34,6 +33,7 @@ public boolean match(JsonErrorResponse error) throws Exception {
3433

3534
@Override
3635
public AmazonServiceException unmarshall(JsonErrorResponse error) throws Exception {
36+
3737
InternalErrorException e = (InternalErrorException) super.unmarshall(error);
3838
e.setErrorCode("InternalErrorException");
3939

0 commit comments

Comments
 (0)