Skip to content

Commit ef79757

Browse files
Merge pull request #1937 from aws/staging/9a38aa44-d66b-4803-92c1-9edf50c7fee7
Pull request: release <- staging/9a38aa44-d66b-4803-92c1-9edf50c7fee7
2 parents aeb2bed + 9ea36c7 commit ef79757

File tree

421 files changed

+3674
-724
lines changed

Some content is hidden

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

421 files changed

+3674
-724
lines changed

.brazil.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"archetype-lambda": { "skipImport": true },
4848
"archetype-tools": { "skipImport": true },
4949
"archetypes": { "skipImport": true },
50-
"auth-sts-testing": { "skipImport": true },
50+
"auth-tests": { "skipImport": true },
5151
"aws-sdk-java": { "skipImport": true },
5252
"aws-sdk-java-pom": { "skipImport": true },
5353
"bom": { "skipImport": true },

.changes/2.17.131.json

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"version": "2.17.131",
3+
"date": "2022-02-16",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "Amazon Simple Systems Manager (SSM)",
8+
"contributor": "",
9+
"description": "Assorted ticket fixes and updates for AWS Systems Manager."
10+
},
11+
{
12+
"type": "bugfix",
13+
"category": "Netty NIO Async HTTP Client",
14+
"contributor": "",
15+
"description": "Fixed an issue in Netty async http client where NPE was thrown when the execution got cancelled before executionId was attached to the channel."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "AWS Glue",
20+
"contributor": "",
21+
"description": "Support for optimistic locking in UpdateTable"
22+
},
23+
{
24+
"type": "feature",
25+
"category": "AWS Budgets",
26+
"contributor": "",
27+
"description": "Adds support for auto-adjusting budgets, a new budget method alongside fixed and planned. Auto-adjusting budgets introduces new metadata to configure a budget limit baseline using a historical lookback average or current period forecast."
28+
},
29+
{
30+
"type": "bugfix",
31+
"category": "S3 Transfer Manager",
32+
"contributor": "",
33+
"description": "A couple of minor refactoring on the S3TransferManager. 1. `CompletedDirectoryUpload#failedTransfers` now returns `List<FailedFileUpload>` instead of `Collection<FailedFileUpload>`. 2. `UploadDirectoryOverrideConfiguration#uploadFileRequestTransformer` now returns `Consumer<UploadFileRequest.Builder>` instead of `Optional<Consumer<UploadFileRequest.Builder>>` it will be no-op if no uploadFileRequestTransformer is provided"
34+
},
35+
{
36+
"type": "removal",
37+
"category": "AWS SDK for Java v2",
38+
"contributor": "",
39+
"description": "Removed codegen-resources from service jars, which reduces SDK artifact size."
40+
},
41+
{
42+
"type": "feature",
43+
"category": "Amazon Elastic Compute Cloud",
44+
"contributor": "",
45+
"description": "Documentation updates for EC2."
46+
},
47+
{
48+
"type": "feature",
49+
"category": "S3 Transfer Manager",
50+
"contributor": "",
51+
"description": "Implement downloadDirectory API in the S3TransferManager"
52+
},
53+
{
54+
"type": "feature",
55+
"category": "AWS SDK for Java v2",
56+
"contributor": "",
57+
"description": "Add support for setting the default `RegionScope` used by the Sigv4a signer implementations. If the region scope to use is not supplied to the signing methods, the signers will default to this scope first and then the normal signing region."
58+
},
59+
{
60+
"type": "feature",
61+
"category": "AWS Cost Explorer Service",
62+
"contributor": "",
63+
"description": "AWS Cost Anomaly Detection now supports SNS FIFO topic subscribers."
64+
}
65+
]
66+
}

CHANGELOG.md

