Skip to content

Commit 3cfde65

Browse files
Merge pull request #3242 from aws/staging/bd8b440f-4bfb-433e-878c-1b7aaa22f395
Pull request: release <- staging/bd8b440f-4bfb-433e-878c-1b7aaa22f395
2 parents 9d0e6a6 + 4d91aa6 commit 3cfde65

File tree

501 files changed

+21872
-16141
lines changed

Some content is hidden

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

501 files changed

+21872
-16141
lines changed

.changes/2.27.24.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"version": "2.27.24",
3+
"date": "2024-09-11",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "AWS Elemental MediaLive",
8+
"contributor": "",
9+
"description": "Adds AV1 Codec support, SRT ouputs, and MediaLive Anywhere support."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "Agents for Amazon Bedrock",
14+
"contributor": "",
15+
"description": "Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "Agents for Amazon Bedrock Runtime",
20+
"contributor": "",
21+
"description": "Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "Amazon Elastic Container Registry",
26+
"contributor": "",
27+
"description": "Added KMS_DSSE to EncryptionType"
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Amazon GuardDuty",
32+
"contributor": "",
33+
"description": "Add support for new statistic types in GetFindingsStatistics."
34+
},
35+
{
36+
"type": "feature",
37+
"category": "Amazon Lex Model Building V2",
38+
"contributor": "",
39+
"description": "Support new Polly voice engines in VoiceSettings: long-form and generative"
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.27.24__ __2024-09-11__
3+
## __AWS Elemental MediaLive__
4+
- ### Features
5+
- Adds AV1 Codec support, SRT ouputs, and MediaLive Anywhere support.
6+
7+
## __AWS SDK for Java v2__
8+
- ### Features
9+
- Updated endpoint and partition metadata.
10+
11+
## __Agents for Amazon Bedrock__
12+
- ### Features
13+
- Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience.
14+
15+
## __Agents for Amazon Bedrock Runtime__
16+
- ### Features
17+
- Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience.
18+
19+
## __Amazon Elastic Container Registry__
20+
- ### Features
21+
- Added KMS_DSSE to EncryptionType
22+
23+
## __Amazon GuardDuty__
24+
- ### Features
25+
- Add support for new statistic types in GetFindingsStatistics.
26+
27+
## __Amazon Lex Model Building V2__
28+
- ### Features
29+
- Support new Polly voice engines in VoiceSettings: long-form and generative
30+
231
# __2.27.23__ __2024-09-10__
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.27.23</version>
55+
<version>2.27.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.27.23</version>
89+
<version>2.27.24</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>software.amazon.awssdk</groupId>
9393
<artifactId>s3</artifactId>
94-
<version>2.27.23</version>
94+
<version>2.27.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.27.23</version>
106+
<version>2.27.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.27.23</version>
23+
<version>2.27.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.27.23</version>
23+
<version>2.27.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.27.23</version>
23+
<version>2.27.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.27.23</version>
23+
<version>2.27.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.27.23</version>
20+
<version>2.27.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.27.23</version>
23+
<version>2.27.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.27.23</version>
20+
<version>2.27.24</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>bom</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.27.23</version>
24+
<version>2.27.24</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.27.23</version>
24+
<version>2.27.24</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.27.23</version>
24+
<version>2.27.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.27.23</version>
25+
<version>2.27.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.27.23</version>
24+
<version>2.27.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.27.23</version>
25+
<version>2.27.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.27.23</version>
24+
<version>2.27.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/builder/BaseClientBuilderClass.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,11 @@ private MethodSpec finalizeServiceConfigurationMethod() {
406406
builder.addStatement("builder.option($1T.EXECUTION_INTERCEPTORS, interceptors)", SdkClientOption.class);
407407

408408
if (model.getCustomizationConfig().getServiceConfig().hasDualstackProperty()) {
409-
builder.addStatement("builder.option($T.DUALSTACK_ENDPOINT_ENABLED, finalServiceConfig.dualstackEnabled())",
409+
// NOTE: usage of serviceConfigBuilder and not finalServiceConfig is intentional. We need the nullable boolean here
410+
// to ensure fallback resolution of the dualstack configuration if dualstack was not explicitly configured on
411+
// serviceConfigBuilder; the service configuration classes (e.g. S3Configuration) return primitive booleans that
412+
// have a default when not present.
413+
builder.addStatement("builder.option($T.DUALSTACK_ENDPOINT_ENABLED, serviceConfigBuilder.dualstackEnabled())",
410414
AwsClientOption.class);
411415
}
412416

codegen/src/test/resources/software/amazon/awssdk/codegen/poet/builder/sra/test-client-builder-class.java

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ protected final String serviceName() {
6464
@Override
6565
protected final SdkClientConfiguration mergeServiceDefaults(SdkClientConfiguration config) {
6666
return config.merge(c -> c
67-
.option(SdkClientOption.ENDPOINT_PROVIDER, defaultEndpointProvider())
68-
.option(SdkClientOption.AUTH_SCHEME_PROVIDER, defaultAuthSchemeProvider())
69-
.option(SdkClientOption.AUTH_SCHEMES, authSchemes())
70-
.option(SdkClientOption.CRC32_FROM_COMPRESSED_DATA_ENABLED, false)
71-
.option(SdkClientOption.SERVICE_CONFIGURATION, ServiceConfiguration.builder().build())
72-
.lazyOption(AwsClientOption.TOKEN_PROVIDER,
67+
.option(SdkClientOption.ENDPOINT_PROVIDER, defaultEndpointProvider())
68+
.option(SdkClientOption.AUTH_SCHEME_PROVIDER, defaultAuthSchemeProvider())
69+
.option(SdkClientOption.AUTH_SCHEMES, authSchemes())
70+
.option(SdkClientOption.CRC32_FROM_COMPRESSED_DATA_ENABLED, false)
71+
.option(SdkClientOption.SERVICE_CONFIGURATION, ServiceConfiguration.builder().build())
72+
.lazyOption(AwsClientOption.TOKEN_PROVIDER,
7373
p -> TokenUtils.toSdkTokenProvider(p.get(AwsClientOption.TOKEN_IDENTITY_PROVIDER)))
74-
.option(AwsClientOption.TOKEN_IDENTITY_PROVIDER, defaultTokenProvider()));
74+
.option(AwsClientOption.TOKEN_IDENTITY_PROVIDER, defaultTokenProvider()));
7575
}
7676

7777
@Override
@@ -82,64 +82,64 @@ protected final SdkClientConfiguration finalizeServiceConfiguration(SdkClientCon
8282
endpointInterceptors.add(new JsonRequestSetEndpointInterceptor());
8383
ClasspathInterceptorChainFactory interceptorFactory = new ClasspathInterceptorChainFactory();
8484
List<ExecutionInterceptor> interceptors = interceptorFactory
85-
.getInterceptors("software/amazon/awssdk/services/json/execution.interceptors");
85+
.getInterceptors("software/amazon/awssdk/services/json/execution.interceptors");
8686
List<ExecutionInterceptor> additionalInterceptors = new ArrayList<>();
8787
interceptors = CollectionUtils.mergeLists(endpointInterceptors, interceptors);
8888
interceptors = CollectionUtils.mergeLists(interceptors, additionalInterceptors);
8989
interceptors = CollectionUtils.mergeLists(interceptors, config.option(SdkClientOption.EXECUTION_INTERCEPTORS));
9090
ServiceConfiguration.Builder serviceConfigBuilder = ((ServiceConfiguration) config
91-
.option(SdkClientOption.SERVICE_CONFIGURATION)).toBuilder();
91+
.option(SdkClientOption.SERVICE_CONFIGURATION)).toBuilder();
9292
serviceConfigBuilder.profileFile(serviceConfigBuilder.profileFileSupplier() != null ? serviceConfigBuilder
93-
.profileFileSupplier() : config.option(SdkClientOption.PROFILE_FILE_SUPPLIER));
93+
.profileFileSupplier() : config.option(SdkClientOption.PROFILE_FILE_SUPPLIER));
9494
serviceConfigBuilder.profileName(serviceConfigBuilder.profileName() != null ? serviceConfigBuilder.profileName() : config
95-
.option(SdkClientOption.PROFILE_NAME));
95+
.option(SdkClientOption.PROFILE_NAME));
9696
if (serviceConfigBuilder.dualstackEnabled() != null) {
9797
Validate.validState(
98-
config.option(AwsClientOption.DUALSTACK_ENDPOINT_ENABLED) == null,
99-
"Dualstack has been configured on both ServiceConfiguration and the client/global level. Please limit dualstack configuration to one location.");
98+
config.option(AwsClientOption.DUALSTACK_ENDPOINT_ENABLED) == null,
99+
"Dualstack has been configured on both ServiceConfiguration and the client/global level. Please limit dualstack configuration to one location.");
100100
} else {
101101
serviceConfigBuilder.dualstackEnabled(config.option(AwsClientOption.DUALSTACK_ENDPOINT_ENABLED));
102102
}
103103
if (serviceConfigBuilder.fipsModeEnabled() != null) {
104104
Validate.validState(
105-
config.option(AwsClientOption.FIPS_ENDPOINT_ENABLED) == null,
106-
"Fips has been configured on both ServiceConfiguration and the client/global level. Please limit fips configuration to one location.");
105+
config.option(AwsClientOption.FIPS_ENDPOINT_ENABLED) == null,
106+
"Fips has been configured on both ServiceConfiguration and the client/global level. Please limit fips configuration to one location.");
107107
} else {
108108
serviceConfigBuilder.fipsModeEnabled(config.option(AwsClientOption.FIPS_ENDPOINT_ENABLED));
109109
}
110110
if (serviceConfigBuilder.useArnRegionEnabled() != null) {
111111
Validate.validState(
112-
clientContextParams.get(JsonClientContextParams.USE_ARN_REGION) == null,
113-
"UseArnRegion has been configured on both ServiceConfiguration and the client/global level. Please limit UseArnRegion configuration to one location.");
112+
clientContextParams.get(JsonClientContextParams.USE_ARN_REGION) == null,
113+
"UseArnRegion has been configured on both ServiceConfiguration and the client/global level. Please limit UseArnRegion configuration to one location.");
114114
} else {
115115
serviceConfigBuilder.useArnRegionEnabled(clientContextParams.get(JsonClientContextParams.USE_ARN_REGION));
116116
}
117117
if (serviceConfigBuilder.multiRegionEnabled() != null) {
118118
Validate.validState(
119-
clientContextParams.get(JsonClientContextParams.DISABLE_MULTI_REGION_ACCESS_POINTS) == null,
120-
"DisableMultiRegionAccessPoints has been configured on both ServiceConfiguration and the client/global level. Please limit DisableMultiRegionAccessPoints configuration to one location.");
119+
clientContextParams.get(JsonClientContextParams.DISABLE_MULTI_REGION_ACCESS_POINTS) == null,
120+
"DisableMultiRegionAccessPoints has been configured on both ServiceConfiguration and the client/global level. Please limit DisableMultiRegionAccessPoints configuration to one location.");
121121
} else if (clientContextParams.get(JsonClientContextParams.DISABLE_MULTI_REGION_ACCESS_POINTS) != null) {
122122
serviceConfigBuilder.multiRegionEnabled(!clientContextParams
123-
.get(JsonClientContextParams.DISABLE_MULTI_REGION_ACCESS_POINTS));
123+
.get(JsonClientContextParams.DISABLE_MULTI_REGION_ACCESS_POINTS));
124124
}
125125
if (serviceConfigBuilder.pathStyleAccessEnabled() != null) {
126126
Validate.validState(
127-
clientContextParams.get(JsonClientContextParams.FORCE_PATH_STYLE) == null,
128-
"ForcePathStyle has been configured on both ServiceConfiguration and the client/global level. Please limit ForcePathStyle configuration to one location.");
127+
clientContextParams.get(JsonClientContextParams.FORCE_PATH_STYLE) == null,
128+
"ForcePathStyle has been configured on both ServiceConfiguration and the client/global level. Please limit ForcePathStyle configuration to one location.");
129129
} else {
130130
serviceConfigBuilder.pathStyleAccessEnabled(clientContextParams.get(JsonClientContextParams.FORCE_PATH_STYLE));
131131
}
132132
if (serviceConfigBuilder.accelerateModeEnabled() != null) {
133133
Validate.validState(
134-
clientContextParams.get(JsonClientContextParams.ACCELERATE) == null,
135-
"Accelerate has been configured on both ServiceConfiguration and the client/global level. Please limit Accelerate configuration to one location.");
134+
clientContextParams.get(JsonClientContextParams.ACCELERATE) == null,
135+
"Accelerate has been configured on both ServiceConfiguration and the client/global level. Please limit Accelerate configuration to one location.");
136136
} else {
137137
serviceConfigBuilder.accelerateModeEnabled(clientContextParams.get(JsonClientContextParams.ACCELERATE));
138138
}
139139
ServiceConfiguration finalServiceConfig = serviceConfigBuilder.build();
140140
clientContextParams.put(JsonClientContextParams.USE_ARN_REGION, finalServiceConfig.useArnRegionEnabled());
141141
clientContextParams.put(JsonClientContextParams.DISABLE_MULTI_REGION_ACCESS_POINTS,
142-
!finalServiceConfig.multiRegionEnabled());
142+
!finalServiceConfig.multiRegionEnabled());
143143
clientContextParams.put(JsonClientContextParams.FORCE_PATH_STYLE, finalServiceConfig.pathStyleAccessEnabled());
144144
clientContextParams.put(JsonClientContextParams.ACCELERATE, finalServiceConfig.accelerateModeEnabled());
145145
SdkClientConfiguration.Builder builder = config.toBuilder();
@@ -156,7 +156,7 @@ protected final SdkClientConfiguration finalizeServiceConfiguration(SdkClientCon
156156
return result.build();
157157
});
158158
builder.option(SdkClientOption.EXECUTION_INTERCEPTORS, interceptors);
159-
builder.option(AwsClientOption.DUALSTACK_ENDPOINT_ENABLED, finalServiceConfig.dualstackEnabled());
159+
builder.option(AwsClientOption.DUALSTACK_ENDPOINT_ENABLED, serviceConfigBuilder.dualstackEnabled());
160160
builder.option(AwsClientOption.FIPS_ENDPOINT_ENABLED, finalServiceConfig.fipsModeEnabled());
161161
builder.option(SdkClientOption.RETRY_STRATEGY, MyServiceRetryStrategy.resolveRetryStrategy(config));
162162
if (builder.option(SdkClientOption.RETRY_STRATEGY) == null) {
@@ -270,6 +270,6 @@ private List<SdkPlugin> internalPlugins(SdkClientConfiguration config) {
270270

271271
protected static void validateClientOptions(SdkClientConfiguration c) {
272272
Validate.notNull(c.option(AwsClientOption.TOKEN_IDENTITY_PROVIDER),
273-
"The 'tokenProvider' must be configured in the client builder.");
273+
"The 'tokenProvider' must be configured in the client builder.");
274274
}
275275
}

0 commit comments

Comments
 (0)