Skip to content

Commit 0c497d0

Browse files
Merge pull request #3901 from aws/staging/41adb636-ccc0-4095-a8af-9ea178fa4043
Pull request: release <- staging/41adb636-ccc0-4095-a8af-9ea178fa4043
2 parents d39e3e0 + b106fab commit 0c497d0

File tree

525 files changed

+2011
-1101
lines changed

Some content is hidden

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

525 files changed

+2011
-1101
lines changed

.changes/2.31.37.json

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"version": "2.31.37",
3+
"date": "2025-05-06",
4+
"entries": [
5+
{
6+
"type": "bugfix",
7+
"category": "AWS SDK for Java v2",
8+
"contributor": "kstich",
9+
"description": "Fix Smithy RPC v2 CBOR URI resolution allowing custom URIs."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "AWS Service Catalog",
14+
"contributor": "",
15+
"description": "ServiceCatalog's APIs (DeleteServiceAction, DisassociateServiceActionFromProvisioningArtifact, AssociateServiceActionWithProvisioningArtifact) now throw InvalidParametersException when IdempotencyToken is invalid."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "Amazon Elastic Compute Cloud",
20+
"contributor": "",
21+
"description": "This release adds support for Amazon EBS Provisioned Rate for Volume Initialization, which lets you specify a volume initialization rate to ensure that your EBS volumes are initialized in a predictable amount of time."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "Amazon Timestream Query",
26+
"contributor": "",
27+
"description": "Add dualstack endpoints support and correct us-gov-west-1 FIPS endpoint."
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Amazon Timestream Write",
32+
"contributor": "",
33+
"description": "Add dualstack endpoints support."
34+
},
35+
{
36+
"type": "feature",
37+
"category": "AWS SDK for Java v2",
38+
"contributor": "",
39+
"description": "Updated endpoint and partition metadata."
40+
}
41+
]
42+
}

CHANGELOG.md

