Skip to content

Commit 808ced4

Browse files
Merge pull request #3585 from aws/staging/94c69e7d-be25-4274-8160-97bbc4c55d5f
Pull request: release <- staging/94c69e7d-be25-4274-8160-97bbc4c55d5f
2 parents 6cb022a + 215dc05 commit 808ced4

File tree

525 files changed

+3000
-936
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

+3000
-936
lines changed

.brazil.json

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"aws-xml-protocol": { "packageName": "AwsJavaSdk-Core-AwsXmlProtocol" },
1717
"smithy-rpcv2-protocol": { "packageName": "AwsJavaSdk-Core-SmithyRpcV2Protocol" },
1818
"cloudwatch-metric-publisher": { "packageName": "AwsJavaSdk-MetricPublisher-CloudWatch" },
19+
"emf-metric-logging-publisher": { "packageName": "AwsJavaSdk-MetricPublisher-Emf" },
1920
"codegen": { "packageName": "AwsJavaSdk-Codegen" },
2021
"dynamodb-enhanced": { "packageName": "AwsJavaSdk-DynamoDb-Enhanced" },
2122
"http-client-spi": { "packageName": "AwsJavaSdk-HttpClient" },

.changes/2.30.2.json

+6
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@
3737
"category": "AWS SDK for Java v2",
3838
"contributor": "",
3939
"description": "Updated endpoint and partition metadata."
40+
},
41+
{
42+
"type": "bugfix",
43+
"category": "Amazon Simple Storage Service",
44+
"contributor": "",
45+
"description": "Fixed contentLength mismatch issue thrown from putObject when multipartEnabled is true and a contentLength is provided in PutObjectRequest. See [#5807](https://github.com/aws/aws-sdk-java-v2/issues/5807)"
4046
}
4147
]
4248
}

.changes/2.30.3.json

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"version": "2.30.3",
3+
"date": "2025-01-21",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "AWS Batch",
8+
"contributor": "",
9+
"description": "Documentation-only update: clarified the description of the shareDecaySeconds parameter of the FairsharePolicy data type, clarified the description of the priority parameter of the JobQueueDetail data type."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "AWS IoT SiteWise",
14+
"contributor": "",
15+
"description": "AWS IoT SiteWise now supports ingestion and querying of Null (all data types) and NaN (double type) values of bad or uncertain data quality. New partial error handling prevents data loss during ingestion. Enabled by default for new customers; existing customers can opt-in."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "Amazon CloudWatch Logs",
20+
"contributor": "",
21+
"description": "Documentation-only update to address doc errors"
22+
},
23+
{
24+
"type": "feature",
25+
"category": "Amazon Cognito Identity Provider",
26+
"contributor": "",
27+
"description": "corrects the dual-stack endpoint configuration for cognitoidp"
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Amazon Connect Service",
32+
"contributor": "",
33+
"description": "Added DeleteContactFlowVersion API and the CAMPAIGN flow type"
34+
},
35+
{
36+
"type": "feature",
37+
"category": "Amazon QuickSight",
38+
"contributor": "",
39+
"description": "Added `DigitGroupingStyle` in ThousandsSeparator to allow grouping by `LAKH`( Indian Grouping system ) currency. Support LAKH and `CRORE` currency types in Column Formatting."
40+
},
41+
{
42+
"type": "feature",
43+
"category": "Amazon Simple Notification Service",
44+
"contributor": "",
45+
"description": "This release adds support for the topic attribute FifoThroughputScope for SNS FIFO topics. For details, see the documentation history in the Amazon Simple Notification Service Developer Guide."
46+
},
47+
{
48+
"type": "feature",
49+
"category": "EMR Serverless",
50+
"contributor": "",
51+
"description": "Increasing entryPoint in SparkSubmit to accept longer script paths. New limit is 4kb."
52+
},
53+
{
54+
"type": "feature",
55+
"category": "Emf Metric Logging Publisher",
56+
"contributor": "",
57+
"description": "Added a new EmfMetricLoggingPublisher class that transforms SdkMetricCollection to emf format string and logs it, which will be automatically collected by cloudwatch."
58+
},
59+
{
60+
"type": "feature",
61+
"category": "AWS SDK for Java v2",
62+
"contributor": "",
63+
"description": "Updated endpoint and partition metadata."
64+
}
65+
]
66+
}

