Skip to content

Commit 57f73f2

Browse files
Merge pull request #1941 from aws/staging/9fd7d256-c1fd-492d-ad6f-9a5f2be0747a
Pull request: release <- staging/9fd7d256-c1fd-492d-ad6f-9a5f2be0747a
2 parents 94a0b74 + 5e3e85e commit 57f73f2

File tree

469 files changed

+10977
-640
lines changed

Some content is hidden

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

469 files changed

+10977
-640
lines changed

.changes/2.17.134.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"version": "2.17.134",
3+
"date": "2022-02-21",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "Amazon DynamoDB",
8+
"contributor": "",
9+
"description": "DynamoDB ExecuteStatement API now supports Limit as a request parameter to specify the maximum number of items to evaluate. If specified, the service will process up to the Limit and the results will include a LastEvaluatedKey value to continue the read in a subsequent operation."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "AWS SDK for Java v2",
14+
"contributor": "",
15+
"description": "Support adding http checksum for requests and validation of http checksum for responses based on HttpChecksum traits defined in the model."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "AWS SDK for Java v2",
20+
"contributor": "",
21+
"description": "Updated service endpoint metadata."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "Amazon Connect Customer Profiles",
26+
"contributor": "",
27+
"description": "This release introduces apis CreateIntegrationWorkflow, DeleteWorkflow, ListWorkflows, GetWorkflow and GetWorkflowSteps. These apis are used to manage and view integration workflows."
28+
},
29+
{
30+
"type": "feature",
31+
"category": "EC2 Image Builder",
32+
"contributor": "",
33+
"description": "This release adds support to enable faster launching for Windows AMIs created by EC2 Image Builder."
34+
}
35+
]
36+
}

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# __2.17.134__ __2022-02-21__
2+
## __AWS SDK for Java v2__
3+
- ### Features
4+
- Support adding http checksum for requests and validation of http checksum for responses based on HttpChecksum traits defined in the model.
5+
- Updated service endpoint metadata.
6+
7+
## __Amazon Connect Customer Profiles__
8+
- ### Features
9+
- This release introduces apis CreateIntegrationWorkflow, DeleteWorkflow, ListWorkflows, GetWorkflow and GetWorkflowSteps. These apis are used to manage and view integration workflows.
10+
11+
## __Amazon DynamoDB__
12+
- ### Features
13+
- DynamoDB ExecuteStatement API now supports Limit as a request parameter to specify the maximum number of items to evaluate. If specified, the service will process up to the Limit and the results will include a LastEvaluatedKey value to continue the read in a subsequent operation.
14+
15+
## __EC2 Image Builder__
16+
- ### Features
17+
- This release adds support to enable faster launching for Windows AMIs created by EC2 Image Builder.
18+
119
# __2.17.133__ __2022-02-18__
220
## __AWS Budgets__
321
- ### 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.133</version>
55+
<version>2.17.134</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.133</version>
89+
<version>2.17.134</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>software.amazon.awssdk</groupId>
9393
<artifactId>s3</artifactId>
94-
<version>2.17.133</version>
94+
<version>2.17.134</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.133</version>
106+
<version>2.17.134</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.133</version>
23+
<version>2.17.134</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.133</version>
23+
<version>2.17.134</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.133</version>
23+
<version>2.17.134</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.133</version>
23+
<version>2.17.134</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.133</version>
20+
<version>2.17.134</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.133</version>
23+
<version>2.17.134</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.133</version>
20+
<version>2.17.134</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.133</version>
24+
<version>2.17.134</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.133</version>
25+
<version>2.17.134</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.133</version>
24+
<version>2.17.134</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.133</version>
25+
<version>2.17.134</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.133</version>
24+
<version>2.17.134</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

