Skip to content

Commit 72ca664

Browse files
Merge pull request #3779 from aws/staging/e7e00acb-4c42-4fb5-8438-a63ee97141b2
Pull request: release <- staging/e7e00acb-4c42-4fb5-8438-a63ee97141b2
2 parents e290bb9 + 981c1aa commit 72ca664

File tree

524 files changed

+3313
-1478
lines changed

Some content is hidden

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

524 files changed

+3313
-1478
lines changed

.changes/2.31.11.json

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"version": "2.31.11",
3+
"date": "2025-03-28",
4+
"entries": [
5+
{
6+
"type": "bugfix",
7+
"category": "AWS CRT-based S3 Client",
8+
"contributor": "",
9+
"description": "Fixed an issue in the AWS CRT-based S3 client where a GetObject request with `AsyncResponseTransformer#toBlockingInputStream` may hang if request failed mid streaming"
10+
},
11+
{
12+
"type": "feature",
13+
"category": "AWS CodeBuild",
14+
"contributor": "",
15+
"description": "This release adds support for cacheNamespace in ProjectCache"
16+
},
17+
{
18+
"type": "feature",
19+
"category": "AWSMarketplace Metering",
20+
"contributor": "",
21+
"description": "Add support for Marketplace Metering Service dual-stack endpoints."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "AWS Network Manager",
26+
"contributor": "",
27+
"description": "Add support for NetworkManager Dualstack endpoints."
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Amazon API Gateway",
32+
"contributor": "",
33+
"description": "Adds support for setting the IP address type to allow dual-stack or IPv4 address types to invoke your APIs or domain names."
34+
},
35+
{
36+
"type": "feature",
37+
"category": "AmazonApiGatewayV2",
38+
"contributor": "",
39+
"description": "Adds support for setting the IP address type to allow dual-stack or IPv4 address types to invoke your APIs or domain names."
40+
},
41+
{
42+
"type": "feature",
43+
"category": "Amazon Bedrock Runtime",
44+
"contributor": "",
45+
"description": "Launching Multi-modality Content Filter for Amazon Bedrock Guardrails."
46+
},
47+
{
48+
"type": "feature",
49+
"category": "Amazon EC2 Container Service",
50+
"contributor": "",
51+
"description": "This is an Amazon ECS documentation only release that addresses tickets."
52+
},
53+
{
54+
"type": "feature",
55+
"category": "Amazon QuickSight",
56+
"contributor": "",
57+
"description": "RLS permission dataset with userAs: RLS_RULES flag, Q in QuickSight/Threshold Alerts/Schedules/Snapshots in QS embedding, toggle dataset refresh email alerts via API, transposed table with options: column width, type and index, toggle Q&A on dashboards, Oracle Service Name when creating data source."
58+
},
59+
{
60+
"type": "feature",
61+
"category": "Amazon SageMaker Service",
62+
"contributor": "",
63+
"description": "TransformAmiVersion for Batch Transform and SageMaker Search Service Aggregate Search API Extension"
64+
},
65+
{
66+
"type": "feature",
67+
"category": "Payment Cryptography Control Plane",
68+
"contributor": "",
69+
"description": "The service adds support for transferring AES-256 and other keys between the service and other service providers and HSMs. This feature uses ECDH to derive a one-time key transport key to enable these secure key exchanges."
70+
},
71+
{
72+
"type": "feature",
73+
"category": "AWS SDK for Java v2",
74+
"contributor": "",
75+
"description": "Updated endpoint and partition metadata."
76+
}
77+
]
78+
}

CHANGELOG.md