CHANGELOG.md

+45
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,45 @@
11
#### 👋 _Looking for changelogs for older versions? You can find them in the [changelogs](./changelogs) directory._
2+
# __2.30.3__ __2025-01-21__
3+
## __AWS Batch__
4+
- ### Features
5+
- Documentation-only update: clarified the description of the shareDecaySeconds parameter of the FairsharePolicy data type, clarified the description of the priority parameter of the JobQueueDetail data type.
6+
7+
## __AWS IoT SiteWise__
8+
- ### Features
9+
- AWS IoT SiteWise now supports ingestion and querying of Null (all data types) and NaN (double type) values of bad or uncertain data quality. New partial error handling prevents data loss during ingestion. Enabled by default for new customers; existing customers can opt-in.
10+
11+
## __AWS SDK for Java v2__
12+
- ### Features
13+
- Updated endpoint and partition metadata.
14+
15+
## __Amazon CloudWatch Logs__
16+
- ### Features
17+
- Documentation-only update to address doc errors
18+
19+
## __Amazon Cognito Identity Provider__
20+
- ### Features
21+
- corrects the dual-stack endpoint configuration for cognitoidp
22+
23+
## __Amazon Connect Service__
24+
- ### Features
25+
- Added DeleteContactFlowVersion API and the CAMPAIGN flow type
26+
27+
## __Amazon QuickSight__
28+
- ### Features
29+
- Added `DigitGroupingStyle` in ThousandsSeparator to allow grouping by `LAKH`( Indian Grouping system ) currency. Support LAKH and `CRORE` currency types in Column Formatting.
30+
31+
## __Amazon Simple Notification Service__
32+
- ### Features
33+
- This release adds support for the topic attribute FifoThroughputScope for SNS FIFO topics. For details, see the documentation history in the Amazon Simple Notification Service Developer Guide.
34+
35+
## __EMR Serverless__
36+
- ### Features
37+
- Increasing entryPoint in SparkSubmit to accept longer script paths. New limit is 4kb.
38+
39+
## __Emf Metric Logging Publisher__
40+
- ### Features
41+
- Added a new EmfMetricLoggingPublisher class that transforms SdkMetricCollection to emf format string and logs it, which will be automatically collected by cloudwatch.
42+
243
# __2.30.2__ __2025-01-17__
344
## __AWS SDK for Java v2__
445
- ### Features
@@ -24,6 +65,10 @@
2465
- ### Features
2566
- Correction of docs for "Added support for ml.trn1.32xlarge instance type in Reserved Capacity Offering"
2667

68+
## __Amazon Simple Storage Service__
69+
- ### Bugfixes
70+
- Fixed contentLength mismatch issue thrown from putObject when multipartEnabled is true and a contentLength is provided in PutObjectRequest. See [#5807](https://github.com/aws/aws-sdk-java-v2/issues/5807)
71+
2772
# __2.30.1__ __2025-01-16__
2873
## __AWS SDK for Java v2__
2974
- ### 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.30.2</version>
54+
<version>2.30.3</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.30.2</version>
88+
<version>2.30.3</version>
8989
</dependency>
9090
<dependency>
9191
<groupId>software.amazon.awssdk</groupId>
9292
<artifactId>s3</artifactId>
93-
<version>2.30.2</version>
93+
<version>2.30.3</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.30.2</version>
105+
<version>2.30.3</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.30.2</version>
23+
<version>2.30.3</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.30.2</version>
23+
<version>2.30.3</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.30.2</version>
23+
<version>2.30.3</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.30.2</version>
23+
<version>2.30.3</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetypes</artifactId>

aws-sdk-java/pom.xml

+6-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.30.2</version>
20+
<version>2.30.3</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>aws-sdk-java</artifactId>
@@ -1773,6 +1773,11 @@ Amazon AutoScaling, etc).</description>
17731773
<artifactId>cloudwatch-metric-publisher</artifactId>
17741774
<version>${awsjavasdk.version}</version>
17751775
</dependency>
1776+
<dependency>
1777+
<groupId>software.amazon.awssdk</groupId>
1778+
<artifactId>emf-metric-logging-publisher</artifactId>
1779+
<version>${awsjavasdk.version}</version>
1780+
</dependency>
17761781
<dependency>
17771782
<groupId>software.amazon.awssdk</groupId>
17781783
<artifactId>launchwizard</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.30.2</version>
23+
<version>2.30.3</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

