Skip to content

Commit 666d0c6

Browse files
Merge pull request #2869 from aws/staging/36fb26e6-ddb1-4aa8-b87d-1ab6820f91e5
Pull request: release <- staging/36fb26e6-ddb1-4aa8-b87d-1ab6820f91e5
2 parents e056aca + 4c28478 commit 666d0c6

File tree

462 files changed

+651
-538
lines changed

Some content is hidden

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

462 files changed

+651
-538
lines changed

.changes/2.23.12.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"version": "2.23.12",
3+
"date": "2024-01-26",
4+
"entries": [
5+
{
6+
"type": "bugfix",
7+
"category": "AWS SDK for Java v2",
8+
"contributor": "",
9+
"description": "Fixed bug where the ProfileCredentialsProvider would re-read the credentials file with each request by default."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "AWS SDK for Java v2",
14+
"contributor": "",
15+
"description": "Improved performance of chunk-encoded streaming uploads, like S3's PutObject."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "Amazon Connect Service",
20+
"contributor": "",
21+
"description": "Update list and string length limits for predefined attributes."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "Amazon SageMaker Service",
26+
"contributor": "",
27+
"description": "Amazon SageMaker Automatic Model Tuning now provides an API to programmatically delete tuning jobs."
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Inspector2",
32+
"contributor": "",
33+
"description": "This release adds ECR container image scanning based on their lastRecordedPullTime."
34+
}
35+
]
36+
}

CHANGELOG.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
# __2.23.12__ __2024-01-26__
2+
## __AWS SDK for Java v2__
3+
- ### Features
4+
- Improved performance of chunk-encoded streaming uploads, like S3's PutObject.
5+
6+
- ### Bugfixes
7+
- Fixed bug where the ProfileCredentialsProvider would re-read the credentials file with each request by default.
8+
9+
## __Amazon Connect Service__
10+
- ### Features
11+
- Update list and string length limits for predefined attributes.
12+
13+
## __Amazon SageMaker Service__
14+
- ### Features
15+
- Amazon SageMaker Automatic Model Tuning now provides an API to programmatically delete tuning jobs.
16+
17+
## __Inspector2__
18+
- ### Features
19+
- This release adds ECR container image scanning based on their lastRecordedPullTime.
20+
121
# __2.23.11__ __2024-01-25__
222
## __AWS Certificate Manager Private Certificate Authority__
323
- ### Features
@@ -4707,7 +4727,7 @@ Special thanks to the following contributors to this release:
47074727
## __Contributors__
47084728
Special thanks to the following contributors to this release:
47094729

