Skip to content

Commit a9407dd

Browse files
committed
Merge branch 'master' into feature/master/joviegas_document_db_impl
2 parents 7e936ac + 1e57414 commit a9407dd

File tree

443 files changed

+9414
-5510
lines changed

Some content is hidden

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

443 files changed

+9414
-5510
lines changed

.changes/2.20.10.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"version": "2.20.10",
3+
"date": "2023-02-22",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "AWS DataSync",
8+
"contributor": "",
9+
"description": "AWS DataSync has relaxed the minimum length constraint of AccessKey for Object Storage locations to 1."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "Amazon Chime SDK Voice",
14+
"contributor": "",
15+
"description": "This release introduces support for Voice Connector media metrics in the Amazon Chime SDK Voice namespace"
16+
},
17+
{
18+
"type": "feature",
19+
"category": "Amazon CloudFront",
20+
"contributor": "",
21+
"description": "CloudFront now supports block lists in origin request policies so that you can forward all headers, cookies, or query string from viewer requests to the origin *except* for those specified in the block list."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "Amazon OpenSearch Service",
26+
"contributor": "",
27+
"description": "This release lets customers configure Off-peak window and software update related properties for a new/existing domain. It enhances the capabilities of StartServiceSoftwareUpdate API; adds 2 new APIs - ListScheduledActions & UpdateScheduledAction; and allows Auto-tune to make use of Off-peak window."
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Amazon Simple Systems Manager (SSM)",
32+
"contributor": "",
33+
"description": "Document only update for Feb 2023"
34+
},
35+
{
36+
"type": "feature",
37+
"category": "CloudWatch RUM",
38+
"contributor": "",
39+
"description": "CloudWatch RUM now supports CloudWatch Custom Metrics"
40+
}
41+
]
42+
}

