Skip to content

Commit 3e331cd

Browse files
Merge pull request #2263 from aws/staging/f5722844-dd59-4120-abe6-7275bb0b953b
Pull request: release <- staging/f5722844-dd59-4120-abe6-7275bb0b953b
2 parents 3b4ae96 + 11c394f commit 3e331cd

File tree

414 files changed

+1556
-765
lines changed

Some content is hidden

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

414 files changed

+1556
-765
lines changed

.changes/2.18.24.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"version": "2.18.24",
3+
"date": "2022-11-23",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "AWS SDK for Java v2",
8+
"contributor": "",
9+
"description": "When raising an exception as a result of a service response, if service does not return a error message, include the error code or HTTP status code in exception messages instead of the string \"null\"."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "AWS SDK for Java v2",
14+
"contributor": "",
15+
"description": "When a request fails after SDK retries, include the retried failure messages as \"suppressed\" exceptions. Stack traces for these suppressed exceptions are not preserved."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "Amazon Managed Grafana",
20+
"contributor": "",
21+
"description": "This release includes support for configuring a Grafana workspace to connect to a datasource within a VPC as well as new APIs for configuring Grafana settings."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "Amazon Recycle Bin",
26+
"contributor": "",
27+
"description": "This release adds support for Rule Lock for Recycle Bin, which allows you to lock retention rules so that they can no longer be modified or deleted."
28+
}
29+
]
30+
}

.idea/inspectionProfiles/AWS_Java_SDK_2_0.xml

Lines changed: 4 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# __2.18.24__ __2022-11-23__
2+
## __AWS SDK for Java v2__
3+
- ### Features
4+
- When a request fails after SDK retries, include the retried failure messages as "suppressed" exceptions. Stack traces for these suppressed exceptions are not preserved.
5+
- When raising an exception as a result of a service response, if service does not return a error message, include the error code or HTTP status code in exception messages instead of the string "null".
6+
7+
## __Amazon Managed Grafana__
8+
- ### Features
9+
- This release includes support for configuring a Grafana workspace to connect to a datasource within a VPC as well as new APIs for configuring Grafana settings.
10+
11+
## __Amazon Recycle Bin__
12+
- ### Features
13+
- This release adds support for Rule Lock for Recycle Bin, which allows you to lock retention rules so that they can no longer be modified or deleted.
14+
115
# __2.18.23__ __2022-11-22__
216
## __AWS SDK for Java v2__
317
- ### 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.18.23</version>
55+
<version>2.18.24</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.18.23</version>
89+
<version>2.18.24</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>software.amazon.awssdk</groupId>
9393
<artifactId>s3</artifactId>
94-
<version>2.18.23</version>
94+
<version>2.18.24</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.18.23</version>
106+
<version>2.18.24</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.18.23</version>
23+
<version>2.18.24</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.18.23</version>
23+
<version>2.18.24</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.18.23</version>
23+
<version>2.18.24</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.18.23</version>
23+
<version>2.18.24</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.18.23</version>
20+
<version>2.18.24</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.18.23</version>
23+
<version>2.18.24</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.18.23</version>
20+
<version>2.18.24</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.18.23</version>
24+
<version>2.18.24</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.18.23</version>
25+
<version>2.18.24</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.18.23</version>
24+
<version>2.18.24</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.18.23</version>
25+
<version>2.18.24</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.18.23</version>
24+
<version>2.18.24</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

codegen/src/main/java/software/amazon/awssdk/codegen/poet/model/ExceptionProperties.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ public static List<MethodSpec> builderInterfaceMethods(ClassName className) {
3333
builderMethod(className, "message", String.class),
3434
builderMethod(className, "requestId", String.class),
3535
builderMethod(className, "statusCode", int.class),
36-
builderMethod(className, "cause", Throwable.class));
36+
builderMethod(className, "cause", Throwable.class),
37+
builderMethod(className, "writableStackTrace", Boolean.class));
3738
}
3839

3940
public static List<MethodSpec> builderImplMethods(ClassName className) {
@@ -42,7 +43,8 @@ public static List<MethodSpec> builderImplMethods(ClassName className) {
4243
builderImplMethods(className, "message", String.class),
4344
builderImplMethods(className, "requestId", String.class),
4445
builderImplMethods(className, "statusCode", int.class),
45-
builderImplMethods(className, "cause", Throwable.class));
46+
builderImplMethods(className, "cause", Throwable.class),
47+
builderImplMethods(className, "writableStackTrace", Boolean.class));
4648
}
4749

4850
private static MethodSpec builderMethod(ClassName className, String name, Class clazz) {

codegen/src/main/resources/software/amazon/awssdk/codegen/rules/SourceException.java.resource

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ public class SourceException extends SdkException {
1515
@Override
1616
Builder cause(Throwable cause);
1717

18+
@Override
19+
Builder writableStackTrace(Boolean writableStackTrace);
20+
1821
@Override
1922
Builder message(String message);
2023

@@ -35,6 +38,12 @@ public class SourceException extends SdkException {
3538
return this;
3639
}
3740

41+
@Override
42+
public Builder writableStackTrace(Boolean writableStackTrace) {
43+
super.writableStackTrace(writableStackTrace);
44+
return this;
45+
}
46+
3847
@Override
3948
public SourceException build() {
4049
return new SourceException(this);

codegen/src/test/resources/software/amazon/awssdk/codegen/poet/model/baseserviceexception.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ public interface Builder extends AwsServiceException.Builder {
3737

3838
@Override
3939
Builder cause(Throwable cause);
40+
41+
@Override
42+
Builder writableStackTrace(Boolean writableStackTrace);
4043
}
4144

4245
protected static class BuilderImpl extends AwsServiceException.BuilderImpl implements Builder {
@@ -77,6 +80,12 @@ public BuilderImpl cause(Throwable cause) {
7780
return this;
7881
}
7982

83+
@Override
84+
public BuilderImpl writableStackTrace(Boolean writableStackTrace) {
85+
this.writableStackTrace = writableStackTrace;
86+
return this;
87+
}
88+
8089
@Override
8190
public JsonProtocolTestsException build() {
8291
return new JsonProtocolTestsException(this);

codegen/src/test/resources/software/amazon/awssdk/codegen/poet/model/emptymodeledexception.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ public interface Builder extends SdkPojo, CopyableBuilder<Builder, EmptyModeledE
5656

5757
@Override
5858
Builder cause(Throwable cause);
59+
60+
@Override
61+
Builder writableStackTrace(Boolean writableStackTrace);
5962
}
6063

6164
static final class BuilderImpl extends JsonProtocolTestsException.BuilderImpl implements Builder {
@@ -96,6 +99,12 @@ public BuilderImpl cause(Throwable cause) {
9699
return this;
97100
}
98101

102+
@Override
103+
public BuilderImpl writableStackTrace(Boolean writableStackTrace) {
104+
this.writableStackTrace = writableStackTrace;
105+
return this;
106+
}
107+
99108
@Override
100109
public EmptyModeledException build() {
101110
return new EmptyModeledException(this);

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.18.23</version>
23+
<version>2.18.24</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.18.23</version>
23+
<version>2.18.24</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.18.23</version>
25+
<version>2.18.24</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.18.23</version>
25+
<version>2.18.24</version>
2626
</parent>
2727

2828
<artifactId>auth</artifactId>

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

2828
<artifactId>aws-core</artifactId>

0 commit comments

Comments
 (0)