Skip to content

Commit e1b4829

Browse files
Merge pull request #742 from aws/staging/2a082c6e-6a3e-46f7-a875-647e4e8a760a
Pull request: release <- staging/2a082c6e-6a3e-46f7-a875-647e4e8a760a
2 parents 31e8933 + aea8fb8 commit e1b4829

File tree

349 files changed

+3477
-1125
lines changed

Some content is hidden

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

349 files changed

+3477
-1125
lines changed

.changes/2.10.72.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"version": "2.10.72",
3+
"date": "2020-02-25",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "AWS Secrets Manager",
8+
"description": "This release increases the maximum allowed size of SecretString or SecretBinary from 10KB to 64KB in the CreateSecret, UpdateSecret, PutSecretValue and GetSecretValue APIs."
9+
},
10+
{
11+
"type": "feature",
12+
"category": "Amazon DynamoDB Enhanced Client [Preview]",
13+
"description": "Improves discoverability by adding consumer-style methods for all client, table and index operations."
14+
},
15+
{
16+
"type": "feature",
17+
"category": "AWS Step Functions",
18+
"description": "This release adds support for CloudWatch Logs for Standard Workflows."
19+
},
20+
{
21+
"type": "feature",
22+
"category": "AWS SDK for Java v2",
23+
"description": "Updated service endpoint metadata."
24+
},
25+
{
26+
"type": "feature",
27+
"category": "Managed Streaming for Kafka",
28+
"description": "Amazon MSK has added support for Broker Log delivery to CloudWatch, S3, and Firehose."
29+
},
30+
{
31+
"type": "feature",
32+
"category": "AWS Outposts",
33+
"description": "This release adds DeleteSite and DeleteOutpost."
34+
}
35+
]
36+
}

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
# __2.10.72__ __2020-02-25__
2+
## __AWS Outposts__
3+
- ### Features
4+
- This release adds DeleteSite and DeleteOutpost.
5+
6+
## __AWS SDK for Java v2__
7+
- ### Features
8+
- Updated service endpoint metadata.
9+
10+
## __AWS Secrets Manager__
11+
- ### Features
12+
- This release increases the maximum allowed size of SecretString or SecretBinary from 10KB to 64KB in the CreateSecret, UpdateSecret, PutSecretValue and GetSecretValue APIs.
13+
14+
## __AWS Step Functions__
15+
- ### Features
16+
- This release adds support for CloudWatch Logs for Standard Workflows.
17+
18+
## __Amazon DynamoDB Enhanced Client [Preview]__
19+
- ### Features
20+
- Improves discoverability by adding consumer-style methods for all client, table and index operations.
21+
22+
## __Managed Streaming for Kafka__
23+
- ### Features
24+
- Amazon MSK has added support for Broker Log delivery to CloudWatch, S3, and Firehose.
25+
126
# __2.10.71__ __2020-02-24__
227
## __AWS IoT Events__
328
- ### Features

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ To automatically manage module versions (currently all modules have the same ver
4848
<dependency>
4949
<groupId>software.amazon.awssdk</groupId>
5050
<artifactId>bom</artifactId>
51-
<version>2.10.71</version>
51+
<version>2.10.72</version>
5252
<type>pom</type>
5353
<scope>import</scope>
5454
</dependency>
@@ -82,12 +82,12 @@ Alternatively you can add dependencies for the specific services you use only:
8282
<dependency>
8383
<groupId>software.amazon.awssdk</groupId>
8484
<artifactId>ec2</artifactId>
85-
<version>2.10.71</version>
85+
<version>2.10.72</version>
8686
</dependency>
8787
<dependency>
8888
<groupId>software.amazon.awssdk</groupId>
8989
<artifactId>s3</artifactId>
90-
<version>2.10.71</version>
90+
<version>2.10.72</version>
9191
</dependency>
9292
```
9393

@@ -99,7 +99,7 @@ You can import the whole SDK into your project (includes *ALL* services). Please
9999
<dependency>
100100
<groupId>software.amazon.awssdk</groupId>
101101
<artifactId>aws-sdk-java</artifactId>
102-
<version>2.10.71</version>
102+
<version>2.10.72</version>
103103
</dependency>
104104
```
105105

aws-sdk-java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>software.amazon.awssdk</groupId>
2121
<artifactId>aws-sdk-java-pom</artifactId>
22-
<version>2.10.71</version>
22+
<version>2.10.72</version>
2323
<relativePath>../pom.xml</relativePath>
2424
</parent>
2525
<artifactId>aws-sdk-java</artifactId>

bom-internal/pom.xml

Lines changed: 1 addition & 1 deletion
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.10.71</version>
23+
<version>2.10.72</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>software.amazon.awssdk</groupId>
2121
<artifactId>aws-sdk-java-pom</artifactId>
22-
<version>2.10.71</version>
22+
<version>2.10.72</version>
2323
<relativePath>../pom.xml</relativePath>
2424
</parent>
2525
<artifactId>bom</artifactId>

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.10.71</version>
24+
<version>2.10.72</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
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>aws-sdk-java-pom</artifactId>
25-
<version>2.10.71</version>
25+
<version>2.10.72</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<artifactId>codegen-lite-maven-plugin</artifactId>

codegen-lite/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.10.71</version>
24+
<version>2.10.72</version>
2525
</parent>
2626
<artifactId>codegen-lite</artifactId>
2727
<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.10.71</version>
25+
<version>2.10.72</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.10.71</version>
24+
<version>2.10.72</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

codegen/src/main/java/software/amazon/awssdk/codegen/naming/DefaultNamingStrategy.java

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
import static software.amazon.awssdk.codegen.internal.Constant.REQUEST_CLASS_SUFFIX;
2424
import static software.amazon.awssdk.codegen.internal.Constant.RESPONSE_CLASS_SUFFIX;
2525
import static software.amazon.awssdk.codegen.internal.Utils.unCapitalize;
26+
import static software.amazon.awssdk.utils.internal.CodegenNamingUtils.pascalCase;
27+
import static software.amazon.awssdk.utils.internal.CodegenNamingUtils.splitOnWordBoundaries;
2628

2729
import java.util.Arrays;
2830
import java.util.Collections;
@@ -183,10 +185,6 @@ private String screamCase(String word) {
183185
return Stream.of(splitOnWordBoundaries(word)).map(s -> s.toUpperCase(Locale.US)).collect(joining("_"));
184186
}
185187

186-
private String pascalCase(String word) {
187-
return Stream.of(splitOnWordBoundaries(word)).map(StringUtils::lowerCase).map(Utils::capitalize).collect(joining());
188-
}
189-
190188
private String getCustomizedPackageName(String serviceName, String defaultPattern) {
191189
return String.format(defaultPattern, StringUtils.lowerCase(serviceName));
192190
}
@@ -357,31 +355,4 @@ private boolean isDisallowedNameForShape(String name, Shape parentShape) {
357355
return RESERVED_STRUCTURE_METHOD_NAMES.contains(name);
358356
}
359357
}
360-
361-
private String[] splitOnWordBoundaries(String toSplit) {
362-
String result = toSplit;
363-
364-
// All non-alphanumeric characters are spaces
365-
result = result.replaceAll("[^A-Za-z0-9]+", " "); // acm-success -> "acm success"
366-
367-
// If a number has a standalone v in front of it, separate it out (version).
368-
result = result.replaceAll("([^a-z]{2,})v([0-9]+)", "$1 v$2 ") // TESTv4 -> "TEST v4 "
369-
.replaceAll("([^A-Z]{2,})V([0-9]+)", "$1 V$2 "); // TestV4 -> "Test V4 "
370-
371-
// Add a space between camelCased words
372-
result = String.join(" ", result.split("(?<=[a-z])(?=[A-Z]([a-zA-Z]|[0-9]))")); // AcmSuccess -> "Acm Success"
373-
374-
// Add a space after acronyms
375-
result = result.replaceAll("([A-Z]+)([A-Z][a-z])", "$1 $2"); // ACMSuccess -> "ACM Success"
376-
377-
// Add space after a number in the middle of a word
378-
result = result.replaceAll("([0-9])([a-zA-Z])", "$1 $2"); // s3ec2 -> "s3 ec2"
379-
380-
// Remove extra spaces - multiple consecutive ones or those and the beginning/end of words
381-
result = result.replaceAll(" +", " ") // "Foo Bar" -> "Foo Bar"
382-
.trim(); // " Foo " -> Foo
383-
384-
return result.split(" ");
385-
}
386-
387358
}

