Skip to content

Commit

Permalink
Merge pull request #2293 from aws/staging/4c6385d0-9744-4e41-8658-aab…
Browse files Browse the repository at this point in the history
…f7a2d19b8

Pull request: release <- staging/4c6385d0-9744-4e41-8658-aabf7a2d19b8
  • Loading branch information
aws-sdk-java-automation committed Dec 16, 2022
2 parents cf5a90d + 07ad7c7 commit 46f9321
Show file tree
Hide file tree
Showing 440 changed files with 1,934 additions and 3,541 deletions.
66 changes: 66 additions & 0 deletions .changes/2.18.41.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"version": "2.18.41",
"date": "2022-12-16",
"entries": [
{
"type": "bugfix",
"category": "Amazon S3",
"contributor": "",
"description": "Do not prefix copy-source with / when using the sourceBucket and sourceKey APIs."
},
{
"type": "feature",
"category": "AWS DataSync",
"contributor": "",
"description": "AWS DataSync now supports the use of tags with task executions. With this new feature, you can apply tags each time you execute a task, giving you greater control and management over your task executions."
},
{
"type": "feature",
"category": "AWS IoT FleetWise",
"contributor": "",
"description": "Updated error handling for empty resource names in \"UpdateSignalCatalog\" and \"GetModelManifest\" operations."
},
{
"type": "feature",
"category": "Amazon Appflow",
"contributor": "",
"description": "This release updates the ListConnectorEntities API action so that it returns paginated responses that customers can retrieve with next tokens."
},
{
"type": "feature",
"category": "Amazon CloudFront",
"contributor": "",
"description": "Updated documentation for CloudFront"
},
{
"type": "feature",
"category": "Amazon Elastic File System",
"contributor": "",
"description": "General documentation updates for EFS."
},
{
"type": "feature",
"category": "Amazon GuardDuty",
"contributor": "",
"description": "This release provides the valid characters for the Description and Name field."
},
{
"type": "feature",
"category": "Amazon S3 Transfer Manager",
"contributor": "",
"description": "Change default `targetThroughputInGbps` from 5 to 10"
},
{
"type": "feature",
"category": "Amazon SageMaker Service",
"contributor": "",
"description": "AWS sagemaker - Features: This release adds support for random seed, it's an integer value used to initialize a pseudo-random number generator. Setting a random seed will allow the hyperparameter tuning search strategies to produce more consistent configurations for the same tuning job."
},
{
"type": "feature",
"category": "AWS SDK for Java v2",
"contributor": "",
"description": "Updated endpoint and partition metadata."
}
]
}
2 changes: 2 additions & 0 deletions .github/workflows/codebuild-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
with:
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
aws-region: us-west-2
role-duration-seconds: 7200
- name: Run JDK8 windows build
uses: aws-actions/aws-codebuild-run-build@v1
with:
Expand All @@ -71,6 +72,7 @@ jobs:
with:
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
aws-region: us-west-2
role-duration-seconds: 7200
- name: Run native image test
uses: aws-actions/aws-codebuild-run-build@v1
with:
Expand Down
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
# __2.18.41__ __2022-12-16__
## __AWS DataSync__
- ### Features
- AWS DataSync now supports the use of tags with task executions. With this new feature, you can apply tags each time you execute a task, giving you greater control and management over your task executions.

## __AWS IoT FleetWise__
- ### Features
- Updated error handling for empty resource names in "UpdateSignalCatalog" and "GetModelManifest" operations.

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

## __Amazon Appflow__
- ### Features
- This release updates the ListConnectorEntities API action so that it returns paginated responses that customers can retrieve with next tokens.

## __Amazon CloudFront__
- ### Features
- Updated documentation for CloudFront

## __Amazon Elastic File System__
- ### Features
- General documentation updates for EFS.

## __Amazon GuardDuty__
- ### Features
- This release provides the valid characters for the Description and Name field.

## __Amazon S3__
- ### Bugfixes
- Do not prefix copy-source with / when using the sourceBucket and sourceKey APIs.

## __Amazon S3 Transfer Manager__
- ### Features
- Change default `targetThroughputInGbps` from 5 to 10

## __Amazon SageMaker Service__
- ### Features
- AWS sagemaker - Features: This release adds support for random seed, it's an integer value used to initialize a pseudo-random number generator. Setting a random seed will allow the hyperparameter tuning search strategies to produce more consistent configurations for the same tuning job.

