Skip to content

Commit d705679

Browse files
author
Bret Ambrose
committed
Updates
1 parent 7bbffe9 commit d705679

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

lib/iotidentity/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export interface RegisterThingSubscriptionRequest {
203203
*
204204
* @category IotIdentity
205205
*/
206-
export interface V2ServiceErrorResponse {
206+
export interface V2ErrorResponse {
207207

208208
/**
209209
* Response status code

lib/iotidentity/v2utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function deserializeRegisterThingResponse(payload: ArrayBuffer) : any {
172172
return JSON.parse(payload_text);
173173
}
174174

175-
function deserializeV2ServiceError(payload: ArrayBuffer) : any {
175+
function deserializeV2ErrorResponse(payload: ArrayBuffer) : any {
176176
const payload_text = toUtf8(new Uint8Array(payload));
177177

178178
return JSON.parse(payload_text);

lib/iotjobs/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ export interface UpdateJobExecutionSubscriptionRequest {
698698
*
699699
* @category IotJobs
700700
*/
701-
export interface V2ServiceErrorResponse {
701+
export interface V2ErrorResponse {
702702

703703
/**
704704
* Opaque token that can correlate this response to the original request.

lib/iotjobs/v2utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ function deserializeUpdateJobExecutionResponse(payload: ArrayBuffer) : any {
296296
return JSON.parse(payload_text);
297297
}
298298

299-
function deserializeV2ServiceError(payload: ArrayBuffer) : any {
299+
function deserializeV2ErrorResponse(payload: ArrayBuffer) : any {
300300
const payload_text = toUtf8(new Uint8Array(payload));
301301

302302
return JSON.parse(payload_text);

lib/iotshadow/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ export interface UpdateShadowSubscriptionRequest {
659659
*
660660
* @category IotShadow
661661
*/
662-
export interface V2ServiceErrorResponse {
662+
export interface V2ErrorResponse {
663663

664664
/**
665665
* Opaque request-response correlation data. Present only if a client token was used in the request.

lib/iotshadow/v2utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ function deserializeUpdateShadowResponse(payload: ArrayBuffer) : any {
385385
return JSON.parse(payload_text);
386386
}
387387

388-
function deserializeV2ServiceError(payload: ArrayBuffer) : any {
388+
function deserializeV2ErrorResponse(payload: ArrayBuffer) : any {
389389
const payload_text = toUtf8(new Uint8Array(payload));
390390

391391
return JSON.parse(payload_text);

samples/node/deprecated/fleet_provisioning/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Node: Fleet provisioning
22

3-
[**Return to main sample list**](../../README.md)
3+
[**Return to main sample list**](../../../README.md)
44

55
This sample uses the AWS IoT [Fleet provisioning](https://docs.aws.amazon.com/iot/latest/developerguide/provision-wo-cert.html) to provision devices using either a CSR or Keys-And-Certificate and subsequently calls RegisterThing. This allows you to create new AWS IoT Core things using a Fleet Provisioning Template.
66

samples/node/deprecated/jobs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Node: Jobs
22

3-
[**Return to main sample list**](../../README.md)
3+
[**Return to main sample list**](../../../README.md)
44

55
This sample uses the AWS IoT [Jobs](https://docs.aws.amazon.com/iot/latest/developerguide/iot-jobs.html) Service to describe jobs to execute. [Jobs](https://docs.aws.amazon.com/iot/latest/developerguide/iot-jobs.html) is a service that allows you to define and respond to remote operation requests defined through the AWS IoT Core website or via any other device (or CLI command) that can access the [Jobs](https://docs.aws.amazon.com/iot/latest/developerguide/iot-jobs.html) service.
66

samples/node/deprecated/shadow/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Node: Shadow
22

3-
[**Return to main sample list**](../../README.md)
3+
[**Return to main sample list**](../../../README.md)
44

55
This sample uses the AWS IoT [Device Shadow](https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.html) Service to keep a property in sync between device and server. Imagine a light whose color may be changed through an app, or set by a local user.
66

samples/node/shadow/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@ Not all shadow properties represent device configuration. To illustrate several
197197
starting out in sync (output omitted):
198198

199199
```
200-
updated-reported {"Status":"Great"}
200+
update-reported {"Status":"Great"}
201201
```
202202

203203
```
204-
updated-desired {"Status":"Great"}
204+
update-desired {"Status":"Great"}
205205
```
206206

207207
Notice that shadow updates work by deltas rather than by complete state changes. Updating the "Status" property to a value had no effect on the shadow's
@@ -260,7 +260,7 @@ its output yields something like
260260
Get response: {"state":{"desired":{"Color":"red"},"reported":{"Color":"red"}},"metadata":{"desired":{"Color":{"timestamp":1719855498}},"reported":{"Color":{"timestamp":1719856038}}},"version":11,"timestamp":1719858143,"clientToken":"72f05b90-b0a2-4ff5-8b1f-1931f7c39b9a"}
261261
```
262262

263-
The Status property has been fully removed the shadow state.
263+
The Status property has been fully removed from the shadow state.
264264

265265
### Removing a shadow
266266
To remove a shadow, you must invoke the DeleteShadow API (setting the reported and desired

0 commit comments

Comments
 (0)