Skip to content

Commit b8b218e

Browse files
duy3101Dewey Nguyen
authored and
Dewey Nguyen
committed
Merge branch 'master' into master
2 parents 77a08da + 51e6d71 commit b8b218e

File tree

372 files changed

+3287
-1503
lines changed

Some content is hidden

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

372 files changed

+3287
-1503
lines changed

.changes/2.16.40.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"version": "2.16.40",
3+
"date": "2021-04-12",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "AWS CodeBuild",
8+
"contributor": "",
9+
"description": "AWS CodeBuild now allows you to set the access permissions for build artifacts, project artifacts, and log files that are uploaded to an Amazon S3 bucket that is owned by another account."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "AWS SDK for Java v2",
14+
"contributor": "",
15+
"description": "Updated service endpoint metadata."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "Amazon FSx",
20+
"contributor": "",
21+
"description": "Support for cross-region and cross-account backup copies"
22+
}
23+
]
24+
}

.changes/2.16.41.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"version": "2.16.41",
3+
"date": "2021-04-13",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "Amazon Lightsail",
8+
"contributor": "",
9+
"description": "Documentation updates for Amazon Lightsail."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "AWS Security Token Service",
14+
"contributor": "",
15+
"description": "This release adds the SourceIdentity parameter that can be set when assuming a role."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "Amazon Relational Database Service",
20+
"contributor": "",
21+
"description": "Clarify that enabling or disabling automated backups causes a brief downtime, not an outage."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "DynamoDB Enhanced Client",
26+
"contributor": "",
27+
"description": "Added `DynamoDbIgnoreNulls` attribute level annotation that specifies attributes with null values should be ignored. See [#2303](https://github.com/aws/aws-sdk-java-v2/issues/2303)"
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Amazon Redshift",
32+
"contributor": "",
33+
"description": "Added support to enable AQUA in Amazon Redshift clusters."
34+
},
35+
{
36+
"type": "feature",
37+
"category": "AWS Comprehend Medical",
38+
"contributor": "",
39+
"description": "The InferICD10CM API now returns TIME_EXPRESSION entities that refer to medical conditions."
40+
}
41+
]
42+
}

.changes/2.16.42.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"version": "2.16.42",
3+
"date": "2021-04-14",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "Amazon Route 53",
8+
"contributor": "",
9+
"description": "Documentation updates for route53"
10+
},
11+
{
12+
"type": "feature",
13+
"category": "AWS MediaConnect",
14+
"contributor": "",
15+
"description": "For flows that use Listener protocols, you can now easily locate an output's outbound IP address for a private internet. Additionally, MediaConnect now supports the Waiters feature that makes it easier to poll for the status of a flow until it reaches its desired state."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "AWS SDK for Java v2",
20+
"contributor": "",
21+
"description": "Add a new Optional getter for the content length of RequestBody, also add a new fromContentProvider method allowing contentLength to be null."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "AWS Config",
26+
"contributor": "",
27+
"description": "Add exception for DeleteRemediationConfiguration and DescribeRemediationExecutionStatus"
28+
},
29+
{
30+
"type": "feature",
31+
"category": "AWS CodeStar connections",
32+
"contributor": "",
33+
"description": "This release adds tagging support for CodeStar Connections Host resources"
34+
}
35+
]
36+
}

.changes/2.16.43.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"version": "2.16.43",
3+
"date": "2021-04-15",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "AWS SDK for Java v2",
8+
"contributor": "",
9+
"description": "Updated service endpoint metadata."
10+
},
11+
{
12+
"type": "bugfix",
13+
"category": "Amazon DynamoDB",
14+
"contributor": "",
15+
"description": "Fixed an issue where structure builders containing List<Map<String, Shape>> could not be marshalled using bean-based serializers."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "AWS Database Migration Service",
20+
"contributor": "",
21+
"description": "AWS DMS added support of TLS for Kafka endpoint. Added Describe endpoint setting API for DMS endpoints."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "AWS Security Token Service",
26+
"contributor": "",
27+
"description": "STS now supports assume role with Web Identity using JWT token length upto 20000 characters"
28+
}
29+
]
30+
}

.changes/next-release/feature-AWSSDKforJavav2-70d4f4f.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"type": "feature",
33
"category": "AWS SDK for Java v2",
44
"contributor": "duy310",
5-
"description": "Add short type support"
5+
"description": "Added support for short type in Code generator."
66
}

