Skip to content

Commit bab396e

Browse files
Merge pull request #2738 from aws/staging/e2a848fe-01d7-4733-b016-3a8b1af726c5
Pull request: release <- staging/e2a848fe-01d7-4733-b016-3a8b1af726c5
2 parents 79e2479 + bef62a2 commit bab396e

File tree

455 files changed

+1126
-598
lines changed

Some content is hidden

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

455 files changed

+1126
-598
lines changed

.changes/2.21.14.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"version": "2.21.14",
3+
"date": "2023-11-02",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "AWS App Runner",
8+
"contributor": "",
9+
"description": "AWS App Runner now supports using dual-stack address type for the public endpoint of your incoming traffic."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "AWS Glue",
14+
"contributor": "",
15+
"description": "This release introduces Google BigQuery Source and Target in AWS Glue CodeGenConfigurationNode."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "AWS Network Firewall",
20+
"contributor": "",
21+
"description": "This release introduces the stateless rule analyzer, which enables you to analyze your stateless rules for asymmetric routing."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "AWS SDK for Java v2",
26+
"contributor": "",
27+
"description": "Makes SignedRequest and AsyncSignedRequest implement CopyableBuilder to allow modifications"
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Amazon Connect Service",
32+
"contributor": "",
33+
"description": "GetMetricDataV2 API: Update to include new metrics PERCENT_NON_TALK_TIME, PERCENT_TALK_TIME, PERCENT_TALK_TIME_AGENT, PERCENT_TALK_TIME_CUSTOMER"
34+
},
35+
{
36+
"type": "feature",
37+
"category": "Amazon GameLift",
38+
"contributor": "",
39+
"description": "Amazon GameLift adds support for shared credentials, which allows applications that are deployed on managed EC2 fleets to interact with other AWS resources."
40+
},
41+
{
42+
"type": "feature",
43+
"category": "Amazon QuickSight",
44+
"contributor": "",
45+
"description": "Got confirmed from qmeixua@ about custom week features, and tested locally with aws cli and java sdk that the subtypes are showing up."
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: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
# __2.21.14__ __2023-11-02__
2+
## __AWS App Runner__
3+
- ### Features
4+
- AWS App Runner now supports using dual-stack address type for the public endpoint of your incoming traffic.
5+
6+
## __AWS Glue__
7+
- ### Features
8+
- This release introduces Google BigQuery Source and Target in AWS Glue CodeGenConfigurationNode.
9+
10+
## __AWS Network Firewall__
11+
- ### Features
12+
- This release introduces the stateless rule analyzer, which enables you to analyze your stateless rules for asymmetric routing.
13+
14+
## __AWS SDK for Java v2__
15+
- ### Features
16+
- Makes SignedRequest and AsyncSignedRequest implement CopyableBuilder to allow modifications
17+
- Updated endpoint and partition metadata.
18+
19+
## __Amazon Connect Service__
20+
- ### Features
21+
- GetMetricDataV2 API: Update to include new metrics PERCENT_NON_TALK_TIME, PERCENT_TALK_TIME, PERCENT_TALK_TIME_AGENT, PERCENT_TALK_TIME_CUSTOMER
22+
23+
## __Amazon GameLift__
24+
- ### Features
25+
- Amazon GameLift adds support for shared credentials, which allows applications that are deployed on managed EC2 fleets to interact with other AWS resources.
26+
27+
## __Amazon QuickSight__
28+
- ### Features
29+
- Got confirmed from qmeixua@ about custom week features, and tested locally with aws cli and java sdk that the subtypes are showing up.
30+
131
# __2.21.13__ __2023-11-01__
232
## __AWS Global Accelerator__
333
- ### Features
@@ -1071,7 +1101,7 @@ Special thanks to the following contributors to this release:
10711101
## __Contributors__
10721102
Special thanks to the following contributors to this release:
10731103

1074-
[@psnilesh](https://github.com/psnilesh), [@faucct](https://github.com/faucct)
1104+
[@faucct](https://github.com/faucct), [@psnilesh](https://github.com/psnilesh)
10751105
# __2.20.146__ __2023-09-12__
10761106
## __AWS CRT-based S3 Client__
10771107
- ### Bugfixes
@@ -2812,7 +2842,7 @@ Special thanks to the following contributors to this release:
28122842
## __Contributors__
28132843
Special thanks to the following contributors to this release:
28142844

2815-
[@bmaizels](https://github.com/bmaizels), [@breader124](https://github.com/breader124)
2845+
[@breader124](https://github.com/breader124), [@bmaizels](https://github.com/bmaizels)
28162846
# __2.20.85__ __2023-06-13__
28172847
## __AWS CloudTrail__
28182848
- ### 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.21.13</version>
55+
<version>2.21.14</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.21.13</version>
89+
<version>2.21.14</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>software.amazon.awssdk</groupId>
9393
<artifactId>s3</artifactId>
94-
<version>2.21.13</version>
94+
<version>2.21.14</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.21.13</version>
106+
<version>2.21.14</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.21.13</version>
23+
<version>2.21.14</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.21.13</version>
23+
<version>2.21.14</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.21.13</version>
23+
<version>2.21.14</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.21.13</version>
23+
<version>2.21.14</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.21.13</version>
20+
<version>2.21.14</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.21.13</version>
23+
<version>2.21.14</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.21.13</version>
20+
<version>2.21.14</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>bom</artifactId>

build-tools/src/main/java/software/amazon/awssdk/buildtools/findbugs/ToBuilderIsCorrect.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,8 @@ private void validateBuilderViaMethods(String buildableClassName, JavaClass buil
430430
if (builders.containsKey(concreteClass)) {
431431
// We're invoking these methods on a known builder. Assume the method name matches the field name and validate
432432
// based on that.
433-
Set<String> builderFieldsForBuilder = new HashSet<>(builderFields.get(concreteClass));
433+
List<String> concreteClassBuilderFields = builderFields.getOrDefault(concreteClass, new ArrayList<>());
434+
Set<String> builderFieldsForBuilder = new HashSet<>(concreteClassBuilderFields);
434435
invokedMethods.forEach(builderFieldsForBuilder::remove);
435436
ignoredFields.getOrDefault(buildableClassName, emptyList()).forEach(builderFieldsForBuilder::remove);
436437

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

codegen/src/main/java/software/amazon/awssdk/codegen/emitters/tasks/EndpointProviderTasks.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,12 @@ private boolean shouldGenerateEndpointTests() {
118118
}
119119

120120
private boolean shouldGenerateClientEndpointTests() {
121-
CustomizationConfig customizationConfig = generatorTaskParams.getModel().getCustomizationConfig();
122-
boolean noTestCasesHaveOperationInputs = model.getEndpointTestSuiteModel().getTestCases().stream()
123-
.noneMatch(t -> t.getOperationInputs() != null);
124-
return noTestCasesHaveOperationInputs && Boolean.TRUE.equals(customizationConfig.isGenerateEndpointClientTests());
121+
boolean generateEndpointClientTests = generatorTaskParams.getModel()
122+
.getCustomizationConfig()
123+
.isGenerateEndpointClientTests();
124+
boolean someTestCasesHaveOperationInputs = model.getEndpointTestSuiteModel().getTestCases().stream()
125+
.anyMatch(t -> t.getOperationInputs() != null);
126+
return generateEndpointClientTests || someTestCasesHaveOperationInputs;
125127
}
126128

127129
private boolean hasClientContextParams() {

codegen/src/main/java/software/amazon/awssdk/codegen/poet/rules/EndpointRulesClientTestSpec.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public TypeSpec poetSpec() {
111111
b.addField(s3RegionEndpointSystemPropertySaveValueField());
112112
}
113113

114-
if (serviceHasNoMatchingTestCases()) {
114+
if (!shouldGenerateClientEndpointTests()) {
115115
return b.build();
116116
}
117117

@@ -663,10 +663,10 @@ private Map<String, String> getSkippedTests() {
663663
return skippedTests;
664664
}
665665

666-
private boolean serviceHasNoMatchingTestCases() {
667-
boolean noTestCasesHaveOperationInputs = model.getEndpointTestSuiteModel().getTestCases().stream()
668-
.noneMatch(EndpointRulesClientTestSpec::testCaseHasOperationInputs);
669-
return noTestCasesHaveOperationInputs && !shouldGenerateClientTestsOverride();
666+
private boolean shouldGenerateClientEndpointTests() {
667+
boolean someTestCasesHaveOperationInputs = model.getEndpointTestSuiteModel().getTestCases().stream()
668+
.anyMatch(t -> t.getOperationInputs() != null);
669+
return shouldGenerateClientTestsOverride() || someTestCasesHaveOperationInputs;
670670
}
671671

672672
/**

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import java.util.Collections;
33
import java.util.HashSet;
44
import java.util.List;
55
import java.util.Set;
6-
import software.amazon.awssdk.annotations.SdkProtectedApi;
6+
import software.amazon.awssdk.annotations.SdkInternalApi;
77
import software.amazon.awssdk.awscore.endpoints.authscheme.EndpointAuthScheme;
88
import software.amazon.awssdk.awscore.endpoints.authscheme.SigV4AuthScheme;
99
import software.amazon.awssdk.awscore.endpoints.authscheme.SigV4aAuthScheme;
@@ -15,9 +15,7 @@ import software.amazon.awssdk.http.auth.spi.scheme.AuthSchemeOption;
1515
import software.amazon.awssdk.identity.spi.Identity;
1616
import software.amazon.awssdk.utils.Logger;
1717

18-
// TODO(sra-identity-auth): seems like this can be SdkInternalApi, similar to other .resource files in this folder,
19-
// since they are generated in each service module
20-
@SdkProtectedApi
18+
@SdkInternalApi
2119
public final class AuthSchemeUtils {
2220
private static final Logger LOG = Logger.loggerFor(AuthSchemeUtils.class);
2321

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

2828
<artifactId>aws-core</artifactId>

core/checksums-spi/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.21.13</version>
25+
<version>2.21.14</version>
2626
</parent>
2727

2828
<artifactId>checksums-spi</artifactId>

core/checksums/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.21.13</version>
25+
<version>2.21.14</version>
2626
</parent>
2727

2828
<artifactId>checksums</artifactId>

core/crt-core/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>core</artifactId>
24-
<version>2.21.13</version>
24+
<version>2.21.14</version>
2525
</parent>
2626

2727
<artifactId>crt-core</artifactId>

0 commit comments

Comments
 (0)