Skip to content

Commit 73634e0

Browse files
authored
Greengrass Client V2 (#210)
- Client can automatically create a proper client (no more IPCUtils needed) and use custom options as needed. - The V2 client differentiates between APIs which require a streaming response and those that do not. Those that don't, do not have a parameter to register a callback. - We now generate both sync and async overloads for all calls. The sync version will block on the future and throw any service errors. - Client has overloads with the old StreamHandler object as well as options for providing a simple callback for stream events, errors, and closing. Optionally (default is true), an executor will be used to run the stream event callback when the callback is provided as a callback. This prevents users from accidentally blocking the event loop. - I've updated the data model setters to return this so that we can now chain calls. - Streaming APIs return the handler so that the user can close the stream
1 parent d01e9b8 commit 73634e0

File tree

420 files changed

+32675
-78304
lines changed

Some content is hidden

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

420 files changed

+32675
-78304
lines changed

docs/allclasses-frame.html

Lines changed: 278 additions & 0 deletions
Large diffs are not rendered by default.

docs/allclasses-index.html

Lines changed: 0 additions & 1356 deletions
This file was deleted.

docs/allclasses.html renamed to docs/allclasses-noframe.html

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,16 @@
1-
<!DOCTYPE HTML>
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
55
<!-- Generated by javadoc -->
6-
<title>All Classes (AWS IoT Device SDK Java V2)</title>
76
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7+
<title>All Classes (AWS IoT Device SDK Java V2)</title>
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
9-
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
109
<script type="text/javascript" src="script.js"></script>
11-
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
12-
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
13-
<!--[if IE]>
14-
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
15-
<![endif]-->
16-
<script type="text/javascript" src="jquery/jquery-3.5.1.js"></script>
17-
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
1810
</head>
1911
<body>
2012
<h1 class="bar">All&nbsp;Classes</h1>
21-
<main role="main" class="indexContainer">
13+
<div class="indexContainer">
2214
<ul>
2315
<li><a href="software/amazon/awssdk/eventstreamrpc/model/AccessDeniedException.html" title="class in software.amazon.awssdk.eventstreamrpc.model">AccessDeniedException</a></li>
2416
<li><a href="software/amazon/awssdk/iot/AwsIotMqttConnectionBuilder.html" title="class in software.amazon.awssdk.iot">AwsIotMqttConnectionBuilder</a></li>
@@ -116,6 +108,9 @@ <h1 class="bar">All&nbsp;Classes</h1>
116108
<li><a href="software/amazon/awssdk/eventstreamrpc/GreengrassConnectMessageSupplier.html" title="class in software.amazon.awssdk.eventstreamrpc">GreengrassConnectMessageSupplier</a></li>
117109
<li><a href="software/amazon/awssdk/aws/greengrass/GreengrassCoreIPC.html" title="interface in software.amazon.awssdk.aws.greengrass"><span class="interfaceName">GreengrassCoreIPC</span></a></li>
118110
<li><a href="software/amazon/awssdk/aws/greengrass/GreengrassCoreIPCClient.html" title="class in software.amazon.awssdk.aws.greengrass">GreengrassCoreIPCClient</a></li>
111+
<li><a href="software/amazon/awssdk/aws/greengrass/GreengrassCoreIPCClientV2.html" title="class in software.amazon.awssdk.aws.greengrass">GreengrassCoreIPCClientV2</a></li>
112+
<li><a href="software/amazon/awssdk/aws/greengrass/GreengrassCoreIPCClientV2.Builder.html" title="class in software.amazon.awssdk.aws.greengrass">GreengrassCoreIPCClientV2.Builder</a></li>
113+
<li><a href="software/amazon/awssdk/aws/greengrass/GreengrassCoreIPCClientV2.StreamingResponse.html" title="class in software.amazon.awssdk.aws.greengrass">GreengrassCoreIPCClientV2.StreamingResponse</a></li>
119114
<li><a href="software/amazon/awssdk/aws/greengrass/model/GreengrassCoreIPCError.html" title="class in software.amazon.awssdk.aws.greengrass.model">GreengrassCoreIPCError</a></li>
120115
<li><a href="software/amazon/awssdk/aws/greengrass/GreengrassCoreIPCServiceModel.html" title="class in software.amazon.awssdk.aws.greengrass">GreengrassCoreIPCServiceModel</a></li>
121116
<li><a href="software/amazon/awssdk/eventstreamrpc/GreengrassEventStreamConnectMessage.html" title="class in software.amazon.awssdk.eventstreamrpc">GreengrassEventStreamConnectMessage</a></li>
@@ -278,6 +273,6 @@ <h1 class="bar">All&nbsp;Classes</h1>
278273
<li><a href="software/amazon/awssdk/eventstreamrpc/model/ValidationException.html" title="class in software.amazon.awssdk.eventstreamrpc.model">ValidationException</a></li>
279274
<li><a href="software/amazon/awssdk/eventstreamrpc/Version.html" title="class in software.amazon.awssdk.eventstreamrpc">Version</a></li>
280275
</ul>
281-
</main>
276+
</div>
282277
</body>
283278
</html>

docs/allpackages-index.html

Lines changed: 0 additions & 212 deletions
This file was deleted.

0 commit comments

Comments
 (0)