Skip to content

Commit 23a99f0

Browse files
authored
Merge branch 'master' into finks/corretto-user-agent
2 parents f35c9ec + 0188101 commit 23a99f0

File tree

227 files changed

+3105
-726
lines changed

Some content is hidden

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

227 files changed

+3105
-726
lines changed

.changes/2.5.11.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"date": "2019-03-18",
3+
"version": "2.5.11",
4+
"entries": [
5+
{
6+
"category": "AWS Database Migration Service",
7+
"type": "feature",
8+
"description": "S3 Endpoint Settings added support for 1) Migrating to Amazon S3 as a target in Parquet format 2) Encrypting S3 objects after migration with custom KMS Server-Side encryption. Redshift Endpoint Settings added support for encrypting intermediate S3 objects during migration with custom KMS Server-Side encryption."
9+
},
10+
{
11+
"category": "Amazon Chime",
12+
"type": "feature",
13+
"description": "This release adds support for the Amazon Chime Business Calling and Voice Connector features."
14+
},
15+
{
16+
"category": "AWS SDK for Java v2",
17+
"type": "bugfix",
18+
"description": "Fix HeaderUnmarshaller to compare header ignoring cases."
19+
},
20+
{
21+
"category": "Amazon Elastic Compute Cloud",
22+
"type": "feature",
23+
"description": "DescribeFpgaImages API now returns a new DataRetentionSupport attribute to indicate if the AFI meets the requirements to support DRAM data retention. DataRetentionSupport is a read-only attribute."
24+
}
25+
]
26+
}

.changes/next-release/bugfix-AWSSDKforJavav2-f8f1130.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# __2.5.11__ __2019-03-18__
2+
## __AWS Database Migration Service__
3+
- ### Features
4+
- S3 Endpoint Settings added support for 1) Migrating to Amazon S3 as a target in Parquet format 2) Encrypting S3 objects after migration with custom KMS Server-Side encryption. Redshift Endpoint Settings added support for encrypting intermediate S3 objects during migration with custom KMS Server-Side encryption.
5+
6+
## __AWS SDK for Java v2__
7+
- ### Bugfixes
8+
- Fix HeaderUnmarshaller to compare header ignoring cases.
9+
10+
## __Amazon Chime__
11+
- ### Features
12+
- This release adds support for the Amazon Chime Business Calling and Voice Connector features.
13+
14+
## __Amazon Elastic Compute Cloud__
15+
- ### Features
16+
- DescribeFpgaImages API now returns a new DataRetentionSupport attribute to indicate if the AFI meets the requirements to support DRAM data retention. DataRetentionSupport is a read-only attribute.
17+
118
# __2.5.10__ __2019-03-14__
219
## __AWS Certificate Manager__
320
- ### Features

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You can import the whole SDK into your project (includes all services) as follow
4444
<dependency>
4545
<groupId>software.amazon.awssdk</groupId>
4646
<artifactId>aws-sdk-java</artifactId>
47-
<version>2.5.10</version>
47+
<version>2.5.11</version>
4848
</dependency>
4949
```
5050

@@ -56,12 +56,12 @@ Alternatively you can add dependencies for the specific services you use only:
5656
<dependency>
5757
<groupId>software.amazon.awssdk</groupId>
5858
<artifactId>ec2</artifactId>
59-
<version>2.5.10</version>
59+
<version>2.5.11</version>
6060
</dependency>
6161
<dependency>
6262
<groupId>software.amazon.awssdk</groupId>
6363
<artifactId>s3</artifactId>
64-
<version>2.5.10</version>
64+
<version>2.5.11</version>
6565
</dependency>
6666
```
6767

