Skip to content

Commit 17b362b

Browse files
authored
Merge pull request #1984 from aws/staging/9370d83f-3e00-4034-a4bb-4b20e5498e96
Pull request: release <- staging/9370d83f-3e00-4034-a4bb-4b20e5498e96
2 parents 4d81e9f + 2784c19 commit 17b362b

File tree

390 files changed

+2311
-594
lines changed

Some content is hidden

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

390 files changed

+2311
-594
lines changed

.changes/2.17.166.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"version": "2.17.166",
3+
"date": "2022-04-07",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "Amazon EventBridge",
8+
"contributor": "",
9+
"description": "Adds new EventBridge Endpoint resources for disaster recovery, multi-region failover, and cross-region replication capabilities to help you build resilient event-driven applications."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "Amazon API Gateway",
14+
"contributor": "",
15+
"description": "ApiGateway CLI command get-usage now includes usagePlanId, startDate, and endDate fields in the output to match documentation."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "Amazon SageMaker Service",
20+
"contributor": "",
21+
"description": "Amazon Sagemaker Notebook Instances now supports G5 instance types"
22+
},
23+
{
24+
"type": "feature",
25+
"category": "AWS Performance Insights",
26+
"contributor": "",
27+
"description": "Adds support for DocumentDB to the Performance Insights API."
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Amazon DocumentDB with MongoDB compatibility",
32+
"contributor": "",
33+
"description": "Added support to enable/disable performance insights when creating or modifying db instances"
34+
},
35+
{
36+
"type": "feature",
37+
"category": "Amazon Personalize",
38+
"contributor": "",
39+
"description": "This release provides tagging support in AWS Personalize."
40+
}
41+
]
42+
}

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
# __2.17.166__ __2022-04-07__
2+
## __AWS Performance Insights__
3+
- ### Features
4+
- Adds support for DocumentDB to the Performance Insights API.
5+
6+
## __Amazon API Gateway__
7+
- ### Features
8+
- ApiGateway CLI command get-usage now includes usagePlanId, startDate, and endDate fields in the output to match documentation.
9+
10+
## __Amazon DocumentDB with MongoDB compatibility__
11+
- ### Features
12+
- Added support to enable/disable performance insights when creating or modifying db instances
13+
14+
## __Amazon EventBridge__
15+
- ### Features
16+
- Adds new EventBridge Endpoint resources for disaster recovery, multi-region failover, and cross-region replication capabilities to help you build resilient event-driven applications.
17+
18+
## __Amazon Personalize__
19+
- ### Features
20+
- This release provides tagging support in AWS Personalize.
21+
22+
## __Amazon SageMaker Service__
23+
- ### Features
24+
- Amazon Sagemaker Notebook Instances now supports G5 instance types
25+
126
# __2.17.165__ __2022-04-06__
227
## __AWS Config__
328
- ### 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.17.165</version>
55+
<version>2.17.166</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.17.165</version>
89+
<version>2.17.166</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>software.amazon.awssdk</groupId>
9393
<artifactId>s3</artifactId>
94-
<version>2.17.165</version>
94+
<version>2.17.166</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.17.165</version>
106+
<version>2.17.166</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.17.165</version>
23+
<version>2.17.166</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.17.165</version>
23+
<version>2.17.166</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.17.165</version>
23+
<version>2.17.166</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.17.165</version>
23+
<version>2.17.166</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.17.165</version>
20+
<version>2.17.166</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.17.165</version>
23+
<version>2.17.166</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.17.165</version>
20+
<version>2.17.166</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>bom</artifactId>

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.17.165</version>
24+
<version>2.17.166</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.17.165</version>
25+
<version>2.17.166</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.17.165</version>
24+
<version>2.17.166</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.17.165</version>
25+
<version>2.17.166</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.17.165</version>
24+
<version>2.17.166</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.17.165</version>
23+
<version>2.17.166</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.17.165</version>
23+
<version>2.17.166</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.17.165</version>
25+
<version>2.17.166</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.17.165</version>
25+
<version>2.17.166</version>
2626
</parent>
2727

2828
<artifactId>auth</artifactId>
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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.auth.signer;
17+
18+
import java.lang.reflect.InvocationTargetException;
19+
import java.lang.reflect.Method;
20+
import java.util.Map;
21+
import java.util.concurrent.ConcurrentHashMap;
22+
import software.amazon.awssdk.annotations.SdkProtectedApi;
23+
import software.amazon.awssdk.core.internal.util.ClassLoaderHelper;
24+
import software.amazon.awssdk.core.signer.Signer;
25+
26+
/**
27+
* Utility class for instantiating signers only if they're available on the class path.
28+
*/
29+
@SdkProtectedApi
30+
public final class SignerLoader {
31+
32+
private static final Map<String, Signer> SIGNERS = new ConcurrentHashMap<>();
33+
34+
private SignerLoader() {
35+
}
36+
37+
public static Signer getSigV4aSigner() {
38+
return get("software.amazon.awssdk.authcrt.signer.AwsCrtV4aSigner");
39+
}
40+
41+
public static Signer getS3SigV4aSigner() {
42+
return get("software.amazon.awssdk.authcrt.signer.AwsCrtS3V4aSigner");
43+
}
44+
45+
private static Signer get(String fqcn) {
46+
return SIGNERS.computeIfAbsent(fqcn, SignerLoader::initializeV4aSigner);
47+
}
48+
49+
private static Signer initializeV4aSigner(String fqcn) {
50+
try {
51+
Class<?> signerClass = ClassLoaderHelper.loadClass(fqcn, false, (Class) null);
52+
Method m = signerClass.getDeclaredMethod("create");
53+
Object o = m.invoke(null);
54+
return (Signer) o;
55+
} catch (ClassNotFoundException e) {
56+
throw new IllegalStateException("Cannot find the " + fqcn + " class."
57+
+ " To invoke a request that requires a SigV4a signer, such as region independent " +
58+
"signing, the 'auth-crt' core module must be on the class path. ", e);
59+
} catch (NoSuchMethodException | InvocationTargetException | IllegalAccessException e) {
60+
throw new IllegalStateException("Failed to create " + fqcn, e);
61+
}
62+
}
63+
}

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.17.165</version>
25+
<version>2.17.166</version>
2626
</parent>
2727

2828
<artifactId>aws-core</artifactId>

0 commit comments

Comments
 (0)