Skip to content

Commit 572ebc5

Browse files
Merge pull request #3051 from aws/staging/0569759c-7f67-4b8f-b696-6eb32c329aa7
Pull request: release <- staging/0569759c-7f67-4b8f-b696-6eb32c329aa7
2 parents c43f7af + 6d5a493 commit 572ebc5

File tree

498 files changed

+1360
-10248
lines changed

Some content is hidden

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

498 files changed

+1360
-10248
lines changed

.changes/2.25.62.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"version": "2.25.62",
3+
"date": "2024-05-29",
4+
"entries": [
5+
{
6+
"type": "bugfix",
7+
"category": "Amazon S3",
8+
"contributor": "",
9+
"description": "Remove CopySourceInterceptor and add the updation of \"copySource\" parameter in CopyObject and UploadPartCopy API via preClientExecutionRequestCustomizer Customization before client execution."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "AWS CodeBuild",
14+
"contributor": "",
15+
"description": "AWS CodeBuild now supports manually creating GitHub webhooks"
16+
},
17+
{
18+
"type": "feature",
19+
"category": "AWS Glue",
20+
"contributor": "",
21+
"description": "Add optional field JobMode to CreateJob and UpdateJob APIs."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "AWS SecurityHub",
26+
"contributor": "",
27+
"description": "Add ROOT type for TargetType model"
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Amazon Athena",
32+
"contributor": "",
33+
"description": "Throwing validation errors on CreateNotebook with Name containing `/`,`:`,`\\`"
34+
},
35+
{
36+
"type": "feature",
37+
"category": "Amazon Connect Service",
38+
"contributor": "",
39+
"description": "This release includes changes to DescribeContact API's response by including ConnectedToSystemTimestamp, RoutingCriteria, Customer, Campaign, AnsweringMachineDetectionStatus, CustomerVoiceActivity, QualityMetrics, DisconnectDetails, and SegmentAttributes information from a contact in Amazon Connect."
40+
},
41+
{
42+
"type": "feature",
43+
"category": "AWS SDK for Java v2",
44+
"contributor": "",
45+
"description": "Updated endpoint and partition metadata."
46+
}
47+
]
48+
}

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,33 @@
11
#### 👋 _Looking for changelogs for older versions? You can find them in the [changelogs](./changelogs) directory._
2+
# __2.25.62__ __2024-05-29__
3+
## __AWS CodeBuild__
4+
- ### Features
5+
- AWS CodeBuild now supports manually creating GitHub webhooks
6+
7+
## __AWS Glue__
8+
- ### Features
9+
- Add optional field JobMode to CreateJob and UpdateJob APIs.
10+
11+
## __AWS SDK for Java v2__
12+
- ### Features
13+
- Updated endpoint and partition metadata.
14+
15+
## __AWS SecurityHub__
16+
- ### Features
17+
- Add ROOT type for TargetType model
18+
19+
## __Amazon Athena__
20+
- ### Features
21+
- Throwing validation errors on CreateNotebook with Name containing `/`,`:`,`\`
22+
23+
## __Amazon Connect Service__
24+
- ### Features
25+
- This release includes changes to DescribeContact API's response by including ConnectedToSystemTimestamp, RoutingCriteria, Customer, Campaign, AnsweringMachineDetectionStatus, CustomerVoiceActivity, QualityMetrics, DisconnectDetails, and SegmentAttributes information from a contact in Amazon Connect.
26+
27+
## __Amazon S3__
28+
- ### Bugfixes
29+
- Remove CopySourceInterceptor and add the updation of "copySource" parameter in CopyObject and UploadPartCopy API via preClientExecutionRequestCustomizer Customization before client execution.
30+
231
# __2.25.61__ __2024-05-28__
332
## __AWS SDK for Java v2__
433
- ### 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.25.61</version>
55+
<version>2.25.62</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.25.61</version>
89+
<version>2.25.62</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>software.amazon.awssdk</groupId>
9393
<artifactId>s3</artifactId>
94-
<version>2.25.61</version>
94+
<version>2.25.62</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.25.61</version>
106+
<version>2.25.62</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.25.61</version>
23+
<version>2.25.62</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.25.61</version>
23+
<version>2.25.62</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.25.61</version>
23+
<version>2.25.62</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.25.61</version>
23+
<version>2.25.62</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetypes</artifactId>

aws-sdk-java/pom.xml

Lines changed: 1 addition & 11 deletions
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.25.61</version>
20+
<version>2.25.62</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>aws-sdk-java</artifactId>
@@ -38,11 +38,6 @@ Amazon AutoScaling, etc).</description>
3838
<artifactId>acmpca</artifactId>
3939
<version>${awsjavasdk.version}</version>
4040
</dependency>
41-
<dependency>
42-
<groupId>software.amazon.awssdk</groupId>
43-
<artifactId>alexaforbusiness</artifactId>
44-
<version>${awsjavasdk.version}</version>
45-
</dependency>
4641
<dependency>
4742
<groupId>software.amazon.awssdk</groupId>
4843
<artifactId>amplify</artifactId>
@@ -1148,11 +1143,6 @@ Amazon AutoScaling, etc).</description>
11481143
<artifactId>codeartifact</artifactId>
11491144
<version>${awsjavasdk.version}</version>
11501145
</dependency>
1151-
<dependency>
1152-
<groupId>software.amazon.awssdk</groupId>
1153-
<artifactId>honeycode</artifactId>
1154-
<version>${awsjavasdk.version}</version>
1155-
</dependency>
11561146
<dependency>
11571147
<groupId>software.amazon.awssdk</groupId>
11581148
<artifactId>ivs</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.25.61</version>
23+
<version>2.25.62</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

bom/pom.xml

Lines changed: 1 addition & 11 deletions
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.25.61</version>
20+
<version>2.25.62</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>bom</artifactId>
@@ -238,11 +238,6 @@
238238
<artifactId>acmpca</artifactId>
239239
<version>${awsjavasdk.version}</version>
240240
</dependency>
241-
<dependency>
242-
<groupId>software.amazon.awssdk</groupId>
243-
<artifactId>alexaforbusiness</artifactId>
244-
<version>${awsjavasdk.version}</version>
245-
</dependency>
246241
<dependency>
247242
<groupId>software.amazon.awssdk</groupId>
248243
<artifactId>amplify</artifactId>
@@ -1328,11 +1323,6 @@
13281323
<artifactId>codeartifact</artifactId>
13291324
<version>${awsjavasdk.version}</version>
13301325
</dependency>
1331-
<dependency>
1332-
<groupId>software.amazon.awssdk</groupId>
1333-
<artifactId>honeycode</artifactId>
1334-
<version>${awsjavasdk.version}</version>
1335-
</dependency>
13361326
<dependency>
13371327
<groupId>software.amazon.awssdk</groupId>
13381328
<artifactId>ivs</artifactId>

bundle-logging-bridge/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.25.61</version>
24+
<version>2.25.62</version>
2525
</parent>
2626
<artifactId>bundle-logging-bridge</artifactId>
2727
<packaging>jar</packaging>

bundle-sdk/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.25.61</version>
24+
<version>2.25.62</version>
2525
</parent>
2626
<artifactId>bundle-sdk</artifactId>
2727
<packaging>jar</packaging>

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.25.61</version>
24+
<version>2.25.62</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.25.61</version>
25+
<version>2.25.62</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.25.61</version>
24+
<version>2.25.62</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.25.61</version>
25+
<version>2.25.62</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.25.61</version>
24+
<version>2.25.62</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

codegen/src/main/java/software/amazon/awssdk/codegen/model/config/customization/CustomizationConfig.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import software.amazon.awssdk.codegen.model.rules.endpoints.ParameterModel;
2424
import software.amazon.awssdk.codegen.model.service.ClientContextParam;
2525
import software.amazon.awssdk.codegen.model.service.CustomOperationContextParam;
26+
import software.amazon.awssdk.codegen.model.service.PreClientExecutionRequestCustomizer;
2627
import software.amazon.awssdk.core.retry.RetryMode;
2728
import software.amazon.awssdk.core.traits.PayloadTrait;
2829
import software.amazon.awssdk.utils.AttributeMap;
@@ -328,6 +329,14 @@ public class CustomizationConfig {
328329

329330
private List<CustomOperationContextParam> customOperationContextParams;
330331

332+
/**
333+
* A map that associates API names with their respective custom request transformers.
334+
* The {@link PreClientExecutionRequestCustomizer} allows for dynamic and specific handling of API requests,
335+
* ensuring that each request that requires custom handling can be appropriately transformed based on its corresponding
336+
* API name.
337+
*/
338+
private Map<String, PreClientExecutionRequestCustomizer> preClientExecutionRequestCustomizer;
339+
331340
private CustomizationConfig() {
332341
}
333342

@@ -869,4 +878,14 @@ public List<CustomOperationContextParam> getCustomOperationContextParams() {
869878
public void setCustomOperationContextParams(List<CustomOperationContextParam> customOperationContextParams) {
870879
this.customOperationContextParams = customOperationContextParams;
871880
}
881+
882+
public Map<String, PreClientExecutionRequestCustomizer> getPreClientExecutionRequestCustomizer() {
883+
return preClientExecutionRequestCustomizer;
884+
}
885+
886+
public void setPreClientExecutionRequestCustomizer(Map<String, PreClientExecutionRequestCustomizer>
887+
preClientExecutionRequestCustomizer) {
888+
this.preClientExecutionRequestCustomizer = preClientExecutionRequestCustomizer;
889+
}
890+
872891
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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.model.service;
17+
18+
/**
19+
* Represents a custom request transformer for API requests.
20+
*
21+
* <p>This class allows for dynamic and specific transformation of API requests,
22+
* ensuring that each request is appropriately transformed based on the
23+
* transformation logic defined in the specified {@link PreClientExecutionRequestCustomizer#getClassName()} and
24+
* {@link PreClientExecutionRequestCustomizer#getMethodName()}.
25+
*
26+
* <p>Example:
27+
* <pre>
28+
* {
29+
* "methodName": "dummyRequestModifier",
30+
* "className": "software.amazon.awssdk.codegen.internal.UtilsTest"
31+
* }
32+
* </pre>
33+
*
34+
* <p>The class should have a public static method dummyRequestModifier
35+
* that takes an input and returns an output of ApiRequest for which Customization is applied.
36+
*/
37+
38+
public class PreClientExecutionRequestCustomizer {
39+
40+
/**
41+
* The fully qualified name of the class that defines the transformation method. The {@code methodName} is the
42+
*/
43+
private String className;
44+
45+
/**
46+
* The name of the method within that class which will perform the transformation
47+
*/
48+
private String methodName;
49+
50+
public String getClassName() {
51+
return className;
52+
}
53+
54+
public void setClassName(String className) {
55+
this.className = className;
56+
}
57+
58+
public String getMethodName() {
59+
return methodName;
60+
}
61+
62+
public void setMethodName(String methodName) {
63+
this.methodName = methodName;
64+
}
65+
}

0 commit comments

Comments
 (0)