-
Notifications
You must be signed in to change notification settings - Fork 863
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2825 from aws/staging/2800174d-5f20-472f-8765-cd6…
…e97599d25 Pull request: release <- staging/2800174d-5f20-472f-8765-cd6e97599d25
- Loading branch information
Showing
508 changed files
with
1,875 additions
and
671 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{ | ||
"version": "2.21.38", | ||
"date": "2023-12-04", | ||
"entries": [ | ||
{ | ||
"type": "bugfix", | ||
"category": "Amazon S3", | ||
"contributor": "", | ||
"description": "Fixes double checksum validation for GetObject. Now when ChecksumMode is enabled, x-amz-te:append-md5 will not be sent, and only the flexible checksum will be validated. If ChecksumMode is enabled and no ChecksumAlgorithm was returned, no validation will be performed." | ||
}, | ||
{ | ||
"type": "feature", | ||
"category": "AWS Archetype Lambda", | ||
"contributor": "", | ||
"description": "Update archetype-lambda to use AWS CRT HTTP client as the default HTTP client and bump dependency version." | ||
}, | ||
{ | ||
"type": "feature", | ||
"category": "AWSBillingConductor", | ||
"contributor": "", | ||
"description": "This release adds the ability to specify a linked account of the billing group for the custom line item resource." | ||
}, | ||
{ | ||
"type": "feature", | ||
"category": "AWS Cloud9", | ||
"contributor": "", | ||
"description": "This release adds the requirement to include the imageId parameter in the CreateEnvironmentEC2 API call." | ||
}, | ||
{ | ||
"type": "feature", | ||
"category": "AWS CloudFormation", | ||
"contributor": "", | ||
"description": "Including UPDATE_* states as a success status for CreateStack waiter." | ||
}, | ||
{ | ||
"type": "feature", | ||
"category": "AWS Elemental MediaLive", | ||
"contributor": "", | ||
"description": "Adds support for custom color correction on channels using 3D LUT files." | ||
}, | ||
{ | ||
"type": "feature", | ||
"category": "AWS Service Catalog App Registry", | ||
"contributor": "", | ||
"description": "Documentation-only updates for Dawn" | ||
}, | ||
{ | ||
"type": "feature", | ||
"category": "Amazon SQS", | ||
"contributor": "", | ||
"description": "Adds a client builder option to disable the default MD5 checksum validation for SendMessage, ReceiveMessage and SendMessageBatch" | ||
}, | ||
{ | ||
"type": "feature", | ||
"category": "Braket", | ||
"contributor": "", | ||
"description": "This release enhances service support to create quantum tasks and hybrid jobs associated with Braket Direct Reservations." | ||
}, | ||
{ | ||
"type": "feature", | ||
"category": "FinSpace User Environment Management service", | ||
"contributor": "", | ||
"description": "Release General Purpose type clusters" | ||
}, | ||
{ | ||
"type": "feature", | ||
"category": "AWS SDK for Java v2", | ||
"contributor": "", | ||
"description": "Updated endpoint and partition metadata." | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
archetypes/archetype-lambda/src/test/resources/projects/crtclient/archetype.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
groupId=software.amazonaws.test | ||
artifactId=test-crt-artifact | ||
version=1.0-SNAPSHOT | ||
package=software.amazonaws.test | ||
service=s3 | ||
httpClient=aws-crt-client | ||
handlerClassName=MyCrtFunction | ||
region=us-east-1 | ||
javaSdkVersion=2.21.0 | ||
nettyOpenSslVersion=2.0.29.Final | ||
|
1 change: 1 addition & 0 deletions
1
archetypes/archetype-lambda/src/test/resources/projects/crtclient/goal.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
verify |
45 changes: 45 additions & 0 deletions
45
...ypes/archetype-lambda/src/test/resources/projects/crtclient/reference/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# MyCrtFunction | ||
|
||
This project contains an AWS Lambda maven application with [AWS Java SDK 2.x](https://github.com/aws/aws-sdk-java-v2) dependencies. | ||
|
||
## Prerequisites | ||
- Java 1.8+ | ||
- Apache Maven | ||
- [AWS SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html) | ||
- Docker | ||
|
||
## Development | ||
|
||
The generated function handler class just returns the input. The configured AWS Java SDK client is created in `DependencyFactory` class and you can | ||
add the code to interact with the SDK client based on your use case. | ||
|
||
#### Building the project | ||
``` | ||
mvn clean install | ||
``` | ||
|
||
#### Testing it locally | ||
``` | ||
sam local invoke | ||
``` | ||
|
||
#### Adding more SDK clients | ||
To add more service clients, you need to add the specific services modules in `pom.xml` and create the clients in `DependencyFactory` following the same | ||
pattern as s3Client. | ||
|
||
## Deployment | ||
|
||
The generated project contains a default [SAM template](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-function.html) file `template.yaml` where you can | ||
configure different properties of your lambda function such as memory size and timeout. You might also need to add specific policies to the lambda function | ||
so that it can access other AWS resources. | ||
|
||
To deploy the application, you can run the following command: | ||
|
||
``` | ||
sam deploy --guided | ||
``` | ||
|
||
See [Deploying Serverless Applications](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-deploying.html) for more info. | ||
|
||
|
||
|
104 changes: 104 additions & 0 deletions
104
archetypes/archetype-lambda/src/test/resources/projects/crtclient/reference/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>software.amazonaws.test</groupId> | ||
<artifactId>test-crt-artifact</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
<maven.shade.plugin.version>3.2.1</maven.shade.plugin.version> | ||
<maven.compiler.plugin.version>3.6.1</maven.compiler.plugin.version> | ||
<exec-maven-plugin.version>1.6.0</exec-maven-plugin.version> | ||
<aws.java.sdk.version>2.21.0</aws.java.sdk.version> | ||
<aws.lambda.java.version>1.2.3</aws.lambda.java.version> | ||
<junit5.version>5.10.1</junit5.version> | ||
</properties> | ||
|
||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>software.amazon.awssdk</groupId> | ||
<artifactId>bom</artifactId> | ||
<version>${aws.java.sdk.version}</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>software.amazon.awssdk</groupId> | ||
<artifactId>s3</artifactId> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>software.amazon.awssdk</groupId> | ||
<artifactId>netty-nio-client</artifactId> | ||
</exclusion> | ||
<exclusion> | ||
<groupId>software.amazon.awssdk</groupId> | ||
<artifactId>apache-client</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>software.amazon.awssdk</groupId> | ||
<artifactId>aws-crt-client</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.amazonaws</groupId> | ||
<artifactId>aws-lambda-java-core</artifactId> | ||
<version>${aws.lambda.java.version}</version> | ||
</dependency> | ||
|
||
<!-- Test Dependencies --> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter</artifactId> | ||
<version>${junit5.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>${maven.compiler.plugin.version}</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-shade-plugin</artifactId> | ||
<version>${maven.shade.plugin.version}</version> | ||
<configuration> | ||
<createDependencyReducedPom>false</createDependencyReducedPom> | ||
<finalName>test-crt-artifact</finalName> | ||
<filters> | ||
<filter> | ||
<artifact>*:*</artifact> | ||
<excludes> | ||
<!-- Suppress module-info.class warning--> | ||
<exclude>module-info.class</exclude> | ||
</excludes> | ||
</filter> | ||
</filters> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>shade</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
Oops, something went wrong.