Skip to content

Commit defcd0d

Browse files
Merge pull request #2993 from aws/staging/cb91ab5c-fb9f-4124-80e7-ed07b8ad058a
Pull request: release <- staging/cb91ab5c-fb9f-4124-80e7-ed07b8ad058a
2 parents bb6c1a4 + a12b44b commit defcd0d

File tree

556 files changed

+5228
-1343
lines changed

Some content is hidden

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

556 files changed

+5228
-1343
lines changed

.changes/2.25.37.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"version": "2.25.37",
3+
"date": "2024-04-23",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "AWS Cost Explorer Service",
8+
"contributor": "",
9+
"description": "Added additional metadata that might be applicable to your reservation recommendations."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "AWS Performance Insights",
14+
"contributor": "",
15+
"description": "Clarifies how aggregation works for GetResourceMetrics in the Performance Insights API."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "AWS SDK for Java V2",
20+
"contributor": "",
21+
"description": "Source account Id from credentials to use in endpoint construction"
22+
},
23+
{
24+
"type": "feature",
25+
"category": "Agents for Amazon Bedrock",
26+
"contributor": "",
27+
"description": "Introducing the ability to create multiple data sources per knowledge base, specify S3 buckets as data sources from external accounts, and exposing levers to define the deletion behavior of the underlying vector store data."
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Agents for Amazon Bedrock Runtime",
32+
"contributor": "",
33+
"description": "This release introduces zero-setup file upload support for the RetrieveAndGenerate API. This allows you to chat with your data without setting up a Knowledge Base."
34+
},
35+
{
36+
"type": "feature",
37+
"category": "Amazon Bedrock",
38+
"contributor": "",
39+
"description": "This release introduces Model Evaluation and Guardrails for Amazon Bedrock."
40+
},
41+
{
42+
"type": "feature",
43+
"category": "Amazon Bedrock Runtime",
44+
"contributor": "",
45+
"description": "This release introduces Guardrails for Amazon Bedrock."
46+
},
47+
{
48+
"type": "feature",
49+
"category": "Amazon Elastic Compute Cloud",
50+
"contributor": "",
51+
"description": "This release introduces EC2 AMI Deregistration Protection, a new AMI property that can be enabled by customers to protect an AMI against an unintended deregistration. This release also enables the AMI owners to view the AMI 'LastLaunchedTime' in DescribeImages API."
52+
},
53+
{
54+
"type": "feature",
55+
"category": "Amazon Relational Database Service",
56+
"contributor": "",
57+
"description": "Fix the example ARN for ModifyActivityStreamRequest"
58+
},
59+
{
60+
"type": "feature",
61+
"category": "Amazon WorkSpaces Web",
62+
"contributor": "",
63+
"description": "Added InstanceType and MaxConcurrentSessions parameters on CreatePortal and UpdatePortal Operations as well as the ability to read Customer Managed Key & Additional Encryption Context parameters on supported resources (Portal, BrowserSettings, UserSettings, IPAccessSettings)"
64+
},
65+
{
66+
"type": "feature",
67+
"category": "AWS SDK for Java v2",
68+
"contributor": "",
69+
"description": "Updated endpoint and partition metadata."
70+
}
71+
]
72+
}

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,49 @@
11
#### 👋 _Looking for changelogs for older versions? You can find them in the [changelogs](./changelogs) directory._
2+
# __2.25.37__ __2024-04-23__
3+
## __AWS Cost Explorer Service__
4+
- ### Features
5+
- Added additional metadata that might be applicable to your reservation recommendations.
6+
7+
## __AWS Performance Insights__
8+
- ### Features
9+
- Clarifies how aggregation works for GetResourceMetrics in the Performance Insights API.
10+
11+
## __AWS SDK for Java V2__
12+
- ### Features
13+
- Source account Id from credentials to use in endpoint construction
14+
15+
## __AWS SDK for Java v2__
16+
- ### Features
17+
- Updated endpoint and partition metadata.
18+
19+
## __Agents for Amazon Bedrock__
20+
- ### Features
21+
- Introducing the ability to create multiple data sources per knowledge base, specify S3 buckets as data sources from external accounts, and exposing levers to define the deletion behavior of the underlying vector store data.
22+
23+
## __Agents for Amazon Bedrock Runtime__
24+
- ### Features
25+
- This release introduces zero-setup file upload support for the RetrieveAndGenerate API. This allows you to chat with your data without setting up a Knowledge Base.
26+
27+
## __Amazon Bedrock__
28+
- ### Features
29+
- This release introduces Model Evaluation and Guardrails for Amazon Bedrock.
30+
31+
## __Amazon Bedrock Runtime__
32+
- ### Features
33+
- This release introduces Guardrails for Amazon Bedrock.
34+
35+
## __Amazon Elastic Compute Cloud__
36+
- ### Features
37+
- This release introduces EC2 AMI Deregistration Protection, a new AMI property that can be enabled by customers to protect an AMI against an unintended deregistration. This release also enables the AMI owners to view the AMI 'LastLaunchedTime' in DescribeImages API.
38+
39+
## __Amazon Relational Database Service__
40+
- ### Features
41+
- Fix the example ARN for ModifyActivityStreamRequest
42+
43+
## __Amazon WorkSpaces Web__
44+
- ### Features
45+
- Added InstanceType and MaxConcurrentSessions parameters on CreatePortal and UpdatePortal Operations as well as the ability to read Customer Managed Key & Additional Encryption Context parameters on supported resources (Portal, BrowserSettings, UserSettings, IPAccessSettings)
46+
247
# __2.25.36__ __2024-04-22__
348
## __AWS Cloud Map__
449
- ### 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.36</version>
55+
<version>2.25.37</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.36</version>
89+
<version>2.25.37</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>software.amazon.awssdk</groupId>
9393
<artifactId>s3</artifactId>
94-
<version>2.25.36</version>
94+
<version>2.25.37</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.36</version>
106+
<version>2.25.37</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.36</version>
23+
<version>2.25.37</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.36</version>
23+
<version>2.25.37</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.36</version>
23+
<version>2.25.37</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.36</version>
23+
<version>2.25.37</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.25.36</version>
20+
<version>2.25.37</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.25.36</version>
23+
<version>2.25.37</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.25.36</version>
20+
<version>2.25.37</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.25.36</version>
24+
<version>2.25.37</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.36</version>
24+
<version>2.25.37</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.36</version>
24+
<version>2.25.37</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.36</version>
25+
<version>2.25.37</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.36</version>
24+
<version>2.25.37</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.36</version>
25+
<version>2.25.37</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.36</version>
24+
<version>2.25.37</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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.internal;
17+
18+
import com.squareup.javapoet.CodeBlock;
19+
20+
/**
21+
* Represents a generic parameter that can be code generated, but isn't tied to a model shape
22+
*/
23+
public class LocalParameter {
24+
25+
private final String name;
26+
private final Class<?> type;
27+
private final CodeBlock documentation;
28+
29+
public LocalParameter(String name, Class<?> type, CodeBlock documentation) {
30+
this.name = name;
31+
this.type = type;
32+
this.documentation = documentation;
33+
}
34+
35+
public String name() {
36+
return name;
37+
}
38+
39+
public Class<?> type() {
40+
return type;
41+
}
42+
43+
public CodeBlock documentation() {
44+
return documentation;
45+
}
46+
}

