Skip to content

Commit 3d8367f

Browse files
Merge pull request #2272 from aws/staging/28bf0170-09ad-467e-a2f5-3a554d5233b9
Pull request: release <- staging/28bf0170-09ad-467e-a2f5-3a554d5233b9
2 parents f1f8acb + 510b3d6 commit 3d8367f

File tree

459 files changed

+11404
-1392
lines changed

Some content is hidden

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

459 files changed

+11404
-1392
lines changed

.changes/2.18.29.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"version": "2.18.29",
3+
"date": "2022-12-01",
4+
"entries": [
5+
{
6+
"type": "bugfix",
7+
"category": "AWS SDK for Java v2",
8+
"contributor": "",
9+
"description": "This fixes an issue with the client option validation where the client builder is incorrectly validating that a value for the SIGNER option is present, even when it's not required (because the service does not use AWS auth).\n \n This change only does the appropriate validations based on the authtypes present in the service model."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "AWS SDK for Java v2",
14+
"contributor": "",
15+
"description": "Added AsyncRequestBody.forBlockingOutputStream, allowing streaming operation requests to be written to like an output stream."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "AWS Step Functions",
20+
"contributor": "",
21+
"description": "This release adds support for the AWS Step Functions Map state in Distributed mode. The changes include a new MapRun resource and several new and modified APIs."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "Amazon CodeCatalyst",
26+
"contributor": "",
27+
"description": "This release adds operations that support customers using the AWS Toolkits and Amazon CodeCatalyst, a unified software development service that helps developers develop, deploy, and maintain applications in the cloud. For more information, see the documentation."
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Amazon Comprehend",
32+
"contributor": "",
33+
"description": "Comprehend now supports semi-structured documents (such as PDF files or image files) as inputs for custom analysis using the synchronous APIs (ClassifyDocument and DetectEntities)."
34+
},
35+
{
36+
"type": "feature",
37+
"category": "Amazon EventBridge Pipes",
38+
"contributor": "",
39+
"description": "AWS introduces new Amazon EventBridge Pipes which allow you to connect sources (SQS, Kinesis, DDB, Kafka, MQ) to Targets (14+ EventBridge Targets) without any code, with filtering, batching, input transformation, and an optional Enrichment stage (Lambda, StepFunctions, ApiGateway, ApiDestinations)"
40+
},
41+
{
42+
"type": "feature",
43+
"category": "Amazon GameLift",
44+
"contributor": "",
45+
"description": "GameLift introduces a new feature, GameLift Anywhere. GameLift Anywhere allows you to integrate your own compute resources with GameLift. You can also use GameLift Anywhere to iteratively test your game servers without uploading the build to GameLift for every iteration."
46+
},
47+
{
48+
"type": "feature",
49+
"category": "AWS SDK for Java v2",
50+
"contributor": "",
51+
"description": "Updated endpoint and partition metadata."
52+
}
53+
]
54+
}

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
# __2.18.29__ __2022-12-01__
2+
## __AWS SDK for Java v2__
3+
- ### Features
4+
- Added AsyncRequestBody.forBlockingOutputStream, allowing streaming operation requests to be written to like an output stream.
5+
- Updated endpoint and partition metadata.
6+
7+
- ### Bugfixes
8+
- This fixes an issue with the client option validation where the client builder is incorrectly validating that a value for the SIGNER option is present, even when it's not required (because the service does not use AWS auth).
9+
10+
This change only does the appropriate validations based on the authtypes present in the service model.
11+
12+
## __AWS Step Functions__
13+
- ### Features
14+
- This release adds support for the AWS Step Functions Map state in Distributed mode. The changes include a new MapRun resource and several new and modified APIs.
15+
16+
## __Amazon CodeCatalyst__
17+
- ### Features
18+
- This release adds operations that support customers using the AWS Toolkits and Amazon CodeCatalyst, a unified software development service that helps developers develop, deploy, and maintain applications in the cloud. For more information, see the documentation.
19+
20+
## __Amazon Comprehend__
21+
- ### Features
22+
- Comprehend now supports semi-structured documents (such as PDF files or image files) as inputs for custom analysis using the synchronous APIs (ClassifyDocument and DetectEntities).
23+
24+
## __Amazon EventBridge Pipes__
25+
- ### Features
26+
- AWS introduces new Amazon EventBridge Pipes which allow you to connect sources (SQS, Kinesis, DDB, Kafka, MQ) to Targets (14+ EventBridge Targets) without any code, with filtering, batching, input transformation, and an optional Enrichment stage (Lambda, StepFunctions, ApiGateway, ApiDestinations)
27+
28+
## __Amazon GameLift__
29+
- ### Features
30+
- GameLift introduces a new feature, GameLift Anywhere. GameLift Anywhere allows you to integrate your own compute resources with GameLift. You can also use GameLift Anywhere to iteratively test your game servers without uploading the build to GameLift for every iteration.
31+
132
# __2.18.28__ __2022-11-30__
233
## __AWS Data Exchange__
334
- ### 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.28</version>
55+
<version>2.18.29</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.28</version>
89+
<version>2.18.29</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>software.amazon.awssdk</groupId>
9393
<artifactId>s3</artifactId>
94-
<version>2.18.28</version>
94+
<version>2.18.29</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.28</version>
106+
<version>2.18.29</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.28</version>
23+
<version>2.18.29</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.28</version>
23+
<version>2.18.29</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.28</version>
23+
<version>2.18.29</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.28</version>
23+
<version>2.18.29</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetypes</artifactId>

