Skip to content

Commit 7b68d12

Browse files
Merge pull request #2041 from aws/staging/b4e3213d-560b-405c-9fd0-93978cbaa31f
Pull request: release <- staging/b4e3213d-560b-405c-9fd0-93978cbaa31f
2 parents ec957bd + 7950746 commit 7b68d12

File tree

463 files changed

+2486
-1463
lines changed

Some content is hidden

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

463 files changed

+2486
-1463
lines changed

.changes/2.17.199.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"version": "2.17.199",
3+
"date": "2022-05-25",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "Amazon Voice ID",
8+
"contributor": "",
9+
"description": "VoiceID will now automatically expire Speakers if they haven't been accessed for Enrollment, Re-enrollment or Successful Auth for three years. The Speaker APIs now return a \"LastAccessedAt\" time for Speakers, and the EvaluateSession API returns \"SPEAKER_EXPIRED\" Auth Decision for EXPIRED Speakers."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "Amazon FSx",
14+
"contributor": "",
15+
"description": "This release adds root squash support to FSx for Lustre to restrict root level access from clients by mapping root users to a less-privileged user/group with limited permissions."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "Amazon SageMaker Service",
20+
"contributor": "",
21+
"description": "Amazon SageMaker Autopilot adds support for manually selecting features from the input dataset using the CreateAutoMLJob API."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "AWS App Runner",
26+
"contributor": "",
27+
"description": "Documentation-only update added for CodeConfiguration."
28+
},
29+
{
30+
"type": "feature",
31+
"category": "AWS CloudFormation",
32+
"contributor": "",
33+
"description": "Add a new parameter statusReason to DescribeStackSetOperation output for additional details"
34+
},
35+
{
36+
"type": "feature",
37+
"category": "AWS SDK for Java v2",
38+
"contributor": "",
39+
"description": "Updated service endpoint metadata."
40+
},
41+
{
42+
"type": "feature",
43+
"category": "Amazon API Gateway",
44+
"contributor": "",
45+
"description": "Documentation updates for Amazon API Gateway"
46+
},
47+
{
48+
"type": "feature",
49+
"category": "Amazon Lookout for Metrics",
50+
"contributor": "",
51+
"description": "Adding AthenaSourceConfig for MetricSet APIs to support Athena as a data source."
52+
},
53+
{
54+
"type": "feature",
55+
"category": "AWS Secrets Manager",
56+
"contributor": "",
57+
"description": "Documentation updates for Secrets Manager"
58+
}
59+
]
60+
}

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
# __2.17.199__ __2022-05-25__
2+
## __AWS App Runner__
3+
- ### Features
4+
- Documentation-only update added for CodeConfiguration.
5+
6+
## __AWS CloudFormation__
7+
- ### Features
8+
- Add a new parameter statusReason to DescribeStackSetOperation output for additional details
9+
10+
## __AWS SDK for Java v2__
11+
- ### Features
12+
- Updated service endpoint metadata.
13+
14+
## __AWS Secrets Manager__
15+
- ### Features
16+
- Documentation updates for Secrets Manager
17+
18+
## __Amazon API Gateway__
19+
- ### Features
20+
- Documentation updates for Amazon API Gateway
21+
22+
## __Amazon FSx__
23+
- ### Features
24+
- This release adds root squash support to FSx for Lustre to restrict root level access from clients by mapping root users to a less-privileged user/group with limited permissions.
25+
26+
## __Amazon Lookout for Metrics__
27+
- ### Features
28+
- Adding AthenaSourceConfig for MetricSet APIs to support Athena as a data source.
29+
30+
## __Amazon SageMaker Service__
31+
- ### Features
32+
- Amazon SageMaker Autopilot adds support for manually selecting features from the input dataset using the CreateAutoMLJob API.
33+
34+
## __Amazon Voice ID__
35+
- ### Features
36+
- VoiceID will now automatically expire Speakers if they haven't been accessed for Enrollment, Re-enrollment or Successful Auth for three years. The Speaker APIs now return a "LastAccessedAt" time for Speakers, and the EvaluateSession API returns "SPEAKER_EXPIRED" Auth Decision for EXPIRED Speakers.
37+
138
# __2.17.198__ __2022-05-24__
239
## __AWS Elemental MediaConvert__
340
- ### 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.17.198</version>
55+
<version>2.17.199</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.198</version>
89+
<version>2.17.199</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>software.amazon.awssdk</groupId>
9393
<artifactId>s3</artifactId>
94-
<version>2.17.198</version>
94+
<version>2.17.199</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.198</version>
106+
<version>2.17.199</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.17.198</version>
23+
<version>2.17.199</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.17.198</version>
23+
<version>2.17.199</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.17.198</version>
23+
<version>2.17.199</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.17.198</version>
23+
<version>2.17.199</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.17.198</version>
20+
<version>2.17.199</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.17.198</version>
23+
<version>2.17.199</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.17.198</version>
20+
<version>2.17.199</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.17.198</version>
24+
<version>2.17.199</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.17.198</version>
25+
<version>2.17.199</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.17.198</version>
24+
<version>2.17.199</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.17.198</version>
25+
<version>2.17.199</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.17.198</version>
24+
<version>2.17.199</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