codegen/src/main/java/software/amazon/awssdk/codegen/model/rules/endpoints/BuiltInParameter.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ public enum BuiltInParameter {
2323
AWS_USE_DUAL_STACK,
2424
AWS_USE_FIPS,
2525
SDK_ENDPOINT,
26+
AWS_AUTH_ACCOUNT_ID,
27+
AWS_AUTH_ACCOUNT_ID_ENDPOINT_MODE,
2628
AWS_STS_USE_GLOBAL_ENDPOINT,
2729
AWS_S3_FORCE_PATH_STYLE,
2830
AWS_S3_ACCELERATE,
@@ -43,6 +45,10 @@ public static BuiltInParameter fromValue(String s) {
4345
return AWS_USE_FIPS;
4446
case "sdk::endpoint":
4547
return SDK_ENDPOINT;
48+
case "aws::auth::accountid":
49+
return AWS_AUTH_ACCOUNT_ID;
50+
case "aws::auth::accountidendpointmode":
51+
return AWS_AUTH_ACCOUNT_ID_ENDPOINT_MODE;
4652
case "aws::sts::useglobalendpoint":
4753
return AWS_STS_USE_GLOBAL_ENDPOINT;
4854
case "aws::s3::forcepathstyle":

0 commit comments

Comments
 (0)