Skip to content

Commit

Permalink
Merge pull request #2993 from aws/staging/cb91ab5c-fb9f-4124-80e7-ed0…
Browse files Browse the repository at this point in the history
…7b8ad058a

Pull request: release <- staging/cb91ab5c-fb9f-4124-80e7-ed07b8ad058a
  • Loading branch information
aws-sdk-java-automation committed Apr 23, 2024
2 parents bb6c1a4 + a12b44b commit defcd0d
Show file tree
Hide file tree
Showing 556 changed files with 5,228 additions and 1,343 deletions.
72 changes: 72 additions & 0 deletions .changes/2.25.37.json
@@ -0,0 +1,72 @@
{
"version": "2.25.37",
"date": "2024-04-23",
"entries": [
{
"type": "feature",
"category": "AWS Cost Explorer Service",
"contributor": "",
"description": "Added additional metadata that might be applicable to your reservation recommendations."
},
{
"type": "feature",
"category": "AWS Performance Insights",
"contributor": "",
"description": "Clarifies how aggregation works for GetResourceMetrics in the Performance Insights API."
},
{
"type": "feature",
"category": "AWS SDK for Java V2",
"contributor": "",
"description": "Source account Id from credentials to use in endpoint construction"
},
{
"type": "feature",
"category": "Agents for Amazon Bedrock",
"contributor": "",
"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."
},
{
"type": "feature",
"category": "Agents for Amazon Bedrock Runtime",
"contributor": "",
"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."
},
{
"type": "feature",
"category": "Amazon Bedrock",
"contributor": "",
"description": "This release introduces Model Evaluation and Guardrails for Amazon Bedrock."
},
{
"type": "feature",
"category": "Amazon Bedrock Runtime",
"contributor": "",
"description": "This release introduces Guardrails for Amazon Bedrock."
},
{
"type": "feature",
"category": "Amazon Elastic Compute Cloud",
"contributor": "",
"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."
},
{
"type": "feature",
"category": "Amazon Relational Database Service",
"contributor": "",
"description": "Fix the example ARN for ModifyActivityStreamRequest"
},
{
"type": "feature",
"category": "Amazon WorkSpaces Web",
"contributor": "",
"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)"
},
{
"type": "feature",
"category": "AWS SDK for Java v2",
"contributor": "",
"description": "Updated endpoint and partition metadata."
}
]
}
45 changes: 45 additions & 0 deletions CHANGELOG.md
@@ -1,4 +1,49 @@
#### 👋 _Looking for changelogs for older versions? You can find them in the [changelogs](./changelogs) directory._
# __2.25.37__ __2024-04-23__
## __AWS Cost Explorer Service__
- ### Features
- Added additional metadata that might be applicable to your reservation recommendations.

## __AWS Performance Insights__
- ### Features
- Clarifies how aggregation works for GetResourceMetrics in the Performance Insights API.

## __AWS SDK for Java V2__
- ### Features
- Source account Id from credentials to use in endpoint construction

## __AWS SDK for Java v2__
- ### Features
- Updated endpoint and partition metadata.

## __Agents for Amazon Bedrock__
- ### Features
- 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.

## __Agents for Amazon Bedrock Runtime__
- ### Features
- 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.

## __Amazon Bedrock__
- ### Features
- This release introduces Model Evaluation and Guardrails for Amazon Bedrock.

## __Amazon Bedrock Runtime__
- ### Features
- This release introduces Guardrails for Amazon Bedrock.

## __Amazon Elastic Compute Cloud__
- ### Features
- 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.

## __Amazon Relational Database Service__
- ### Features
- Fix the example ARN for ModifyActivityStreamRequest

## __Amazon WorkSpaces Web__
- ### Features
- 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)