+39
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
# __2.17.131__ __2022-02-16__
2+
## __AWS Budgets__
3+
- ### Features
4+
- Adds support for auto-adjusting budgets, a new budget method alongside fixed and planned. Auto-adjusting budgets introduces new metadata to configure a budget limit baseline using a historical lookback average or current period forecast.
5+
6+
## __AWS Cost Explorer Service__
7+
- ### Features
8+
- AWS Cost Anomaly Detection now supports SNS FIFO topic subscribers.
9+
10+
## __AWS Glue__
11+
- ### Features
12+
- Support for optimistic locking in UpdateTable
13+
14+
## __AWS SDK for Java v2__
15+
- ### Features
16+
- Add support for setting the default `RegionScope` used by the Sigv4a signer implementations. If the region scope to use is not supplied to the signing methods, the signers will default to this scope first and then the normal signing region.
17+
18+
- ### Removals
19+
- Removed codegen-resources from service jars, which reduces SDK artifact size.
20+
21+
## __Amazon Elastic Compute Cloud__
22+
- ### Features
23+
- Documentation updates for EC2.
24+
25+
## __Amazon Simple Systems Manager (SSM)__
26+
- ### Features
27+
- Assorted ticket fixes and updates for AWS Systems Manager.
28+
29+
## __Netty NIO Async HTTP Client__
30+
- ### Bugfixes
31+
- Fixed an issue in Netty async http client where NPE was thrown when the execution got cancelled before executionId was attached to the channel.
32+
33+
## __S3 Transfer Manager__
34+
- ### Features
35+
- Implement downloadDirectory API in the S3TransferManager
36+
37+
- ### Bugfixes
38+
- A couple of minor refactoring on the S3TransferManager. 1. `CompletedDirectoryUpload#failedTransfers` now returns `List<FailedFileUpload>` instead of `Collection<FailedFileUpload>`. 2. `UploadDirectoryOverrideConfiguration#uploadFileRequestTransformer` now returns `Consumer<UploadFileRequest.Builder>` instead of `Optional<Consumer<UploadFileRequest.Builder>>` it will be no-op if no uploadFileRequestTransformer is provided
39+
140
# __2.17.130__ __2022-02-14__
241
## __Amazon Appflow__
342
- ### Features

README.md