+49
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,53 @@
11
#### 👋 _Looking for changelogs for older versions? You can find them in the [changelogs](./changelogs) directory._
2+
# __2.31.11__ __2025-03-28__
3+
## __AWS CRT-based S3 Client__
4+
- ### Bugfixes
5+
- Fixed an issue in the AWS CRT-based S3 client where a GetObject request with `AsyncResponseTransformer#toBlockingInputStream` may hang if request failed mid streaming
6+
7+
## __AWS CodeBuild__
8+
- ### Features
9+
- This release adds support for cacheNamespace in ProjectCache
10+
11+
## __AWS Network Manager__
12+
- ### Features
13+
- Add support for NetworkManager Dualstack endpoints.
14+
15+
## __AWS SDK for Java v2__
16+
- ### Features
17+
- Updated endpoint and partition metadata.
18+
19+
## __AWSMarketplace Metering__
20+
- ### Features
21+
- Add support for Marketplace Metering Service dual-stack endpoints.
22+
23+
## __Amazon API Gateway__
24+
- ### Features
25+
- Adds support for setting the IP address type to allow dual-stack or IPv4 address types to invoke your APIs or domain names.
26+
27+
## __Amazon Bedrock Runtime__
28+
- ### Features
29+
- Launching Multi-modality Content Filter for Amazon Bedrock Guardrails.
30+
31+
## __Amazon EC2 Container Service__
32+
- ### Features
33+
- This is an Amazon ECS documentation only release that addresses tickets.
34+
35+
## __Amazon QuickSight__
36+
- ### Features
37+
- RLS permission dataset with userAs: RLS_RULES flag, Q in QuickSight/Threshold Alerts/Schedules/Snapshots in QS embedding, toggle dataset refresh email alerts via API, transposed table with options: column width, type and index, toggle Q&A on dashboards, Oracle Service Name when creating data source.
38+
39+
## __Amazon SageMaker Service__
40+
- ### Features
41+
- TransformAmiVersion for Batch Transform and SageMaker Search Service Aggregate Search API Extension
42+
43+
## __AmazonApiGatewayV2__
44+
- ### Features
45+
- Adds support for setting the IP address type to allow dual-stack or IPv4 address types to invoke your APIs or domain names.
46+
47+
## __Payment Cryptography Control Plane__
48+
- ### Features
49+
- The service adds support for transferring AES-256 and other keys between the service and other service providers and HSMs. This feature uses ECDH to derive a one-time key transport key to enable these secure key exchanges.
50+
251
# __2.31.10__ __2025-03-27__
352
## __AWS Batch__
453
- ### Features

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ To automatically manage module versions (currently all modules have the same ver
5151
<dependency>
5252
<groupId>software.amazon.awssdk</groupId>
5353
<artifactId>bom</artifactId>
54-
<version>2.31.10</version>
54+
<version>2.31.11</version>
5555
<type>pom</type>
5656
<scope>import</scope>
5757
</dependency>
@@ -85,12 +85,12 @@ Alternatively you can add dependencies for the specific services you use only:
8585
<dependency>
8686
<groupId>software.amazon.awssdk</groupId>
8787
<artifactId>ec2</artifactId>
88-
<version>2.31.10</version>
88+
<version>2.31.11</version>
8989
</dependency>
9090
<dependency>
9191
<groupId>software.amazon.awssdk</groupId>
9292
<artifactId>s3</artifactId>
93-
<version>2.31.10</version>
93+
<version>2.31.11</version>
9494
</dependency>
9595
```
9696

@@ -102,7 +102,7 @@ You can import the whole SDK into your project (includes *ALL* services). Please
102102
<dependency>
103103
<groupId>software.amazon.awssdk</groupId>
104104
<artifactId>aws-sdk-java</artifactId>
105-
<version>2.31.10</version>
105+
<version>2.31.11</version>
106106
</dependency>
107107
```
108108

archetypes/archetype-app-quickstart/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>archetypes</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.31.10</version>
23+
<version>2.31.11</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

archetypes/archetype-lambda/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>archetypes</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.31.10</version>
23+
<version>2.31.11</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetype-lambda</artifactId>

archetypes/archetype-tools/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>archetypes</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.31.10</version>
23+
<version>2.31.11</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

archetypes/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>aws-sdk-java-pom</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.31.10</version>
23+
<version>2.31.11</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetypes</artifactId>

aws-sdk-java/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<parent>
1818
<groupId>software.amazon.awssdk</groupId>
1919
<artifactId>aws-sdk-java-pom</artifactId>
20-
<version>2.31.10</version>
20+
<version>2.31.11</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>aws-sdk-java</artifactId>

bom-internal/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>aws-sdk-java-pom</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.31.10</version>
23+
<version>2.31.11</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

bom/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<parent>
1818
<groupId>software.amazon.awssdk</groupId>
1919
<artifactId>aws-sdk-java-pom</artifactId>
20-
<version>2.31.10</version>
20+
<version>2.31.11</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>bom</artifactId>

bundle-logging-bridge/pom.xml

+1-1
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.31.10</version>
24+
<version>2.31.11</version>
2525
</parent>
2626
<artifactId>bundle-logging-bridge</artifactId>
2727
<packaging>jar</packaging>

bundle-sdk/pom.xml

+1-1
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.31.10</version>
24+
<version>2.31.11</version>
2525
</parent>
2626
<artifactId>bundle-sdk</artifactId>
2727
<packaging>jar</packaging>

bundle/pom.xml

+1-1
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.31.10</version>
24+
<version>2.31.11</version>
2525
</parent>
2626
<artifactId>bundle</artifactId>
2727
<packaging>jar</packaging>

codegen-lite-maven-plugin/pom.xml

+1-1
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.31.10</version>
25+
<version>2.31.11</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<artifactId>codegen-lite-maven-plugin</artifactId>

codegen-lite/pom.xml

+1-1
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.31.10</version>
24+
<version>2.31.11</version>
2525
</parent>
2626
<artifactId>codegen-lite</artifactId>
2727
<name>AWS Java SDK :: Code Generator Lite</name>

codegen-maven-plugin/pom.xml

+1-1
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.31.10</version>
25+
<version>2.31.11</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<artifactId>codegen-maven-plugin</artifactId>

codegen/pom.xml

+1-1
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.31.10</version>
24+
<version>2.31.11</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

codegen/src/main/java/software/amazon/awssdk/codegen/poet/paginators/PaginatorsClassSpec.java

+3
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ public PaginatorsClassSpec(IntermediateModel model, String c2jOperationName, Pag
6363
this.poetExtensions = new PoetExtension(model);
6464
this.typeProvider = new TypeProvider(model);
6565
this.operationModel = model.getOperation(c2jOperationName);
66+
if (operationModel == null) {
67+
throw new IllegalArgumentException("The service model does not model an operation '" + c2jOperationName + "'");
68+
}
6669
this.paginationDocs = new PaginationDocs(model, operationModel, paginatorDefinition);
6770
}
6871

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/*
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
16+
package software.amazon.awssdk.codegen.poet.paginators;
17+
18+
import static org.assertj.core.api.Assertions.assertThatThrownBy;
19+
20+
import com.squareup.javapoet.ClassName;
21+
import com.squareup.javapoet.TypeSpec;
22+
import org.junit.jupiter.api.Test;
23+
import software.amazon.awssdk.codegen.model.intermediate.IntermediateModel;
24+
import software.amazon.awssdk.codegen.model.service.PaginatorDefinition;
25+
import software.amazon.awssdk.codegen.poet.ClientTestModels;
26+
27+
public class PaginatorsClassSpecTest {
28+
@Test
29+
public void constructor_unknownOperationName_throws() {
30+
assertThatThrownBy(() -> new TestPaginatorSpec(ClientTestModels.awsJsonServiceModels(),
31+
"~~DoesNotExist",
32+
new PaginatorDefinition()))
33+
.isInstanceOf(IllegalArgumentException.class)
34+
.hasMessageContaining("The service model does not model an operation '~~DoesNotExist'");
35+
}
36+
37+
private static class TestPaginatorSpec extends PaginatorsClassSpec {
38+
TestPaginatorSpec(IntermediateModel model, String c2jOperationName, PaginatorDefinition paginatorDefinition) {
39+
super(model, c2jOperationName, paginatorDefinition);
40+
}
41+
42+
@Override
43+
public TypeSpec poetSpec() {
44+
throw new UnsupportedOperationException();
45+
}
46+
47+
@Override
48+
public ClassName className() {
49+
throw new UnsupportedOperationException();
50+
}
51+
}
52+
}

core/annotations/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>core</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.31.10</version>
23+
<version>2.31.11</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/arns/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>core</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.31.10</version>
23+
<version>2.31.11</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/auth-crt/pom.xml

+1-1
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.31.10</version>
25+
<version>2.31.11</version>
2626
</parent>
2727

2828
<artifactId>auth-crt</artifactId>

core/auth/pom.xml

+1-1
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.31.10</version>
25+
<version>2.31.11</version>
2626
</parent>
2727

2828
<artifactId>auth</artifactId>

0 commit comments

Comments
 (0)