CHANGELOG.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,79 @@
1+
# __2.16.43__ __2021-04-15__
2+
## __AWS Database Migration Service__
3+
- ### Features
4+
- AWS DMS added support of TLS for Kafka endpoint. Added Describe endpoint setting API for DMS endpoints.
5+
6+
## __AWS SDK for Java v2__
7+
- ### Features
8+
- Updated service endpoint metadata.
9+
10+
## __AWS Security Token Service__
11+
- ### Features
12+
- STS now supports assume role with Web Identity using JWT token length upto 20000 characters
13+
14+
## __Amazon DynamoDB__
15+
- ### Bugfixes
16+
- Fixed an issue where structure builders containing List<Map<String, Shape>> could not be marshalled using bean-based serializers.
17+
18+
# __2.16.42__ __2021-04-14__
19+
## __AWS CodeStar connections__
20+
- ### Features
21+
- This release adds tagging support for CodeStar Connections Host resources
22+
23+
## __AWS Config__
24+
- ### Features
25+
- Add exception for DeleteRemediationConfiguration and DescribeRemediationExecutionStatus
26+
27+
## __AWS MediaConnect__
28+
- ### Features
29+
- For flows that use Listener protocols, you can now easily locate an output's outbound IP address for a private internet. Additionally, MediaConnect now supports the Waiters feature that makes it easier to poll for the status of a flow until it reaches its desired state.
30+
31+
## __AWS SDK for Java v2__
32+
- ### Features
33+
- Add a new Optional getter for the content length of RequestBody, also add a new fromContentProvider method allowing contentLength to be null.
34+
35+
## __Amazon Route 53__
36+
- ### Features
37+
- Documentation updates for route53
38+
39+
# __2.16.41__ __2021-04-13__
40+
## __AWS Comprehend Medical__
41+
- ### Features
42+
- The InferICD10CM API now returns TIME_EXPRESSION entities that refer to medical conditions.
43+
44+
## __AWS Security Token Service__
45+
- ### Features
46+
- This release adds the SourceIdentity parameter that can be set when assuming a role.
47+
48+
## __Amazon Lightsail__
49+
- ### Features
50+
- Documentation updates for Amazon Lightsail.
51+
52+
## __Amazon Redshift__
53+
- ### Features
54+
- Added support to enable AQUA in Amazon Redshift clusters.
55+
56+
## __Amazon Relational Database Service__
57+
- ### Features
58+
- Clarify that enabling or disabling automated backups causes a brief downtime, not an outage.
59+
60+
## __DynamoDB Enhanced Client__
61+
- ### Features
62+
- Added `DynamoDbIgnoreNulls` attribute level annotation that specifies attributes with null values should be ignored. See [#2303](https://github.com/aws/aws-sdk-java-v2/issues/2303)
63+
64+
# __2.16.40__ __2021-04-12__
65+
## __AWS CodeBuild__
66+
- ### Features
67+
- AWS CodeBuild now allows you to set the access permissions for build artifacts, project artifacts, and log files that are uploaded to an Amazon S3 bucket that is owned by another account.
68+
69+
## __AWS SDK for Java v2__
70+
- ### Features
71+
- Updated service endpoint metadata.
72+
73+
## __Amazon FSx__
74+
- ### Features
75+
- Support for cross-region and cross-account backup copies
76+
177
# __2.16.39__ __2021-04-09__
278
## __AWS Shield__
379
- ### Features

README.md

Lines changed: 4 additions & 4 deletions
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.16.39</version>
55+
<version>2.16.43</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.16.39</version>
89+
<version>2.16.43</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>software.amazon.awssdk</groupId>
9393
<artifactId>s3</artifactId>
94-
<version>2.16.39</version>
94+
<version>2.16.43</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.16.39</version>
106+
<version>2.16.43</version>
107107
</dependency>
108108
```
109109

archetypes/archetype-app-quickstart/pom.xml

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

archetypes/archetype-lambda/pom.xml

Lines changed: 1 addition & 1 deletion
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.16.40-SNAPSHOT</version>
23+
<version>2.16.44-SNAPSHOT</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetype-lambda</artifactId>

archetypes/archetype-tools/pom.xml

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

archetypes/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.16.40-SNAPSHOT</version>
23+
<version>2.16.44-SNAPSHOT</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetypes</artifactId>

aws-sdk-java/pom.xml

Lines changed: 1 addition & 1 deletion
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.16.40-SNAPSHOT</version>
20+
<version>2.16.44-SNAPSHOT</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<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.16.40-SNAPSHOT</version>
23+
<version>2.16.44-SNAPSHOT</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
@@ -17,7 +17,7 @@
1717
<parent>
1818
<groupId>software.amazon.awssdk</groupId>
1919
<artifactId>aws-sdk-java-pom</artifactId>
20-
<version>2.16.40-SNAPSHOT</version>
20+
<version>2.16.44-SNAPSHOT</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<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.16.40-SNAPSHOT</version>
24+
<version>2.16.44-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
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>aws-sdk-java-pom</artifactId>
25-
<version>2.16.40-SNAPSHOT</version>
25+
<version>2.16.44-SNAPSHOT</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.16.40-SNAPSHOT</version>
24+
<version>2.16.44-SNAPSHOT</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.16.40-SNAPSHOT</version>
25+
<version>2.16.44-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.16.40-SNAPSHOT</version>
24+
<version>2.16.44-SNAPSHOT</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

codegen/src/main/java/software/amazon/awssdk/codegen/model/intermediate/MemberModel.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,12 @@ public boolean isCollectionWithBuilderMember() {
620620
(isMap() && getMapModel().getValueModel() != null && getMapModel().getValueModel().hasBuilder());
621621
}
622622

623+
@JsonIgnore
624+
public boolean isCollectionWithNestedBuilderMember() {
625+
return isList() && getListModel().getListMemberModel() != null && getListModel().isMap() &&
626+
getListModel().getListMemberModel().getMapModel().getValueModel().hasBuilder();
627+
}
628+
623629
@JsonIgnore
624630
public boolean isSdkBytesType() {
625631
return SdkBytes.class.getName().equals(variable.getVariableType());

0 commit comments

Comments
 (0)