+4-4
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.17.130</version>
55+
<version>2.17.131</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.17.130</version>
89+
<version>2.17.131</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>software.amazon.awssdk</groupId>
9393
<artifactId>s3</artifactId>
94-
<version>2.17.130</version>
94+
<version>2.17.131</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.17.130</version>
106+
<version>2.17.131</version>
107107
</dependency>
108108
```
109109

archetypes/archetype-app-quickstart/pom.xml

+1-1
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.17.130</version>
23+
<version>2.17.131</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

archetypes/archetype-lambda/pom.xml

+1-1
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.17.130</version>
23+
<version>2.17.131</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetype-lambda</artifactId>

archetypes/archetype-tools/pom.xml

+1-1
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.17.130</version>
23+
<version>2.17.131</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

archetypes/pom.xml

+1-1
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.17.130</version>
23+
<version>2.17.131</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetypes</artifactId>

aws-sdk-java/pom.xml

+1-1
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.17.130</version>
20+
<version>2.17.131</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>aws-sdk-java</artifactId>

bom-internal/pom.xml

+1-1
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.17.130</version>
23+
<version>2.17.131</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

bom/pom.xml

+1-1
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.17.130</version>
20+
<version>2.17.131</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>bom</artifactId>

buildspecs/release-to-maven.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ phases:
4040
awk 'BEGIN { var=ENVIRON["SDK_SIGNING_GPG_KEYNAME"] } { gsub("\\$SDK_SIGNING_GPG_KEYNAME", var, $0); print }' > \
4141
$SETTINGS_XML
4242
43-
mvn clean deploy -B -s $SETTINGS_XML -Ppublishing -DperformRelease -Dspotbugs.skip -DskipTests -Dcheckstyle.skip -Djapicmp.skip -Ddoclint=none -pl !:protocol-tests,!:protocol-tests-core,!:codegen-generated-classes-test,!:sdk-benchmarks,!:module-path-tests,!:tests-coverage-reporting,!:stability-tests,!:sdk-native-image-test,!:auth-sts-testing,!:s3-benchmarks,!:region-testing -DautoReleaseAfterClose=true -DstagingProgressTimeoutMinutes=30
43+
mvn clean deploy -B -s $SETTINGS_XML -Ppublishing -DperformRelease -Dspotbugs.skip -DskipTests -Dcheckstyle.skip -Djapicmp.skip -Ddoclint=none -pl !:protocol-tests,!:protocol-tests-core,!:codegen-generated-classes-test,!:sdk-benchmarks,!:module-path-tests,!:tests-coverage-reporting,!:stability-tests,!:sdk-native-image-test,!:auth-tests,!:s3-benchmarks,!:region-testing -DautoReleaseAfterClose=true -DstagingProgressTimeoutMinutes=30
4444
else
4545
echo "This version was already released."
4646
fi

bundle/pom.xml

+1-1
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.17.130</version>
24+
<version>2.17.131</version>
2525
</parent>
2626
<artifactId>bundle</artifactId>
2727
<packaging>jar</packaging>

codegen-lite-maven-plugin/pom.xml

+1-1
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.17.130</version>
25+
<version>2.17.131</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<artifactId>codegen-lite-maven-plugin</artifactId>

codegen-lite/pom.xml

+1-1
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.17.130</version>
24+
<version>2.17.131</version>
2525
</parent>
2626
<artifactId>codegen-lite</artifactId>
2727
<name>AWS Java SDK :: Code Generator Lite</name>

codegen-maven-plugin/pom.xml

+1-1
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.17.130</version>
25+
<version>2.17.131</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<artifactId>codegen-maven-plugin</artifactId>

codegen/pom.xml

+1-1
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.17.130</version>
24+
<version>2.17.131</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

core/annotations/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>core</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.17.130</version>
23+
<version>2.17.131</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/arns/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>core</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.17.130</version>
23+
<version>2.17.131</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/auth-crt/pom.xml

+1-1
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.17.130</version>
25+
<version>2.17.131</version>
2626
</parent>
2727

2828
<artifactId>auth-crt</artifactId>

core/auth-crt/src/main/java/software/amazon/awssdk/authcrt/signer/AwsCrtS3V4aSigner.java

+17
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import software.amazon.awssdk.authcrt.signer.internal.DefaultAwsCrtS3V4aSigner;
2222
import software.amazon.awssdk.core.signer.Presigner;
2323
import software.amazon.awssdk.core.signer.Signer;
24+
import software.amazon.awssdk.regions.RegionScope;
2425

2526
/**
2627
* Enables signing and presigning for S3 using Sigv4a (Asymmetric Sigv4) through an external API call to the AWS CRT
@@ -49,4 +50,20 @@ public interface AwsCrtS3V4aSigner extends Signer, Presigner {
4950
static AwsCrtS3V4aSigner create() {
5051
return DefaultAwsCrtS3V4aSigner.create();
5152
}
53+
54+
static Builder builder() {
55+
return DefaultAwsCrtS3V4aSigner.builder();
56+
}
57+
58+
interface Builder {
59+
/**
60+
* The region scope that this signer will default to if not provided explicitly when the signer is invoked.
61+
*
62+
* @param defaultRegionScope The default region scope.
63+
* @return This builder for method chaining.
64+
*/
65+
Builder defaultRegionScope(RegionScope defaultRegionScope);
66+
67+
AwsCrtS3V4aSigner build();
68+
}
5269
}

core/auth-crt/src/main/java/software/amazon/awssdk/authcrt/signer/AwsCrtV4aSigner.java

+17
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import software.amazon.awssdk.authcrt.signer.internal.DefaultAwsCrtV4aSigner;
2222
import software.amazon.awssdk.core.signer.Presigner;
2323
import software.amazon.awssdk.core.signer.Signer;
24+
import software.amazon.awssdk.regions.RegionScope;
2425

2526
/**
2627
* Enables signing and presigning using Sigv4a (Asymmetric Sigv4) through an external API call to the AWS CRT
@@ -39,4 +40,20 @@ public interface AwsCrtV4aSigner extends Signer, Presigner {
3940
static AwsCrtV4aSigner create() {
4041
return DefaultAwsCrtV4aSigner.create();
4142
}
43+
44+
static Builder builder() {
45+
return DefaultAwsCrtV4aSigner.builder();
46+
}
47+
48+
interface Builder {
49+
/**
50+
* The region scope that this signer will default to if not provided explicitly when the signer is invoked.
51+
*
52+
* @param defaultRegionScope The default region scope.
53+
* @return This builder for method chaining.
54+
*/
55+
Builder defaultRegionScope(RegionScope defaultRegionScope);
56+
57+
AwsCrtV4aSigner build();
58+
}
4259
}

0 commit comments

Comments
 (0)