codegen/src/main/java/software/amazon/awssdk/codegen/poet/model/ResponseMetadataSpec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
import software.amazon.awssdk.codegen.poet.ClassSpec;
3131
import software.amazon.awssdk.codegen.poet.PoetExtensions;
3232
import software.amazon.awssdk.codegen.poet.PoetUtils;
33-
import software.amazon.awssdk.codegen.utils.NamingUtils;
3433
import software.amazon.awssdk.utils.CollectionUtils;
3534
import software.amazon.awssdk.utils.StringUtils;
35+
import software.amazon.awssdk.utils.internal.CodegenNamingUtils;
3636

3737
/**
3838
* Generate ResponseMetadata class
@@ -108,7 +108,7 @@ private List<MethodSpec> metadataMethods() {
108108
* Convert key (UPPER_CASE) to method name.
109109
*/
110110
private String convertMethodName(String key) {
111-
String pascalCase = NamingUtils.pascalCase(key);
111+
String pascalCase = CodegenNamingUtils.pascalCase(key);
112112
return StringUtils.uncapitalize(pascalCase);
113113
}
114114

core/annotations/pom.xml

Lines changed: 1 addition & 1 deletion
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.10.71</version>
23+
<version>2.10.72</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/arns/pom.xml

Lines changed: 1 addition & 1 deletion
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.10.71</version>
23+
<version>2.10.72</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/auth/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.10.71</version>
25+
<version>2.10.72</version>
2626
</parent>
2727