+29
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,33 @@
11
#### 👋 _Looking for changelogs for older versions? You can find them in the [changelogs](./changelogs) directory._
2+
# __2.31.37__ __2025-05-06__
3+
## __AWS SDK for Java v2__
4+
- ### Features
5+
- Updated endpoint and partition metadata.
6+
7+
- ### Bugfixes
8+
- Fix Smithy RPC v2 CBOR URI resolution allowing custom URIs.
9+
- Contributed by: [@kstich](https://github.com/kstich)
10+
11+
## __AWS Service Catalog__
12+
- ### Features
13+
- ServiceCatalog's APIs (DeleteServiceAction, DisassociateServiceActionFromProvisioningArtifact, AssociateServiceActionWithProvisioningArtifact) now throw InvalidParametersException when IdempotencyToken is invalid.
14+
15+
## __Amazon Elastic Compute Cloud__
16+
- ### Features
17+
- This release adds support for Amazon EBS Provisioned Rate for Volume Initialization, which lets you specify a volume initialization rate to ensure that your EBS volumes are initialized in a predictable amount of time.
18+
19+
## __Amazon Timestream Query__
20+
- ### Features
21+
- Add dualstack endpoints support and correct us-gov-west-1 FIPS endpoint.
22+
23+
## __Amazon Timestream Write__
24+
- ### Features
25+
- Add dualstack endpoints support.
26+
27+
## __Contributors__
28+
Special thanks to the following contributors to this release:
29+
30+
[@kstich](https://github.com/kstich)
231
# __2.31.36__ __2025-05-05__
332
## __AWS CRT-based S3 Client__
433
- ### Bugfixes

CONTRIBUTING.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ __Jump To:__
1111
* [Additional Resources](#additional-resources)
1212

1313
## Bug Reports
14-
Bug reports are accepted through the [this][bug-report] page.
14+
Bug reports are accepted through [this][bug-report] page.
1515

1616
The following labels are used to track bug related issues: [Bug][label-bug],
1717
[Documentation Issue][label-doc-issue].
@@ -38,7 +38,7 @@ please ensure that your bug report has the following:
3838

3939
* A short, descriptive title. Ideally, other community members should be able
4040
to get a good idea of the issue just from reading the title.
41-
* A succint, detailed description of the problem you're experiencing. This
41+
* A succinct, detailed description of the problem you're experiencing. This
4242
should include:
4343
* Expected behavior of the SDK and the actual behavior exhibited.
4444
* Any details of your application environment that may be relevant. At
@@ -51,7 +51,7 @@ please ensure that your bug report has the following:
5151
stacktraces.
5252

5353
## Feature Requests
54-
Feature requests are submitted through the [this][feature-request] page.
54+
Feature requests are submitted through [this][feature-request] page.
5555

5656
As with Bug Reports, please do a search of the open requests first before
5757
submitting a new one to avoid duplicates. If you find an existing one, give it
@@ -71,7 +71,7 @@ Open an [issue][issues] with the following:
7171

7272
* A short, descriptive title. Ideally, other community members should be able
7373
to get a good idea of the feature just from reading the title.
74-
* A detailed description of the the proposed feature. Include justification for
74+
* A detailed description of the proposed feature. Include justification for
7575
why it should be added to the SDK, and possibly example code to illustrate
7676
how it should work.
7777
* [Markdown][markdown] formatting as appropriate to make the request easier to
@@ -136,11 +136,11 @@ interfaces](https://github.com/reactive-streams/reactive-streams-jvm), the
136136
change must also contain verification tests using the [Reactive Streams
137137
Technology Compatibility
138138
Kit](https://github.com/reactive-streams/reactive-streams-jvm/tree/master/tck)
139-
to ensure specificiation compliance.
139+
to ensure specification compliance.
140140

141141
### Getting Your Pull Request Merged
142142
All Pull Requests must be approved by at least one member of the SDK team
143-
before it can be merged in. The members only have limited bandwitdth to review
143+
before it can be merged in. The members only have limited bandwidth to review
144144
Pull Requests so it's not unusual for a Pull Request to go unreviewed for a few
145145
days, especially if it's a large or complex one. If, after a week, your Pull
146146
Request has not had any engagement from the SDK team, feel free to ping a

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.36</version>
54+
<version>2.31.37</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.36</version>
88+
<version>2.31.37</version>
8989
</dependency>
9090
<dependency>
9191
<groupId>software.amazon.awssdk</groupId>
9292
<artifactId>s3</artifactId>
93-
<version>2.31.36</version>
93+
<version>2.31.37</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.36</version>
105+
<version>2.31.37</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.36</version>
23+
<version>2.31.37</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.36</version>
23+
<version>2.31.37</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.36</version>
23+
<version>2.31.37</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.36</version>
23+
<version>2.31.37</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.36</version>
20+
<version>2.31.37</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.36</version>
23+
<version>2.31.37</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.36</version>
20+
<version>2.31.37</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.36</version>
24+
<version>2.31.37</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.36</version>
24+
<version>2.31.37</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.36</version>
24+
<version>2.31.37</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.36</version>
25+
<version>2.31.37</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.36</version>
24+
<version>2.31.37</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.36</version>
25+
<version>2.31.37</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.36</version>
24+
<version>2.31.37</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

codegen/src/main/java/software/amazon/awssdk/codegen/customization/processors/SmithyRpcV2CborProtocolProcessor.java

+5-9
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,11 @@
2020
import software.amazon.awssdk.codegen.model.service.Http;
2121
import software.amazon.awssdk.codegen.model.service.Operation;
2222
import software.amazon.awssdk.codegen.model.service.ServiceModel;
23-
import software.amazon.awssdk.utils.StringUtils;
2423

2524
/**
2625
* This processor only runs for services using the <code>smithy-rpc-v2-cbor</code> protocol.
2726
*
28-
* Adds a request URI that conform to the Smithy RPCv2 protocol to each operation in the model, if there's no URI already
29-
* defined.
27+
* Sets a request URI that conforms to the Smithy RPC v2 protocol to each operation in the model.
3028
*/
3129
public class SmithyRpcV2CborProtocolProcessor implements CodegenCustomizationProcessor {
3230
@Override
@@ -38,13 +36,11 @@ public void preprocess(ServiceModel serviceModel) {
3836
}
3937

4038
private void setRequestUri(ServiceModel service, String name, Operation op) {
41-
Http http = op.getHttp();
42-
String requestUri = http.getRequestUri();
43-
if (StringUtils.isNotBlank(requestUri) && !"/".equals(requestUri)) {
44-
return;
45-
}
4639
String uri = String.format("/service/%s/operation/%s", service.getMetadata().getTargetPrefix(), op.getName());
47-
op.getHttp().setRequestUri(uri);
40+
if (op.getHttp() == null) {
41+
op.setHttp(new Http().withMethod("POST").withResponseCode("200"));
42+
}
43+
op.getHttp().withRequestUri(uri);
4844
}
4945

5046
@Override

codegen/src/main/java/software/amazon/awssdk/codegen/model/service/Http.java

+5
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,9 @@ public String getResponseCode() {
5656
public void setResponseCode(String responseCode) {
5757
this.responseCode = responseCode;
5858
}
59+
60+
public Http withResponseCode(String responseCode) {
61+
this.responseCode = responseCode;
62+
return this;
63+
}
5964
}

codegen/src/main/java/software/amazon/awssdk/codegen/poet/builder/BaseClientBuilderClass.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -509,10 +509,8 @@ private MethodSpec finalizeServiceConfigurationMethod() {
509509
.addCode(" .build());");
510510

511511
if (model.getMetadata().isJsonProtocol()) {
512-
if (model.getCustomizationConfig().getEnableFastUnmarshaller()) {
513-
builder.addStatement("builder.option($1T.ENABLE_FAST_UNMARSHALLER, true)",
514-
SdkClientJsonProtocolAdvancedOption.class);
515-
}
512+
builder.addStatement("builder.option($1T.ENABLE_FAST_UNMARSHALLER, true)",
513+
SdkClientJsonProtocolAdvancedOption.class);
516514
}
517515

518516
if (hasRequestAlgorithmMember(model) || hasResponseAlgorithms(model)) {

0 commit comments

Comments
 (0)