Skip to content

Commit db830ab

Browse files
committed
Adding new services from re:invent 2017
1 parent c1cedcb commit db830ab

File tree

96 files changed

+43798
-19
lines changed

Some content is hidden

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

96 files changed

+43798
-19
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"category": "AWS SDK for Java v2",
3+
"type": "feature",
4+
"description": "Adding the following services from re:invent 2017:\n - Alexa For Business\n - AWS Migration Hub\n - AWS Cost Explorer\n - AWS Cloud9\n - AWS CloudHSM V2\n - Amazon Comprehend\n - AWS Glue\n - Amazon GuardDuty\n - Amazon Kinesis Video Streams\n - AWS Elemental MediaConvert\n - AWS Elemental MediaLive\n - AWS Elemental MediaPackage\n - AWS Elemental MediaStore\n - AWS Mobile\n - AmazonMQ\n - AWS Price List\n - AWS Resource Groups\n - Amazon SageMaker\n - AWS Serverless Application Repository\n - Amazon Route 53 Auto Naming\n - Amazon Translate\n - Amazon WorkMail"
5+
}

codegen/src/main/java/software/amazon/awssdk/codegen/IntermediateModelBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ private void setSimpleMethods(IntermediateModel model) {
217217

218218
if (inputShape.getRequired() == null
219219
&& !config.getBlacklistedSimpleMethods().contains(methodName)
220+
&& !(config.getBlacklistedSimpleMethods().size() == 1 && config.getBlacklistedSimpleMethods().get(0).equals("*"))
220221
&& !m.getValue().hasStreamingInput()
221222
&& !m.getValue().hasStreamingOutput()) {
222223
if (!methodName.matches(Constants.APPROVED_SIMPLE_METHOD_VERBS) &&

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class Example {
2828
private JsonNode output;
2929

3030
public Example(
31-
@JsonProperty(value = "description", required = true) String description,
31+
@JsonProperty(value = "description") String description,
3232
@JsonProperty(value = "id", required = true) String id,
3333
@JsonProperty(value = "title", required = true) String title,
3434
@JsonProperty(value = "input") JsonNode input,

codegen/src/main/java/software/amazon/awssdk/codegen/poet/PoetUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static void addDeprecated(Consumer<Class<?>> builder) {
6060

6161
public static void addJavadoc(Consumer<String> builder, String javadoc) {
6262
if (isNotBlank(javadoc)) {
63-
builder.accept(javadoc + (javadoc.endsWith("\n") ? "" : "\n"));
63+
builder.accept(javadoc.replace("$", "$$") + (javadoc.endsWith("\n") ? "" : "\n"));
6464
}
6565
}
6666

services/alexaforbusiness/pom.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License").
6+
~ You may not use this file except in compliance with the License.
7+
~ A copy of the License is located at
8+
~
9+
~ http://aws.amazon.com/apache2.0
10+
~
11+
~ or in the "license" file accompanying this file. This file is distributed
12+
~ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13+
~ express or implied. See the License for the specific language governing
14+
~ permissions and limitations under the License.
15+
-->
16+
17+
<project xmlns="http://maven.apache.org/POM/4.0.0"
18+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20+
<parent>
21+
<artifactId>services</artifactId>
22+
<groupId>software.amazon.awssdk</groupId>
23+
<version>2.0.0-preview-8-SNAPSHOT</version>
24+
</parent>
25+
<modelVersion>4.0.0</modelVersion>
26+
27+
<artifactId>alexaforbusiness</artifactId>
28+
<name>AWS Java SDK :: Services :: Alexa For Business</name>
29+
<description>The AWS Java SDK for Alexa For Business module holds the client classes that are used for communicating
30+
with Alexa For Business Service
31+
</description>
32+
<url>https://aws.amazon.com/sdkforjava</url>
33+
34+
</project>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"blacklistedSimpleMethods" : ["*"]
3+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"version": "1.0",
3+
"examples": {
4+
}
5+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"pagination": {
3+
"ListSkills": {
4+
"input_token": "NextToken",
5+
"output_token": "NextToken",
6+
"limit_key": "MaxResults"
7+
},
8+
"ListTags": {
9+
"input_token": "NextToken",
10+
"output_token": "NextToken",
11+
"limit_key": "MaxResults"
12+
},
13+
"SearchDevices": {
14+
"input_token": "NextToken",
15+
"output_token": "NextToken",
16+
"limit_key": "MaxResults"
17+
},
18+
"SearchProfiles": {
19+
"input_token": "NextToken",
20+
"output_token": "NextToken",
21+
"limit_key": "MaxResults"
22+
},
23+
"SearchRooms": {
24+
"input_token": "NextToken",
25+
"output_token": "NextToken",
26+
"limit_key": "MaxResults"
27+
},
28+
"SearchSkillGroups": {
29+
"input_token": "NextToken",
30+
"output_token": "NextToken",
31+
"limit_key": "MaxResults"
32+
},
33+
"SearchUsers": {
34+
"input_token": "NextToken",
35+
"output_token": "NextToken",
36+
"limit_key": "MaxResults"
37+
}
38+
}
39+
}

0 commit comments

Comments
 (0)