aws-sdk-java/pom.xml

Lines changed: 11 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.18.28</version>
20+
<version>2.18.29</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>aws-sdk-java</artifactId>
@@ -1668,6 +1668,16 @@ Amazon AutoScaling, etc).</description>
16681668
<artifactId>sagemakergeospatial</artifactId>
16691669
<version>${awsjavasdk.version}</version>
16701670
</dependency>
1671+
<dependency>
1672+
<groupId>software.amazon.awssdk</groupId>
1673+
<artifactId>pipes</artifactId>
1674+
<version>${awsjavasdk.version}</version>
1675+
</dependency>
1676+
<dependency>
1677+
<groupId>software.amazon.awssdk</groupId>
1678+
<artifactId>codecatalyst</artifactId>
1679+
<version>${awsjavasdk.version}</version>
1680+
</dependency>
16711681
</dependencies>
16721682
<build>
16731683
<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.18.28</version>
23+
<version>2.18.29</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

bom/pom.xml

Lines changed: 11 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.18.28</version>
20+
<version>2.18.29</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>bom</artifactId>
@@ -1808,6 +1808,16 @@
18081808
<artifactId>sagemakergeospatial</artifactId>
18091809
<version>${awsjavasdk.version}</version>
18101810
</dependency>
1811+
<dependency>
1812+
<groupId>software.amazon.awssdk</groupId>
1813+
<artifactId>pipes</artifactId>
1814+
<version>${awsjavasdk.version}</version>
1815+
</dependency>
1816+
<dependency>
1817+
<groupId>software.amazon.awssdk</groupId>
1818+
<artifactId>codecatalyst</artifactId>
1819+
<version>${awsjavasdk.version}</version>
1820+
</dependency>
18111821
</dependencies>
18121822
</dependencyManagement>
18131823
</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.18.28</version>
24+
<version>2.18.29</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.28</version>
25+
<version>2.18.29</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.28</version>
24+
<version>2.18.29</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.28</version>
25+
<version>2.18.29</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.28</version>
24+
<version>2.18.29</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

codegen/src/main/java/software/amazon/awssdk/codegen/poet/builder/AsyncClientBuilderClass.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
import software.amazon.awssdk.codegen.poet.ClassSpec;
2828
import software.amazon.awssdk.codegen.poet.PoetUtils;
2929
import software.amazon.awssdk.codegen.poet.rules.EndpointRulesSpecUtils;
30-
import software.amazon.awssdk.codegen.utils.BearerAuthUtils;
30+
import software.amazon.awssdk.codegen.utils.AuthUtils;
31+
import software.amazon.awssdk.core.client.config.SdkClientConfiguration;
3132
import software.amazon.awssdk.core.client.config.SdkClientOption;
3233

3334
public class AsyncClientBuilderClass implements ClassSpec {
@@ -72,7 +73,7 @@ public TypeSpec poetSpec() {
7273
builder.addMethod(endpointProviderMethod());
7374
}
7475

75-
if (BearerAuthUtils.usesBearerAuth(model)) {
76+
if (AuthUtils.usesBearerAuth(model)) {
7677
builder.addMethod(bearerTokenProviderMethod());
7778
}
7879

@@ -120,7 +121,9 @@ private MethodSpec buildClientMethod() {
120121
.addAnnotation(Override.class)
121122
.addModifiers(Modifier.PROTECTED, Modifier.FINAL)
122123
.returns(clientInterfaceName)
123-
.addCode("return new $T(super.asyncClientConfiguration());", clientClassName)
124+
.addStatement("$T clientConfiguration = super.asyncClientConfiguration()", SdkClientConfiguration.class)
125+
.addStatement("this.validateClientOptions(clientConfiguration)")
126+
.addCode("return new $T(clientConfiguration);", clientClassName)
124127
.build();
125128
}
126129

0 commit comments

Comments
 (0)