codegen/src/main/java/software/amazon/awssdk/codegen/AddOperations.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ public Map<String, OperationModel> constructOperations() {
164164
operationModel.setEndpointDiscovery(op.getEndpointdiscovery());
165165
operationModel.setEndpointTrait(op.getEndpoint());
166166
operationModel.setHttpChecksumRequired(op.isHttpChecksumRequired());
167+
operationModel.setHttpChecksum(op.getHttpChecksum());
167168

168169
Input input = op.getInput();
169170
if (input != null) {
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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.codegen.checksum;
17+
18+
import java.util.List;
19+
import software.amazon.awssdk.annotations.SdkInternalApi;
20+
21+
/**
22+
* Class to map the HttpChecksum trait of an operation.
23+
*/
24+
@SdkInternalApi
25+
public class HttpChecksum {
26+
27+
private boolean requestChecksumRequired;
28+
29+
private String requestAlgorithmMember;
30+
31+
private String requestValidationModeMember;
32+
33+
private List<String> responseAlgorithms;
34+
35+
public boolean isRequestChecksumRequired() {
36+
return requestChecksumRequired;
37+
}
38+
39+
public void setRequestChecksumRequired(boolean requestChecksumRequired) {
40+
this.requestChecksumRequired = requestChecksumRequired;
41+
}
42+
43+
public String getRequestAlgorithmMember() {
44+
return requestAlgorithmMember;
45+
}
46+
47+
public void setRequestAlgorithmMember(String requestAlgorithmMember) {
48+
this.requestAlgorithmMember = requestAlgorithmMember;
49+
}
50+
51+
public String getRequestValidationModeMember() {
52+
return requestValidationModeMember;
53+
}
54+
55+
public void setRequestValidationModeMember(String requestValidationModeMember) {
56+
this.requestValidationModeMember = requestValidationModeMember;
57+
}
58+
59+
public List<String> getResponseAlgorithms() {
60+
return responseAlgorithms;
61+
}
62+
63+
public void setResponseAlgorithms(List<String> responseAlgorithms) {
64+
this.responseAlgorithms = responseAlgorithms;
65+
}
66+
}

codegen/src/main/java/software/amazon/awssdk/codegen/model/intermediate/OperationModel.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import com.fasterxml.jackson.annotation.JsonIgnore;
1919
import java.util.ArrayList;
2020
import java.util.List;
21+
import software.amazon.awssdk.codegen.checksum.HttpChecksum;
2122
import software.amazon.awssdk.codegen.docs.ClientType;
2223
import software.amazon.awssdk.codegen.docs.DocConfiguration;
2324
import software.amazon.awssdk.codegen.docs.OperationDocs;
@@ -66,6 +67,8 @@ public class OperationModel extends DocumentationModel {
6667

6768
private boolean httpChecksumRequired;
6869

70+
private HttpChecksum httpChecksum;
71+
6972
public String getOperationName() {
7073
return operationName;
7174
}
@@ -292,4 +295,12 @@ public boolean isHttpChecksumRequired() {
292295
public void setHttpChecksumRequired(boolean httpChecksumRequired) {
293296
this.httpChecksumRequired = httpChecksumRequired;
294297
}
298+
299+
public HttpChecksum getHttpChecksum() {
300+
return httpChecksum;
301+
}
302+
303+
public void setHttpChecksum(HttpChecksum httpChecksum) {
304+
this.httpChecksum = httpChecksum;
305+
}
295306
}

codegen/src/main/java/software/amazon/awssdk/codegen/model/service/Operation.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
package software.amazon.awssdk.codegen.model.service;
1717

1818
import java.util.List;
19+
import software.amazon.awssdk.codegen.checksum.HttpChecksum;
1920
import software.amazon.awssdk.codegen.model.intermediate.EndpointDiscovery;
2021

2122
public class Operation {
@@ -48,6 +49,8 @@ public class Operation {
4849

4950
private boolean httpChecksumRequired;
5051

52+
private HttpChecksum httpChecksum;
53+
5154
public String getName() {
5255
return name;
5356
}
@@ -174,4 +177,12 @@ public boolean isHttpChecksumRequired() {
174177
public void setHttpChecksumRequired(boolean httpChecksumRequired) {
175178
this.httpChecksumRequired = httpChecksumRequired;
176179
}
180+
181+
public HttpChecksum getHttpChecksum() {
182+
return httpChecksum;
183+
}
184+
185+
public void setHttpChecksum(HttpChecksum httpChecksum) {
186+
this.httpChecksum = httpChecksum;
187+
}
177188
}

codegen/src/main/java/software/amazon/awssdk/codegen/poet/client/specs/JsonProtocolSpec.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
import software.amazon.awssdk.codegen.model.intermediate.ShapeModel;
4141
import software.amazon.awssdk.codegen.poet.PoetExtensions;
4242
import software.amazon.awssdk.codegen.poet.client.traits.HttpChecksumRequiredTrait;
43+
import software.amazon.awssdk.codegen.poet.client.traits.HttpChecksumTrait;
4344
import software.amazon.awssdk.codegen.poet.eventstream.EventStreamUtils;
4445
import software.amazon.awssdk.codegen.poet.model.EventStreamSpecHelper;
4546
import software.amazon.awssdk.core.SdkPojoBuilder;
@@ -175,7 +176,8 @@ public CodeBlock executionHandler(OperationModel opModel) {
175176
.add(discoveredEndpoint(opModel))
176177
.add(".withInput($L)\n", opModel.getInput().getVariableName())
177178
.add(".withMetricCollector(apiCallMetricCollector)")
178-
.add(HttpChecksumRequiredTrait.putHttpChecksumAttribute(opModel));
179+
.add(HttpChecksumRequiredTrait.putHttpChecksumAttribute(opModel))
180+
.add(HttpChecksumTrait.create(opModel));
179181

180182
if (opModel.hasStreamingInput()) {
181183
codeBlock.add(".withRequestBody(requestBody)")
@@ -242,6 +244,7 @@ public CodeBlock asyncExecutionHandler(IntermediateModel intermediateModel, Oper
242244
.add(discoveredEndpoint(opModel))
243245
.add(asyncRequestBody)
244246
.add(HttpChecksumRequiredTrait.putHttpChecksumAttribute(opModel))
247+
.add(HttpChecksumTrait.create(opModel))
245248
.add(".withInput($L)$L);",
246249
opModel.getInput().getVariableName(), asyncResponseTransformerVariable(isStreaming, isRestJson, opModel));
247250

codegen/src/main/java/software/amazon/awssdk/codegen/poet/client/specs/QueryProtocolSpec.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import software.amazon.awssdk.codegen.model.intermediate.OperationModel;
3030
import software.amazon.awssdk.codegen.poet.PoetExtensions;
3131
import software.amazon.awssdk.codegen.poet.client.traits.HttpChecksumRequiredTrait;
32+
import software.amazon.awssdk.codegen.poet.client.traits.HttpChecksumTrait;
3233
import software.amazon.awssdk.core.async.AsyncResponseTransformer;
3334
import software.amazon.awssdk.core.client.handler.ClientExecutionParams;
3435
import software.amazon.awssdk.core.http.HttpResponseHandler;
@@ -111,7 +112,8 @@ public CodeBlock executionHandler(OperationModel opModel) {
111112
.add(discoveredEndpoint(opModel))
112113
.add(".withInput($L)", opModel.getInput().getVariableName())
113114
.add(".withMetricCollector(apiCallMetricCollector)")
114-
.add(HttpChecksumRequiredTrait.putHttpChecksumAttribute(opModel));
115+
.add(HttpChecksumRequiredTrait.putHttpChecksumAttribute(opModel))
116+
.add(HttpChecksumTrait.create(opModel));
115117

116118
if (opModel.hasStreamingInput()) {
117119
return codeBlock.add(".withRequestBody(requestBody)")
@@ -142,7 +144,8 @@ public CodeBlock asyncExecutionHandler(IntermediateModel intermediateModel, Oper
142144
.add(".withResponseHandler(responseHandler)\n")
143145
.add(".withErrorResponseHandler(errorResponseHandler)\n")
144146
.add(".withMetricCollector(apiCallMetricCollector)\n")
145-
.add(HttpChecksumRequiredTrait.putHttpChecksumAttribute(opModel));
147+
.add(HttpChecksumRequiredTrait.putHttpChecksumAttribute(opModel))
148+
.add(HttpChecksumTrait.create(opModel));
146149

147150
builder.add(hostPrefixExpression(opModel) + asyncRequestBody + ".withInput($L)$L);",
148151
opModel.getInput().getVariableName(),

0 commit comments

Comments
 (0)