Skip to content

Commit fa88050

Browse files
Merge pull request #472 from aws/staging/85f047e7-e70c-479b-9f35-ec3127788479
Pull request: release <- staging/85f047e7-e70c-479b-9f35-ec3127788479
2 parents d808d7d + 97a9e96 commit fa88050

File tree

228 files changed

+2882
-285
lines changed

Some content is hidden

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

228 files changed

+2882
-285
lines changed

.changes/2.5.25.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"date": "2019-04-05",
3+
"version": "2.5.25",
4+
"entries": [
5+
{
6+
"category": "Amazon Comprehend",
7+
"type": "feature",
8+
"description": "With this release AWS Comprehend provides confusion matrix for custom document classifier."
9+
},
10+
{
11+
"category": "AWS IoT 1-Click Devices Service",
12+
"type": "feature",
13+
"description": "Documentation updates for 1-Click: improved descriptions of resource tagging APIs."
14+
},
15+
{
16+
"category": "AWS Transcribe Streaming",
17+
"type": "feature",
18+
"description": "Amazon Transcribe now supports GB English, CA French and FR French which expands upon the existing language support for US English and US Spanish."
19+
},
20+
{
21+
"category": "AWS Elemental MediaLive",
22+
"type": "feature",
23+
"description": "Today AWS Elemental MediaLive (https://aws.amazon.com/medialive/) adds the option to create \"Single Pipeline\" channels, which offers a lower-cost option compared to Standard channels. MediaLive Single Pipeline channels have a single encoding pipeline rather than the redundant dual Availability Zone (AZ) pipelines that MediaLive provides with a \"Standard\" channel."
24+
},
25+
{
26+
"category": "AWS Elemental MediaConvert",
27+
"type": "feature",
28+
"description": "Rectify incorrect modelling of DisassociateCertificate method"
29+
},
30+
{
31+
"category": "AWS SDK for Java v2",
32+
"type": "bugfix",
33+
"description": "Lazily initialize `ApiCallTimeoutException` and `ApiCallAttemptTimeoutException`. This change would improve performance of async api calls."
34+
},
35+
{
36+
"category": "AWS Glue",
37+
"type": "feature",
38+
"description": "AWS Glue now supports workerType choices in the CreateJob, UpdateJob, and StartJobRun APIs, to be used for memory-intensive jobs."
39+
}
40+
]
41+
}

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
# __2.5.25__ __2019-04-05__
2+
## __AWS Elemental MediaConvert__
3+
- ### Features
4+
- Rectify incorrect modelling of DisassociateCertificate method
5+
6+
## __AWS Elemental MediaLive__
7+
- ### Features
8+
- Today AWS Elemental MediaLive (https://aws.amazon.com/medialive/) adds the option to create "Single Pipeline" channels, which offers a lower-cost option compared to Standard channels. MediaLive Single Pipeline channels have a single encoding pipeline rather than the redundant dual Availability Zone (AZ) pipelines that MediaLive provides with a "Standard" channel.
9+
10+
## __AWS Glue__
11+
- ### Features
12+
- AWS Glue now supports workerType choices in the CreateJob, UpdateJob, and StartJobRun APIs, to be used for memory-intensive jobs.
13+
14+
## __AWS IoT 1-Click Devices Service__
15+
- ### Features
16+
- Documentation updates for 1-Click: improved descriptions of resource tagging APIs.
17+
18+
## __AWS SDK for Java v2__
19+
- ### Bugfixes
20+
- Lazily initialize `ApiCallTimeoutException` and `ApiCallAttemptTimeoutException`. This change would improve performance of async api calls.
21+
22+
## __AWS Transcribe Streaming__
23+
- ### Features
24+
- Amazon Transcribe now supports GB English, CA French and FR French which expands upon the existing language support for US English and US Spanish.
25+
26+
## __Amazon Comprehend__
27+
- ### Features
28+
- With this release AWS Comprehend provides confusion matrix for custom document classifier.
29+
130
# __2.5.24__ __2019-04-04__
231
## __AWS Identity and Access Management__
332
- ### Features

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You can import the whole SDK into your project (includes all services) as follow
4444
<dependency>
4545
<groupId>software.amazon.awssdk</groupId>
4646
<artifactId>aws-sdk-java</artifactId>
47-
<version>2.5.24</version>
47+
<version>2.5.25</version>
4848
</dependency>
4949
```
5050

@@ -56,12 +56,12 @@ Alternatively you can add dependencies for the specific services you use only:
5656
<dependency>
5757
<groupId>software.amazon.awssdk</groupId>
5858
<artifactId>ec2</artifactId>
59-
<version>2.5.24</version>
59+
<version>2.5.25</version>
6060
</dependency>
6161
<dependency>
6262
<groupId>software.amazon.awssdk</groupId>
6363
<artifactId>s3</artifactId>
64-
<version>2.5.24</version>
64+
<version>2.5.25</version>
6565
</dependency>
6666
```
6767

@@ -75,7 +75,7 @@ To automatically manage module versions (currently all modules have the same ver
7575
<dependency>
7676
<groupId>software.amazon.awssdk</groupId>
7777
<artifactId>bom</artifactId>
78-
<version>2.5.24</version>
78+
<version>2.5.25</version>
7979
<type>pom</type>
8080
<scope>import</scope>
8181
</dependency>

aws-sdk-java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>software.amazon.awssdk</groupId>
66
<artifactId>aws-sdk-java-pom</artifactId>
7-
<version>2.5.24</version>
7+
<version>2.5.25</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>aws-sdk-java</artifactId>

bom-internal/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>aws-sdk-java-pom</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.5.24</version>
8+
<version>2.5.25</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>software.amazon.awssdk</groupId>
66
<artifactId>aws-sdk-java-pom</artifactId>
7-
<version>2.5.24</version>
7+
<version>2.5.25</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>bom</artifactId>

bundle/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>software.amazon.awssdk</groupId>
2323
<artifactId>aws-sdk-java-pom</artifactId>
24-
<version>2.5.24</version>
24+
<version>2.5.25</version>
2525
</parent>
2626
<artifactId>bundle</artifactId>
2727
<packaging>jar</packaging>

codegen-lite-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>software.amazon.awssdk</groupId>
99
<artifactId>aws-sdk-java-pom</artifactId>
10-
<version>2.5.24</version>
10+
<version>2.5.25</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313
<artifactId>codegen-lite-maven-plugin</artifactId>

codegen-lite/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>software.amazon.awssdk</groupId>
88
<artifactId>aws-sdk-java-pom</artifactId>
9-
<version>2.5.24</version>
9+
<version>2.5.25</version>
1010
</parent>
1111
<artifactId>codegen-lite</artifactId>
1212
<name>AWS Java SDK :: Code Generator Lite</name>

codegen-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>aws-sdk-java-pom</artifactId>
25-
<version>2.5.24</version>
25+
<version>2.5.25</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<artifactId>codegen-maven-plugin</artifactId>

codegen/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>software.amazon.awssdk</groupId>
2323
<artifactId>aws-sdk-java-pom</artifactId>
24-
<version>2.5.24</version>
24+
<version>2.5.25</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

core/annotations/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>core</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.5.24</version>
8+
<version>2.5.25</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

core/auth/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>software.amazon.awssdk</groupId>
99
<artifactId>core</artifactId>
10-
<version>2.5.24</version>
10+
<version>2.5.25</version>
1111
</parent>
1212

1313
<artifactId>auth</artifactId>

core/aws-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>software.amazon.awssdk</groupId>
99
<artifactId>core</artifactId>
10-
<version>2.5.24</version>
10+
<version>2.5.25</version>
1111
</parent>
1212

1313
<artifactId>aws-core</artifactId>

core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>aws-sdk-java-pom</artifactId>
2323
<groupId>software.amazon.awssdk</groupId>
24-
<version>2.5.24</version>
24+
<version>2.5.25</version>
2525
</parent>
2626

2727
<artifactId>core</artifactId>

core/profiles/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>core</artifactId>
25-
<version>2.5.24</version>
25+
<version>2.5.25</version>
2626
</parent>
2727

2828
<artifactId>profiles</artifactId>

core/protocols/aws-cbor-protocol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>protocols</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.5.24</version>
8+
<version>2.5.25</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

core/protocols/aws-ion-protocol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>protocols</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.5.24</version>
8+
<version>2.5.25</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

core/protocols/aws-json-protocol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>protocols</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.5.24</version>
8+
<version>2.5.25</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

core/protocols/aws-query-protocol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>protocols</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.5.24</version>
8+
<version>2.5.25</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

core/protocols/aws-xml-protocol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>protocols</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.5.24</version>
8+
<version>2.5.25</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

core/protocols/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>core</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.5.24</version>
8+
<version>2.5.25</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

core/protocols/protocol-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>protocols</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.5.24</version>
8+
<version>2.5.25</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

core/regions/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>core</artifactId>
25-
<version>2.5.24</version>
25+
<version>2.5.25</version>
2626
</parent>
2727

2828
<artifactId>regions</artifactId>

core/sdk-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>software.amazon.awssdk</groupId>
2323
<artifactId>core</artifactId>
24-
<version>2.5.24</version>
24+
<version>2.5.25</version>
2525
</parent>
2626
<artifactId>sdk-core</artifactId>
2727
<name>AWS Java SDK :: SDK Core</name>

core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/http/pipeline/stages/AsyncApiCallTimeoutTrackingStage.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@
2020

2121
import java.util.concurrent.CompletableFuture;
2222
import java.util.concurrent.ScheduledExecutorService;
23+
import java.util.function.Supplier;
2324
import software.amazon.awssdk.annotations.SdkInternalApi;
2425
import software.amazon.awssdk.core.client.config.SdkClientConfiguration;
2526
import software.amazon.awssdk.core.client.config.SdkClientOption;
2627
import software.amazon.awssdk.core.exception.ApiCallTimeoutException;
28+
import software.amazon.awssdk.core.exception.SdkClientException;
2729
import software.amazon.awssdk.core.internal.http.HttpClientDependencies;
2830
import software.amazon.awssdk.core.internal.http.RequestExecutionContext;
2931
import software.amazon.awssdk.core.internal.http.pipeline.RequestPipeline;
@@ -52,9 +54,10 @@ public CompletableFuture<OutputT> execute(SdkHttpFullRequest input, RequestExecu
5254
long apiCallTimeoutInMillis = resolveTimeoutInMillis(() -> context.requestConfig().apiCallTimeout(),
5355
clientConfig.option(SdkClientOption.API_CALL_TIMEOUT));
5456

57+
Supplier<SdkClientException> exceptionSupplier = () -> ApiCallTimeoutException.create(apiCallTimeoutInMillis);
5558
TimeoutTracker timeoutTracker = timeAsyncTaskIfNeeded(future,
5659
scheduledExecutor,
57-
ApiCallTimeoutException.create(apiCallTimeoutInMillis),
60+
exceptionSupplier,
5861
apiCallTimeoutInMillis);
5962
context.apiCallTimeoutTracker(timeoutTracker);
6063

core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/http/pipeline/stages/MakeAsyncHttpRequestStage.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import java.util.concurrent.CompletableFuture;
2525
import java.util.concurrent.Executor;
2626
import java.util.concurrent.ScheduledExecutorService;
27+
import java.util.function.Supplier;
2728
import org.reactivestreams.Publisher;
2829
import org.reactivestreams.Subscriber;
2930
import software.amazon.awssdk.annotations.SdkInternalApi;
@@ -32,6 +33,7 @@
3233
import software.amazon.awssdk.core.client.config.SdkAdvancedAsyncClientOption;
3334
import software.amazon.awssdk.core.client.config.SdkClientOption;
3435
import software.amazon.awssdk.core.exception.ApiCallAttemptTimeoutException;
36+
import software.amazon.awssdk.core.exception.SdkClientException;
3537
import software.amazon.awssdk.core.exception.SdkException;
3638
import software.amazon.awssdk.core.interceptor.ExecutionAttributes;
3739
import software.amazon.awssdk.core.interceptor.SdkInternalExecutionAttribute;
@@ -165,9 +167,11 @@ private boolean shouldSetContentLength(SdkHttpFullRequest request, SdkHttpConten
165167

166168
private TimeoutTracker setupAttemptTimer(CompletableFuture<Response<OutputT>> executeFuture, RequestExecutionContext ctx) {
167169
long timeoutMillis = resolveTimeoutInMillis(ctx.requestConfig()::apiCallAttemptTimeout, apiCallAttemptTimeout);
170+
Supplier<SdkClientException> exceptionSupplier = () -> ApiCallAttemptTimeoutException.create(timeoutMillis);
171+
168172
return TimerUtils.timeAsyncTaskIfNeeded(executeFuture,
169173
timeoutExecutor,
170-
ApiCallAttemptTimeoutException.create(timeoutMillis),
174+
exceptionSupplier,
171175
timeoutMillis);
172176
}
173177

0 commit comments

Comments
 (0)