bom/pom.xml

+6-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.30.2</version>
20+
<version>2.30.3</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>bom</artifactId>
@@ -212,6 +212,11 @@
212212
<artifactId>cloudwatch-metric-publisher</artifactId>
213213
<version>${awsjavasdk.version}</version>
214214
</dependency>
215+
<dependency>
216+
<groupId>software.amazon.awssdk</groupId>
217+
<artifactId>emf-metric-logging-publisher</artifactId>
218+
<version>${awsjavasdk.version}</version>
219+
</dependency>
215220
<dependency>
216221
<groupId>software.amazon.awssdk</groupId>
217222
<artifactId>s3-transfer-manager</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.30.2</version>
24+
<version>2.30.3</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.30.2</version>
24+
<version>2.30.3</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.30.2</version>
24+
<version>2.30.3</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.30.2</version>
25+
<version>2.30.3</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.30.2</version>
24+
<version>2.30.3</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.30.2</version>
25+
<version>2.30.3</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.30.2</version>
24+
<version>2.30.3</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

codegen/src/main/java/software/amazon/awssdk/codegen/CodeGenerator.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@
2626
import software.amazon.awssdk.codegen.internal.Jackson;
2727
import software.amazon.awssdk.codegen.internal.Utils;
2828
import software.amazon.awssdk.codegen.model.intermediate.IntermediateModel;
29+
import software.amazon.awssdk.utils.Logger;
2930

3031
public class CodeGenerator {
31-
32+
private static final Logger log = Logger.loggerFor(CodeGenerator.class);
3233
private static final String MODEL_DIR_NAME = "models";
3334

3435
private final C2jModels models;
@@ -85,6 +86,7 @@ public void execute() {
8586
emitCode(intermediateModel);
8687

8788
} catch (Exception e) {
89+
log.error(() -> "Failed to generate code. ", e);
8890
throw new RuntimeException(
8991
"Failed to generate code. Exception message : " + e.getMessage(), e);
9092

codegen/src/main/java/software/amazon/awssdk/codegen/poet/client/traits/HttpChecksumTrait.java

+5-3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import java.util.Locale;
2323
import java.util.Map;
2424
import java.util.function.Predicate;
25+
import java.util.stream.Collectors;
2526
import software.amazon.awssdk.checksums.DefaultChecksumAlgorithm;
2627
import software.amazon.awssdk.codegen.model.intermediate.IntermediateModel;
2728
import software.amazon.awssdk.codegen.model.intermediate.MemberModel;
@@ -141,11 +142,12 @@ private static void configureRequestChecksumCalculation(OperationModel operation
141142
* with the fastest-to-calculate algorithms first.
142143
*/
143144
private static void addResponseAlgorithmsCodeBlock(List<String> responseAlgorithms, CodeBlock.Builder codeBuilder) {
144-
responseAlgorithms.sort(Comparator.comparingInt(o -> CHECKSUM_ALGORITHM_PRIORITY.getOrDefault(
145-
o.toUpperCase(Locale.US), Integer.MAX_VALUE)));
145+
List<String> sortedResponseAlgorithms =
146+
responseAlgorithms.stream().sorted(Comparator.comparingInt(o -> CHECKSUM_ALGORITHM_PRIORITY.getOrDefault(
147+
o.toUpperCase(Locale.US), Integer.MAX_VALUE))).collect(Collectors.toList());
146148

147149
codeBuilder.add(CodeBlock.of(".responseAlgorithmsV2("));
148-
List<CodeBlock> responseAlgorithmsCodeBlocks = responseAlgorithmsCodeBlocks(responseAlgorithms);
150+
List<CodeBlock> responseAlgorithmsCodeBlocks = responseAlgorithmsCodeBlocks(sortedResponseAlgorithms);
149151
for (int i = 0; i < responseAlgorithmsCodeBlocks.size(); i++) {
150152
CodeBlock code = responseAlgorithmsCodeBlocks.get(i);
151153
codeBuilder.add(code);

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.30.2</version>
23+
<version>2.30.3</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.30.2</version>
23+
<version>2.30.3</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

0 commit comments

Comments
 (0)