codegen/src/main/java/software/amazon/awssdk/codegen/docs/AsyncOperationDocProvider.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515

1616
package software.amazon.awssdk.codegen.docs;
1717

18+
19+
import static software.amazon.awssdk.codegen.internal.Constant.ASYNC_STREAMING_INPUT_PARAM;
20+
import static software.amazon.awssdk.codegen.internal.Constant.ASYNC_STREAMING_OUTPUT_PARAM;
21+
1822
import software.amazon.awssdk.codegen.model.intermediate.IntermediateModel;
1923
import software.amazon.awssdk.codegen.model.intermediate.OperationModel;
2024

@@ -66,10 +70,10 @@ protected void applyReturns(DocumentationBuilder docBuilder) {
6670
protected void applyParams(DocumentationBuilder docBuilder) {
6771
emitRequestParm(docBuilder);
6872
if (opModel.hasStreamingInput()) {
69-
docBuilder.param("requestBody", REQUEST_BODY_DOCS + getStreamingInputDocs());
73+
docBuilder.param(ASYNC_STREAMING_INPUT_PARAM, REQUEST_BODY_DOCS + getStreamingInputDocs());
7074
}
7175
if (opModel.hasStreamingOutput()) {
72-
docBuilder.param("asyncResponseTransformer", STREAM_RESPONSE_TRANSFORMER_DOCS + getStreamingOutputDocs());
76+
docBuilder.param(ASYNC_STREAMING_OUTPUT_PARAM, STREAM_RESPONSE_TRANSFORMER_DOCS + getStreamingOutputDocs());
7377
}
7478
}
7579

codegen/src/main/java/software/amazon/awssdk/codegen/docs/PaginationDocs.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import software.amazon.awssdk.codegen.model.intermediate.IntermediateModel;
2525
import software.amazon.awssdk.codegen.model.intermediate.OperationModel;
2626
import software.amazon.awssdk.codegen.model.service.PaginatorDefinition;
27-
import software.amazon.awssdk.codegen.poet.PoetExtensions;
27+
import software.amazon.awssdk.codegen.poet.PoetExtension;
2828
import software.amazon.awssdk.codegen.utils.PaginatorUtils;
2929
import software.amazon.awssdk.utils.async.SequentialSubscriber;
3030

@@ -33,13 +33,13 @@ public class PaginationDocs {
3333
private static final String SUBSCRIBE_METHOD_NAME = "subscribe";
3434

3535
private final OperationModel operationModel;
36-
private final PoetExtensions poetExtensions;
36+
private final PoetExtension poetExtensions;
3737
private final PaginatorDefinition paginatorDefinition;
3838

3939
public PaginationDocs(IntermediateModel intermediateModel, OperationModel operationModel,
4040
PaginatorDefinition paginatorDefinition) {
4141
this.operationModel = operationModel;
42-
this.poetExtensions = new PoetExtensions(intermediateModel);
42+
this.poetExtensions = new PoetExtension(intermediateModel);
4343
this.paginatorDefinition = paginatorDefinition;
4444
}
4545

codegen/src/main/java/software/amazon/awssdk/codegen/docs/SyncOperationDocProvider.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
import static software.amazon.awssdk.codegen.internal.Constant.SYNC_CLIENT_DESTINATION_PATH_PARAM_NAME;
1919
import static software.amazon.awssdk.codegen.internal.Constant.SYNC_CLIENT_SOURCE_PATH_PARAM_NAME;
20+
import static software.amazon.awssdk.codegen.internal.Constant.SYNC_STREAMING_INPUT_PARAM;
21+
import static software.amazon.awssdk.codegen.internal.Constant.SYNC_STREAMING_OUTPUT_PARAM;
2022

2123
import software.amazon.awssdk.codegen.model.intermediate.IntermediateModel;
2224
import software.amazon.awssdk.codegen.model.intermediate.OperationModel;
@@ -76,11 +78,11 @@ protected void applyReturns(DocumentationBuilder docBuilder) {
7678
protected void applyParams(DocumentationBuilder docBuilder) {
7779
emitRequestParm(docBuilder);
7880
if (opModel.hasStreamingInput()) {
79-
docBuilder.param("requestBody", REQUEST_BODY_DOCS + getStreamingInputDocs());
81+
docBuilder.param(SYNC_STREAMING_INPUT_PARAM, REQUEST_BODY_DOCS + getStreamingInputDocs());
8082

8183
}
8284
if (opModel.hasStreamingOutput()) {
83-
docBuilder.param("responseTransformer", STREAM_RESPONSE_HANDLER_DOCS + getStreamingOutputDocs(),
85+
docBuilder.param(SYNC_STREAMING_OUTPUT_PARAM, STREAM_RESPONSE_HANDLER_DOCS + getStreamingOutputDocs(),
8486
opModel.getOutputShape().getShapeName(), getStreamingOutputDocs());
8587
}
8688
}

codegen/src/main/java/software/amazon/awssdk/codegen/emitters/GeneratorTaskParams.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.slf4j.LoggerFactory;
2121
import software.amazon.awssdk.codegen.emitters.tasks.SharedModelsTaskParamsValidator;
2222
import software.amazon.awssdk.codegen.model.intermediate.IntermediateModel;
23-
import software.amazon.awssdk.codegen.poet.PoetExtensions;
23+
import software.amazon.awssdk.codegen.poet.PoetExtension;
2424

2525
/**
2626
* Parameters for generator tasks.
@@ -30,14 +30,14 @@ public class GeneratorTaskParams {
3030

3131
private final IntermediateModel model;
3232
private final GeneratorPathProvider pathProvider;
33-
private final PoetExtensions poetExtensions;
33+
private final PoetExtension poetExtensions;
3434
private final Logger log = LoggerFactory.getLogger(GeneratorTaskParams.class);
3535

3636
private GeneratorTaskParams(IntermediateModel model,
3737
GeneratorPathProvider pathProvider) {
3838
this.model = model;
3939
this.pathProvider = pathProvider;
40-
this.poetExtensions = new PoetExtensions(model);
40+
this.poetExtensions = new PoetExtension(model);
4141
}
4242

4343
public static GeneratorTaskParams create(IntermediateModel model, String sourceDirectory, String testDirectory) {
@@ -64,7 +64,7 @@ public GeneratorPathProvider getPathProvider() {
6464
/**
6565
* @return Extensions and convenience methods for Java Poet.
6666
*/
67-
public PoetExtensions getPoetExtensions() {
67+
public PoetExtension getPoetExtensions() {
6868
return poetExtensions;
6969
}
7070

codegen/src/main/java/software/amazon/awssdk/codegen/emitters/tasks/AsyncClientGeneratorTasks.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import software.amazon.awssdk.codegen.poet.builder.AsyncClientBuilderInterface;
2525
import software.amazon.awssdk.codegen.poet.client.AsyncClientClass;
2626
import software.amazon.awssdk.codegen.poet.client.AsyncClientInterface;
27+
import software.amazon.awssdk.codegen.poet.client.DelegatingAsyncClientClass;
2728
import software.amazon.awssdk.codegen.poet.endpointdiscovery.EndpointDiscoveryAsyncCacheLoaderGenerator;
2829

2930
public class AsyncClientGeneratorTasks extends BaseGeneratorTasks {
@@ -46,13 +47,21 @@ protected List<GeneratorTask> createTasks() throws Exception {
4647
generatorTasks.add(createEndpointDiscoveryCacheLoaderTask());
4748
}
4849

50+
if (model.getCustomizationConfig().isDelegateAsyncClientClass()) {
51+
generatorTasks.add(createDecoratorClientClassTask());
52+
}
53+
4954
return generatorTasks;
5055
}
5156

5257
private GeneratorTask createClientClassTask() throws IOException {
5358
return createPoetGeneratorTask(new AsyncClientClass(generatorTaskParams));
5459
}
5560

61+
private GeneratorTask createDecoratorClientClassTask() throws IOException {
62+
return createPoetGeneratorTask(new DelegatingAsyncClientClass(model));
63+
}
64+
5665
private GeneratorTask createClientBuilderTask() throws IOException {
5766
return createPoetGeneratorTask(new AsyncClientBuilderClass(model));
5867
}

codegen/src/main/java/software/amazon/awssdk/codegen/internal/Constant.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ public final class Constant {
9292

9393
public static final String APPROVED_SIMPLE_METHOD_VERBS = "(get|list|describe|lookup|batchGet).*";
9494

95+
public static final String ASYNC_STREAMING_INPUT_PARAM = "requestBody";
96+
public static final String ASYNC_STREAMING_OUTPUT_PARAM = "asyncResponseTransformer";
97+
public static final String SYNC_STREAMING_INPUT_PARAM = "requestBody";
98+
public static final String SYNC_STREAMING_OUTPUT_PARAM = "responseTransformer";
99+
public static final String EVENT_PUBLISHER_PARAM_NAME = "requestStream";
100+
public static final String EVENT_RESPONSE_HANDLER_PARAM_NAME = "asyncResponseHandler";
101+
95102
private Constant() {
96103
}
97104
}

0 commit comments

Comments
 (0)