.changes/2.20.9.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"version": "2.20.9",
3+
"date": "2023-02-21",
4+
"entries": [
5+
{
6+
"type": "bugfix",
7+
"category": "AWS SDK for Java v2",
8+
"contributor": "",
9+
"description": "Fix race condition that could cause a NullPointerException to be raised from ProfileCredentialsProvider."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "AWS Resilience Hub",
14+
"contributor": "",
15+
"description": "In this release we improved resilience hub application creation and maintenance by introducing new resource and app component crud APIs, improving visibility and maintenance of application input sources and added support for additional information attributes to be provided by customers."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "AWS SecurityHub",
20+
"contributor": "",
21+
"description": "Documentation updates for AWS Security Hub"
22+
},
23+
{
24+
"type": "feature",
25+
"category": "AWS Telco Network Builder",
26+
"contributor": "",
27+
"description": "This is the initial SDK release for AWS Telco Network Builder (TNB). AWS Telco Network Builder is a network automation service that helps you deploy and manage telecom networks."
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Amazon QuickSight",
32+
"contributor": "",
33+
"description": "S3 data sources now accept a custom IAM role."
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

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
# __2.20.10__ __2023-02-22__
2+
## __AWS DataSync__
3+
- ### Features
4+
- AWS DataSync has relaxed the minimum length constraint of AccessKey for Object Storage locations to 1.
5+
6+
## __Amazon Chime SDK Voice__
7+
- ### Features
8+
- This release introduces support for Voice Connector media metrics in the Amazon Chime SDK Voice namespace
9+
10+
## __Amazon CloudFront__
11+
- ### Features
12+
- CloudFront now supports block lists in origin request policies so that you can forward all headers, cookies, or query string from viewer requests to the origin *except* for those specified in the block list.
13+
14+
## __Amazon OpenSearch Service__
15+
- ### Features
16+
- This release lets customers configure Off-peak window and software update related properties for a new/existing domain. It enhances the capabilities of StartServiceSoftwareUpdate API; adds 2 new APIs - ListScheduledActions & UpdateScheduledAction; and allows Auto-tune to make use of Off-peak window.
17+
18+
## __Amazon Simple Systems Manager (SSM)__
19+
- ### Features
20+
- Document only update for Feb 2023
21+
22+
## __CloudWatch RUM__
23+
- ### Features
24+
- CloudWatch RUM now supports CloudWatch Custom Metrics
25+
26+
# __2.20.9__ __2023-02-21__
27+
## __AWS Resilience Hub__
28+
- ### Features
29+
- In this release we improved resilience hub application creation and maintenance by introducing new resource and app component crud APIs, improving visibility and maintenance of application input sources and added support for additional information attributes to be provided by customers.
30+
31+
## __AWS SDK for Java v2__
32+
- ### Features
33+
- Updated endpoint and partition metadata.
34+
35+
- ### Bugfixes
36+
- Fix race condition that could cause a NullPointerException to be raised from ProfileCredentialsProvider.
37+
38+
## __AWS SecurityHub__
39+
- ### Features
40+
- Documentation updates for AWS Security Hub
41+
42+
## __AWS Telco Network Builder__
43+
- ### Features
44+
- This is the initial SDK release for AWS Telco Network Builder (TNB). AWS Telco Network Builder is a network automation service that helps you deploy and manage telecom networks.
45+
46+
## __Amazon QuickSight__
47+
- ### Features
48+
- S3 data sources now accept a custom IAM role.
49+
150
# __2.20.8__ __2023-02-20__
251
## __AWS Audit Manager__
352
- ### 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.20.8</version>
55+
<version>2.20.10</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.20.8</version>
89+
<version>2.20.10</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>software.amazon.awssdk</groupId>
9393
<artifactId>s3</artifactId>
94-
<version>2.20.8</version>
94+
<version>2.20.10</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.20.8</version>
106+
<version>2.20.10</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.20.9-SNAPSHOT</version>
23+
<version>2.20.11-SNAPSHOT</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.20.9-SNAPSHOT</version>
23+
<version>2.20.11-SNAPSHOT</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.20.9-SNAPSHOT</version>
23+
<version>2.20.11-SNAPSHOT</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.20.9-SNAPSHOT</version>
23+
<version>2.20.11-SNAPSHOT</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetypes</artifactId>

aws-sdk-java/pom.xml

Lines changed: 6 additions & 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.20.9-SNAPSHOT</version>
20+
<version>2.20.11-SNAPSHOT</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>aws-sdk-java</artifactId>
@@ -1713,6 +1713,11 @@ Amazon AutoScaling, etc).</description>
17131713
<artifactId>cloudtraildata</artifactId>
17141714
<version>${awsjavasdk.version}</version>
17151715
</dependency>
1716+
<dependency>
1717+
<groupId>software.amazon.awssdk</groupId>
1718+
<artifactId>tnb</artifactId>
1719+
<version>${awsjavasdk.version}</version>
1720+
</dependency>
17161721
</dependencies>
17171722
<build>
17181723
<finalName>${project.artifactId}-${project.version}</finalName>

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.20.9-SNAPSHOT</version>
23+
<version>2.20.11-SNAPSHOT</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

bom/pom.xml

Lines changed: 6 additions & 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.20.9-SNAPSHOT</version>
20+
<version>2.20.11-SNAPSHOT</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>bom</artifactId>
@@ -1863,6 +1863,11 @@
18631863
<artifactId>imds</artifactId>
18641864
<version>${awsjavasdk.version}</version>
18651865
</dependency>
1866+
<dependency>
1867+
<groupId>software.amazon.awssdk</groupId>
1868+
<artifactId>tnb</artifactId>
1869+
<version>${awsjavasdk.version}</version>
1870+
</dependency>
18661871
</dependencies>
18671872
</dependencyManagement>
18681873
</project>

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.20.9-SNAPSHOT</version>
24+
<version>2.20.11-SNAPSHOT</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.20.9-SNAPSHOT</version>
25+
<version>2.20.11-SNAPSHOT</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.20.9-SNAPSHOT</version>
24+
<version>2.20.11-SNAPSHOT</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.20.9-SNAPSHOT</version>
25+
<version>2.20.11-SNAPSHOT</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.20.9-SNAPSHOT</version>
24+
<version>2.20.11-SNAPSHOT</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.20.9-SNAPSHOT</version>
23+
<version>2.20.11-SNAPSHOT</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.20.9-SNAPSHOT</version>
23+
<version>2.20.11-SNAPSHOT</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.20.9-SNAPSHOT</version>
25+
<version>2.20.11-SNAPSHOT</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.20.9-SNAPSHOT</version>
25+
<version>2.20.11-SNAPSHOT</version>
2626
</parent>
2727

2828
<artifactId>auth</artifactId>

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ public final class ProfileCredentialsProvider
5656
private final String profileName;
5757
private final Supplier<ProfileFile> defaultProfileFileLoader;
5858

59+
private final Object credentialsProviderLock = new Object();
60+
5961
/**
6062
* @see #builder()
6163
*/
@@ -117,9 +119,9 @@ public AwsCredentials resolveCredentials() {
117119
}
118120

119121
ProfileFile cachedOrRefreshedProfileFile = refreshProfileFile();
120-
if (isNewProfileFile(cachedOrRefreshedProfileFile)) {
121-
synchronized (this) {
122-
if (isNewProfileFile(cachedOrRefreshedProfileFile)) {
122+
if (shouldUpdateCredentialsProvider(cachedOrRefreshedProfileFile)) {
123+
synchronized (credentialsProviderLock) {
124+
if (shouldUpdateCredentialsProvider(cachedOrRefreshedProfileFile)) {
123125
currentProfileFile = cachedOrRefreshedProfileFile;
124126
handleProfileFileReload(cachedOrRefreshedProfileFile);
125127
}
@@ -137,8 +139,8 @@ private ProfileFile refreshProfileFile() {
137139
return profileFile.get();
138140
}
139141

140-
private boolean isNewProfileFile(ProfileFile profileFile) {
141-
return !Objects.equals(currentProfileFile, profileFile);
142+
private boolean shouldUpdateCredentialsProvider(ProfileFile profileFile) {
143+
return credentialsProvider == null || !Objects.equals(currentProfileFile, profileFile);
142144
}
143145

144146
@Override

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.20.9-SNAPSHOT</version>
25+
<version>2.20.11-SNAPSHOT</version>
2626
</parent>
2727

2828
<artifactId>aws-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.20.9-SNAPSHOT</version>
23+
<version>2.20.11-SNAPSHOT</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

0 commit comments

Comments
 (0)