4710-
[@bmaizels](https://github.com/bmaizels), [@breader124](https://github.com/breader124)
4730+
[@breader124](https://github.com/breader124), [@bmaizels](https://github.com/bmaizels)
47114731
# __2.20.85__ __2023-06-13__
47124732
## __AWS CloudTrail__
47134733
- ### Features

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ To automatically manage module versions (currently all modules have the same ver
5252
<dependency>
5353
<groupId>software.amazon.awssdk</groupId>
5454
<artifactId>bom</artifactId>
55-
<version>2.23.11</version>
55+
<version>2.23.12</version>
5656
<type>pom</type>
5757
<scope>import</scope>
5858
</dependency>
@@ -86,12 +86,12 @@ Alternatively you can add dependencies for the specific services you use only:
8686
<dependency>
8787
<groupId>software.amazon.awssdk</groupId>
8888
<artifactId>ec2</artifactId>
89-
<version>2.23.11</version>
89+
<version>2.23.12</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>software.amazon.awssdk</groupId>
9393
<artifactId>s3</artifactId>
94-
<version>2.23.11</version>
94+
<version>2.23.12</version>
9595
</dependency>
9696
```
9797

@@ -103,7 +103,7 @@ You can import the whole SDK into your project (includes *ALL* services). Please
103103
<dependency>
104104
<groupId>software.amazon.awssdk</groupId>
105105
<artifactId>aws-sdk-java</artifactId>
106-
<version>2.23.11</version>
106+
<version>2.23.12</version>
107107
</dependency>
108108
```
109109

archetypes/archetype-app-quickstart/pom.xml

Lines changed: 1 addition & 1 deletion
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.23.11</version>
23+
<version>2.23.12</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

archetypes/archetype-lambda/pom.xml

Lines changed: 1 addition & 1 deletion
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.23.11</version>
23+
<version>2.23.12</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetype-lambda</artifactId>

archetypes/archetype-tools/pom.xml

Lines changed: 1 addition & 1 deletion
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.23.11</version>
23+
<version>2.23.12</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

archetypes/pom.xml

Lines changed: 1 addition & 1 deletion
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.23.11</version>
23+
<version>2.23.12</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetypes</artifactId>

aws-sdk-java/pom.xml

Lines changed: 1 addition & 1 deletion
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.23.11</version>
20+
<version>2.23.12</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>aws-sdk-java</artifactId>

bom-internal/pom.xml

Lines changed: 1 addition & 1 deletion
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.23.11</version>
23+
<version>2.23.12</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

bom/pom.xml

Lines changed: 1 addition & 1 deletion
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.23.11</version>
20+
<version>2.23.12</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>bom</artifactId>

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

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

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.23.11</version>
24+
<version>2.23.12</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
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>aws-sdk-java-pom</artifactId>
25-
<version>2.23.11</version>
25+
<version>2.23.12</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<artifactId>codegen-lite-maven-plugin</artifactId>

codegen-lite/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.23.11</version>
24+
<version>2.23.12</version>
2525
</parent>
2626
<artifactId>codegen-lite</artifactId>
2727
<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.23.11</version>
25+
<version>2.23.12</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.23.11</version>
24+
<version>2.23.12</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
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>core</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.23.11</version>
23+
<version>2.23.12</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/arns/pom.xml

Lines changed: 1 addition & 1 deletion
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.23.11</version>
23+
<version>2.23.12</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/auth-crt/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.23.11</version>
25+
<version>2.23.12</version>
2626
</parent>
2727

2828
<artifactId>auth-crt</artifactId>

core/auth/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.23.11</version>
25+
<version>2.23.12</version>
2626
</parent>
2727

2828
<artifactId>auth</artifactId>

core/auth/src/main/java/software/amazon/awssdk/auth/credentials/ProfileCredentialsProvider.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ private ProfileCredentialsProvider(BuilderImpl builder) {
7171
try {
7272
selectedProfileName = Optional.ofNullable(builder.profileName)
7373
.orElseGet(ProfileFileSystemSetting.AWS_PROFILE::getStringValueOrThrow);
74-
75-
selectedProfileSupplier = Optional.ofNullable(builder.profileFile)
76-
.orElseGet(() -> builder.defaultProfileFileLoader);
74+
selectedProfileSupplier =
75+
Optional.ofNullable(builder.profileFile)
76+
.orElseGet(() -> ProfileFileSupplier.fixedProfileFile(builder.defaultProfileFileLoader.get()));
7777

7878
} catch (RuntimeException e) {
7979
// If we couldn't load the credentials provider for some reason, save an exception describing why. This exception

core/aws-core/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.23.11</version>
25+
<version>2.23.12</version>
2626
</parent>
2727

2828
<artifactId>aws-core</artifactId>

core/checksums-spi/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.23.11</version>
25+
<version>2.23.12</version>
2626
</parent>
2727

2828
<artifactId>checksums-spi</artifactId>

core/checksums/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.23.11</version>
25+
<version>2.23.12</version>
2626
</parent>
2727

2828
<artifactId>checksums</artifactId>

core/crt-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.23.11</version>
24+
<version>2.23.12</version>
2525
</parent>
2626

2727
<artifactId>crt-core</artifactId>

core/endpoints-spi/pom.xml

Lines changed: 1 addition & 1 deletion
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.23.11</version>
23+
<version>2.23.12</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/http-auth-aws-crt/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.23.11</version>
25+
<version>2.23.12</version>
2626
</parent>
2727

2828
<artifactId>http-auth-aws-crt</artifactId>

core/http-auth-aws-eventstream/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.23.11</version>
25+
<version>2.23.12</version>
2626
</parent>
2727

2828
<artifactId>http-auth-aws-eventstream</artifactId>

core/http-auth-aws/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.23.11</version>
25+
<version>2.23.12</version>
2626
</parent>
2727

2828
<artifactId>http-auth-aws</artifactId>

core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/internal/signer/chunkedencoding/ChunkedEncodedInputStream.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,20 @@ public static Builder builder() {
7777

7878
@Override
7979
public int read() throws IOException {
80+
return currentChunk().stream().read();
81+
}
82+
83+
@Override
84+
public int read(byte[] b, int off, int len) throws IOException {
85+
return currentChunk().stream().read(b, off, len);
86+
}
87+
88+
private Chunk currentChunk() throws IOException {
8089
if (currentChunk == null || !currentChunk.hasRemaining() && !isFinished) {
8190
currentChunk = getChunk(inputStream);
8291
}
8392

84-
return currentChunk.stream().read();
93+
return currentChunk;
8594
}
8695

8796
/**

core/http-auth-spi/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.23.11</version>
25+
<version>2.23.12</version>
2626
</parent>
2727

2828
<artifactId>http-auth-spi</artifactId>

core/http-auth/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.23.11</version>
25+
<version>2.23.12</version>
2626
</parent>
2727

2828
<artifactId>http-auth</artifactId>

core/identity-spi/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.23.11</version>
25+
<version>2.23.12</version>
2626
</parent>
2727

2828
<artifactId>identity-spi</artifactId>

0 commit comments

Comments
 (0)