# __2.25.36__ __2024-04-22__
## __AWS Cloud Map__
- ### Features
Expand Down
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -52,7 +52,7 @@ To automatically manage module versions (currently all modules have the same ver
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.25.36</version>
<version>2.25.37</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -86,12 +86,12 @@ Alternatively you can add dependencies for the specific services you use only:
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>ec2</artifactId>
<version>2.25.36</version>
<version>2.25.37</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>s3</artifactId>
<version>2.25.36</version>
<version>2.25.37</version>
</dependency>
```

Expand All @@ -103,7 +103,7 @@ You can import the whole SDK into your project (includes *ALL* services). Please
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java</artifactId>
<version>2.25.36</version>
<version>2.25.37</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion archetypes/archetype-app-quickstart/pom.xml
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>archetypes</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.25.36</version>
<version>2.25.37</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion archetypes/archetype-lambda/pom.xml
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>archetypes</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.25.36</version>
<version>2.25.37</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archetype-lambda</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion archetypes/archetype-tools/pom.xml
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>archetypes</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.25.36</version>
<version>2.25.37</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion archetypes/pom.xml
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>aws-sdk-java-pom</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.25.36</version>
<version>2.25.37</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archetypes</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-sdk-java/pom.xml
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.36</version>
<version>2.25.37</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>aws-sdk-java</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bom-internal/pom.xml
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>aws-sdk-java-pom</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.25.36</version>
<version>2.25.37</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion bom/pom.xml
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.36</version>
<version>2.25.37</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>bom</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bundle-logging-bridge/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.36</version>
<version>2.25.37</version>
</parent>
<artifactId>bundle-logging-bridge</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion bundle-sdk/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.36</version>
<version>2.25.37</version>
</parent>
<artifactId>bundle-sdk</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion bundle/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.36</version>
<version>2.25.37</version>
</parent>
<artifactId>bundle</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion codegen-lite-maven-plugin/pom.xml
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.36</version>
<version>2.25.37</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>codegen-lite-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion codegen-lite/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.36</version>
<version>2.25.37</version>
</parent>
<artifactId>codegen-lite</artifactId>
<name>AWS Java SDK :: Code Generator Lite</name>
Expand Down
2 changes: 1 addition & 1 deletion codegen-maven-plugin/pom.xml
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.36</version>
<version>2.25.37</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>codegen-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion codegen/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.36</version>
<version>2.25.37</version>
</parent>
<artifactId>codegen</artifactId>
<name>AWS Java SDK :: Code Generator</name>
Expand Down
@@ -0,0 +1,46 @@
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

package software.amazon.awssdk.codegen.model.internal;

import com.squareup.javapoet.CodeBlock;

/**
* Represents a generic parameter that can be code generated, but isn't tied to a model shape
*/
public class LocalParameter {

private final String name;
private final Class<?> type;
private final CodeBlock documentation;

public LocalParameter(String name, Class<?> type, CodeBlock documentation) {
this.name = name;
this.type = type;
this.documentation = documentation;
}

public String name() {
return name;
}

public Class<?> type() {
return type;
}

public CodeBlock documentation() {
return documentation;
}
}
Expand Up @@ -23,6 +23,8 @@ public enum BuiltInParameter {
AWS_USE_DUAL_STACK,
AWS_USE_FIPS,
SDK_ENDPOINT,
AWS_AUTH_ACCOUNT_ID,
AWS_AUTH_ACCOUNT_ID_ENDPOINT_MODE,
AWS_STS_USE_GLOBAL_ENDPOINT,
AWS_S3_FORCE_PATH_STYLE,
AWS_S3_ACCELERATE,
Expand All @@ -43,6 +45,10 @@ public static BuiltInParameter fromValue(String s) {
return AWS_USE_FIPS;
case "sdk::endpoint":
return SDK_ENDPOINT;
case "aws::auth::accountid":
return AWS_AUTH_ACCOUNT_ID;
case "aws::auth::accountidendpointmode":
return AWS_AUTH_ACCOUNT_ID_ENDPOINT_MODE;
case "aws::sts::useglobalendpoint":
return AWS_STS_USE_GLOBAL_ENDPOINT;
case "aws::s3::forcepathstyle":
Expand Down

0 comments on commit defcd0d

Please sign in to comment.