# __2.18.40__ __2022-12-15__
## __AWS Backup Gateway__
- ### Features
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
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.18.40</version>
<version>2.18.41</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.18.40</version>
<version>2.18.41</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>s3</artifactId>
<version>2.18.40</version>
<version>2.18.41</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.18.40</version>
<version>2.18.41</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion archetypes/archetype-app-quickstart/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>archetypes</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.18.40</version>
<version>2.18.41</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion archetypes/archetype-lambda/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>archetypes</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.18.40</version>
<version>2.18.41</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archetype-lambda</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion archetypes/archetype-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>archetypes</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.18.40</version>
<version>2.18.41</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion archetypes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>aws-sdk-java-pom</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.18.40</version>
<version>2.18.41</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archetypes</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-sdk-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.18.40</version>
<version>2.18.41</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>aws-sdk-java</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bom-internal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>aws-sdk-java-pom</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.18.40</version>
<version>2.18.41</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.18.40</version>
<version>2.18.41</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>bom</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/*
* 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.buildtools.checkstyle;

import com.puppycrawl.tools.checkstyle.api.AbstractCheck;
import com.puppycrawl.tools.checkstyle.api.DetailAST;
import com.puppycrawl.tools.checkstyle.api.TokenTypes;
import com.puppycrawl.tools.checkstyle.utils.AnnotationUtil;

/**
* Checks if a class uses the @Ignore annotation. Avoid disabling tests and work to
* resolve issues with the test instead.
*
* For manual tests and exceptional circumstances, use the commentation feature CHECKSTYLE: OFF
* to mark a test as ignored.
*/
public class NoIgnoreAnnotationsCheck extends AbstractCheck {

private static final String IGNORE_ANNOTATION = "Ignore";

@Override
public int[] getDefaultTokens() {
return getRequiredTokens();
}

@Override
public int[] getAcceptableTokens() {
return getRequiredTokens();
}

@Override
public int[] getRequiredTokens() {
return new int[] {TokenTypes.CLASS_DEF, TokenTypes.METHOD_DEF};
}

@Override
public void visitToken(DetailAST ast) {
if (!AnnotationUtil.containsAnnotation(ast, IGNORE_ANNOTATION)) {
return;
}

log(ast, "@Ignore annotation is not allowed");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,13 @@
-->

<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
"-//Puppy Crawl//DTD Suppressions 1.2//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_2.dtd">
<suppressions>
<!-- TODO: Disable these suppressions. -->
<suppress checks=".*"
<!-- ignore all checks for test classes except for the NoIgnoreAnnotationsCheck -->
<suppress checks="^((?!NoIgnoreAnnotationsCheck).)*$"
files=".*[\\/](test|it)[\\/]java[\\/].+\.java$"/>

<!-- TODO: Disable these suppressions. -->
<suppress checks=".*"
files=".(flow)[\\/].+\.java$"/>

<!-- ignore missing annotation checks under test/codegen directory -->
<suppress checks="MissingSdkAnnotationCheck"
files=".(codegen|test|release)[\\/].+\.java$"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@
<property name="ignoreComments" value="true"/>
</module>


<!-- Checks that we don't use AttributeKey.newInstance directly -->
<module name="Regexp">
<property name="format" value="AttributeKey\.newInstance"/>
Expand All @@ -401,6 +400,10 @@
<property name="ignoreComments" value="true"/>
</module>

<!-- Checks that we don't use the @Ignore annotation on tests -->
<module name="software.amazon.awssdk.buildtools.checkstyle.NoIgnoreAnnotationsCheck">
</module>

<!-- Checks that we don't use plural enum names -->
<module name="software.amazon.awssdk.buildtools.checkstyle.PluralEnumNames"/>

Expand Down
2 changes: 1 addition & 1 deletion bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.18.40</version>
<version>2.18.41</version>
</parent>
<artifactId>bundle</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion codegen-lite-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.18.40</version>
<version>2.18.41</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>codegen-lite-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion codegen-lite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.18.40</version>
<version>2.18.41</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
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.18.40</version>
<version>2.18.41</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>codegen-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion codegen/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.18.40</version>
<version>2.18.41</version>
</parent>
<artifactId>codegen</artifactId>
<name>AWS Java SDK :: Code Generator</name>
Expand Down
2 changes: 1 addition & 1 deletion core/annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>core</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.18.40</version>
<version>2.18.41</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion core/arns/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>core</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.18.40</version>
<version>2.18.41</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion core/auth-crt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>core</artifactId>
<version>2.18.40</version>
<version>2.18.41</version>
</parent>

<artifactId>auth-crt</artifactId>
Expand Down
Loading

0 comments on commit 46f9321

Please sign in to comment.