2828
<artifactId>auth</artifactId>

core/aws-core/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.10.71</version>
25+
<version>2.10.72</version>
2626
</parent>
2727

2828
<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.10.71</version>
24+
<version>2.10.72</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.10.71</version>
25+
<version>2.10.72</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
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>protocols</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.10.71</version>
23+
<version>2.10.72</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>protocols</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.10.71</version>
23+
<version>2.10.72</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>protocols</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.10.71</version>
23+
<version>2.10.72</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>protocols</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.10.71</version>
23+
<version>2.10.72</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>protocols</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.10.71</version>
23+
<version>2.10.72</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/protocols/pom.xml

Lines changed: 1 addition & 1 deletion
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.10.71</version>
23+
<version>2.10.72</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/protocols/protocol-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>protocols</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.10.71</version>
23+
<version>2.10.72</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/regions/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.10.71</version>
25+
<version>2.10.72</version>
2626
</parent>
2727

2828
<artifactId>regions</artifactId>

core/regions/src/main/resources/software/amazon/awssdk/regions/internal/region/endpoints.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,6 +1446,16 @@
14461446
"us-west-2" : { }
14471447
}
14481448
},
1449+
"elastic-inference" : {
1450+
"endpoints" : {
1451+
"ap-northeast-1" : { },
1452+
"ap-northeast-2" : { },
1453+
"eu-west-1" : { },
1454+
"us-east-1" : { },
1455+
"us-east-2" : { },
1456+
"us-west-2" : { }
1457+
}
1458+
},
14491459
"elasticache" : {
14501460
"endpoints" : {
14511461
"ap-east-1" : { },

core/sdk-core/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>core</artifactId>
24-
<version>2.10.71</version>
24+
<version>2.10.72</version>
2525
</parent>
2626
<artifactId>sdk-core</artifactId>
2727
<name>AWS Java SDK :: SDK Core</name>

0 commit comments

Comments
 (0)