@@ -75,7 +75,7 @@ To automatically manage module versions (currently all modules have the same ver
7575
<dependency>
7676
<groupId>software.amazon.awssdk</groupId>
7777
<artifactId>bom</artifactId>
78-
<version>2.5.10</version>
78+
<version>2.5.11</version>
7979
<type>pom</type>
8080
<scope>import</scope>
8181
</dependency>

aws-sdk-java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>software.amazon.awssdk</groupId>
66
<artifactId>aws-sdk-java-pom</artifactId>
7-
<version>2.5.11-SNAPSHOT</version>
7+
<version>2.5.12-SNAPSHOT</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>aws-sdk-java</artifactId>

bom-internal/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>aws-sdk-java-pom</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.5.11-SNAPSHOT</version>
8+
<version>2.5.12-SNAPSHOT</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>software.amazon.awssdk</groupId>
66
<artifactId>aws-sdk-java-pom</artifactId>
7-
<version>2.5.11-SNAPSHOT</version>
7+
<version>2.5.12-SNAPSHOT</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>bom</artifactId>

build-tools/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<dependency>
6767
<groupId>com.puppycrawl.tools</groupId>
6868
<artifactId>checkstyle</artifactId>
69-
<version>8.7</version>
69+
<version>8.18</version>
7070
</dependency>
7171
</dependencies>
7272

build-tools/src/main/java/software/amazon/awssdk/buildtools/checkstyle/MissingSdkAnnotationCheck.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
import com.puppycrawl.tools.checkstyle.api.AbstractCheck;
1919
import com.puppycrawl.tools.checkstyle.api.DetailAST;
2020
import com.puppycrawl.tools.checkstyle.api.TokenTypes;
21-
import com.puppycrawl.tools.checkstyle.utils.AnnotationUtility;
22-
import com.puppycrawl.tools.checkstyle.utils.ScopeUtils;
21+
import com.puppycrawl.tools.checkstyle.utils.AnnotationUtil;
22+
import com.puppycrawl.tools.checkstyle.utils.ScopeUtil;
2323
import java.util.Arrays;
2424
import java.util.List;
2525

@@ -50,7 +50,7 @@ public int[] getRequiredTokens() {
5050

5151
@Override
5252
public void visitToken(DetailAST ast) {
53-
if (!ScopeUtils.isOuterMostType(ast) || SDK_ANNOTATIONS.stream().anyMatch(a -> AnnotationUtility.containsAnnotation
53+
if (!ScopeUtil.isOuterMostType(ast) || SDK_ANNOTATIONS.stream().anyMatch(a -> AnnotationUtil.containsAnnotation
5454
(ast, a))) {
5555
return;
5656
}

build-tools/src/main/java/software/amazon/awssdk/buildtools/checkstyle/SdkPublicMethodNameCheck.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import com.puppycrawl.tools.checkstyle.api.DetailAST;
1919
import com.puppycrawl.tools.checkstyle.api.TokenTypes;
2020
import com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck;
21-
import com.puppycrawl.tools.checkstyle.utils.AnnotationUtility;
21+
import com.puppycrawl.tools.checkstyle.utils.AnnotationUtil;
2222

2323
/**
2424
* Sdk Method Name check to check only public methods in the classes with {@code @SdkPublicApi} annotation.
@@ -55,8 +55,8 @@ public void visitToken(DetailAST ast) {
5555
DetailAST classDef = ast.getParent().getParent();
5656

5757
try {
58-
if (!AnnotationUtility.containsAnnotation(ast, OVERRIDE)
59-
&& AnnotationUtility.containsAnnotation(classDef, SDK_PUBLIC_API)) {
58+
if (!AnnotationUtil.containsAnnotation(ast, OVERRIDE)
59+
&& AnnotationUtil.containsAnnotation(classDef, SDK_PUBLIC_API)) {
6060
super.visitToken(ast);
6161
}
6262
} catch (NullPointerException ex) {

build-tools/src/main/java/software/amazon/awssdk/buildtools/checkstyle/UnnecessaryFinalOnLocalVariableCheck.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import com.puppycrawl.tools.checkstyle.api.AbstractCheck;
1919
import com.puppycrawl.tools.checkstyle.api.DetailAST;
2020
import com.puppycrawl.tools.checkstyle.api.TokenTypes;
21-
import com.puppycrawl.tools.checkstyle.utils.ScopeUtils;
21+
import com.puppycrawl.tools.checkstyle.utils.ScopeUtil;
2222

2323
/**
2424
* A rule that disallows unnecessary 'final' on local variables
@@ -42,8 +42,8 @@ public int[] getRequiredTokens() {
4242

4343
@Override
4444
public void visitToken(DetailAST ast) {
45-
if (ScopeUtils.isLocalVariableDef(ast) && ast.findFirstToken(TokenTypes.MODIFIERS)
46-
.findFirstToken(TokenTypes.FINAL) != null) {
45+
if (ScopeUtil.isLocalVariableDef(ast) && ast.findFirstToken(TokenTypes.MODIFIERS)
46+
.findFirstToken(TokenTypes.FINAL) != null) {
4747
log(ast, "final should be removed from local variable");
4848
}
4949
}

build-tools/src/main/resources/software/amazon/awssdk/checkstyle.xml

Lines changed: 3 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,10 @@
4343
default="checkstyle-suppressions.xml"/>
4444
</module>
4545

46-
<!-- Allow suppressing rules via comments. -->
47-
<module name="SuppressionCommentFilter"/>
48-
4946
<module name="TreeWalker">
50-
<!-- Make the file contents available to the tree walker, so that we can check comments for rule suppression. -->
51-
<module name="FileContentsHolder"/>
47+
48+
<!-- Allow suppressing rules via comments. -->
49+
<module name="SuppressionCommentFilter"/>
5250

5351
<!-- Class names must match the file name in which they are defined. -->
5452
<module name="OuterTypeFilename"/>
@@ -89,11 +87,6 @@
8987
<!-- Braces must be used for all blocks. -->
9088
<module name="NeedBraces"/>
9189

92-
<!-- Left curly braces cannot be placed on the next line. -->
93-
<module name="LeftCurly">
94-
<property name="maxLineLength" value="130"/>
95-
</module>
96-
9790
<!-- Braces must not be empty for most language constructs. -->
9891
<module name="EmptyBlock">
9992
<property name="option" value="TEXT"/>
@@ -314,14 +307,6 @@
314307
<!-- There must be no space between a method name and its parameter list. -->
315308
<module name="ParenPad"/>
316309

317-
<!--&lt;!&ndash; Operators in multi-line statements must be placed at the beginning, not end, of the lines. &ndash;&gt;-->
318-
<!--<module name="OperatorWrap">-->
319-
<!--<property name="option" value="NL"/>-->
320-
<!--<property name="tokens"-->
321-
<!--value="BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR, METHOD_REF "/>-->
322-
<!--<property name="severity" value="warning"/> &lt;!&ndash; TODO: Make error. &ndash;&gt;-->
323-
<!--</module>-->
324-
325310
<!-- Non-field annotations must be on separate lines, or in the case of single parameterless annotation can be
326311
placed on the same line as the signature. -->
327312
<module name="AnnotationLocation">
@@ -336,45 +321,6 @@
336321
<property name="allowSamelineMultipleAnnotations" value="true"/>
337322
</module>
338323

339-
<!-- Javadoc @param, @return, etc. must not be empty (but may be excluded). -->
340-
<module name="NonEmptyAtclauseDescription"/>
341-
342-
<!--&lt;!&ndash; Javadoc summaries must be a complete sentence, and must not say things like "This X" or "A X"... &ndash;&gt;-->
343-
<!--<module name="SummaryJavadoc">-->
344-
<!--<property name="forbiddenSummaryFragments"-->
345-
<!--value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/>-->
346-
<!--<property name="severity" value="warning"/> &lt;!&ndash; TODO: Make error. &ndash;&gt;-->
347-
<!--</module>-->
348-
349-
<!--&lt;!&ndash; One blank line must exist between each javadoc paragraph, and each paragraph <p> must occur on the same-->
350-
<!--line as the text. &ndash;&gt;-->
351-
<!--<module name="JavadocParagraph">-->
352-
<!--<property name="severity" value="warning"/> &lt;!&ndash; TODO: Make error. &ndash;&gt;-->
353-
<!--</module>-->
354-
355-
<!-- Javadoc @param, etc. must follow a specific order. -->
356-
<module name="AtclauseOrder">
357-
<property name="tagOrder" value="@param, @return, @throws, @deprecated"/>
358-
<property name="target" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
359-
</module>
360-
361-
<!--&lt;!&ndash; Javadoc must be specified for all public methods and follow a specific pattern. &ndash;&gt;-->
362-
<!--<module name="JavadocMethod">-->
363-
<!--<property name="scope" value="public"/>-->
364-
<!--<property name="allowMissingParamTags" value="true"/>-->
365-
<!--<property name="allowMissingThrowsTags" value="true"/>-->
366-
<!--<property name="allowMissingReturnTag" value="true"/>-->
367-
<!--<property name="minLineCount" value="2"/>-->
368-
<!--<property name="allowedAnnotations" value="Override, Test"/>-->
369-
<!--<property name="allowThrowsTagsForSubclasses" value="true"/>-->
370-
<!--<property name="severity" value="warning"/> &lt;!&ndash; TODO: Make error. &ndash;&gt;-->
371-
<!--</module>-->
372-
373-
<!-- Single-line style javadoc may be used. -->
374-
<module name="SingleLineJavadoc">
375-
<property name="ignoreInlineTags" value="false"/>
376-
</module>
377-
378324
<!-- Catch blocks must not be empty without a comment. -->
379325
<module name="EmptyCatchBlock"/>
380326

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.5.11-SNAPSHOT</version>
24+
<version>2.5.12-SNAPSHOT</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
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>software.amazon.awssdk</groupId>
99
<artifactId>aws-sdk-java-pom</artifactId>
10-
<version>2.5.11-SNAPSHOT</version>
10+
<version>2.5.12-SNAPSHOT</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313
<artifactId>codegen-lite-maven-plugin</artifactId>

codegen-lite/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>software.amazon.awssdk</groupId>
88
<artifactId>aws-sdk-java-pom</artifactId>
9-
<version>2.5.11-SNAPSHOT</version>
9+
<version>2.5.12-SNAPSHOT</version>
1010
</parent>
1111
<artifactId>codegen-lite</artifactId>
1212
<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.5.11-SNAPSHOT</version>
25+
<version>2.5.12-SNAPSHOT</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.5.11-SNAPSHOT</version>
24+
<version>2.5.12-SNAPSHOT</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

core/annotations/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>core</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.5.11-SNAPSHOT</version>
8+
<version>2.5.12-SNAPSHOT</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

core/auth/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>software.amazon.awssdk</groupId>
99
<artifactId>core</artifactId>
10-
<version>2.5.11-SNAPSHOT</version>
10+
<version>2.5.12-SNAPSHOT</version>
1111
</parent>
1212

1313
<artifactId>auth</artifactId>

core/aws-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>software.amazon.awssdk</groupId>
99
<artifactId>core</artifactId>
10-
<version>2.5.11-SNAPSHOT</version>
10+
<version>2.5.12-SNAPSHOT</version>
1111
</parent>
1212

1313
<artifactId>aws-core</artifactId>

core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>aws-sdk-java-pom</artifactId>
2323
<groupId>software.amazon.awssdk</groupId>
24-
<version>2.5.11-SNAPSHOT</version>
24+
<version>2.5.12-SNAPSHOT</version>
2525
</parent>
2626

2727
<artifactId>core</artifactId>

core/profiles/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>core</artifactId>
25-
<version>2.5.11-SNAPSHOT</version>
25+
<version>2.5.12-SNAPSHOT</version>
2626
</parent>
2727

2828
<artifactId>profiles</artifactId>

core/protocols/aws-cbor-protocol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>protocols</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.5.11-SNAPSHOT</version>
8+
<version>2.5.12-SNAPSHOT</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

core/protocols/aws-ion-protocol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>protocols</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.5.11-SNAPSHOT</version>
8+
<version>2.5.12-SNAPSHOT</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

core/protocols/aws-json-protocol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>protocols</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.5.11-SNAPSHOT</version>
8+
<version>2.5.12-SNAPSHOT</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

core/protocols/aws-query-protocol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>protocols</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.5.11-SNAPSHOT</version>
8+
<version>2.5.12-SNAPSHOT</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

0 commit comments

Comments
 (0)