Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Bret Ambrose committed Jan 28, 2025
1 parent 7bbffe9 commit d705679
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion lib/iotidentity/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export interface RegisterThingSubscriptionRequest {
*
* @category IotIdentity
*/
export interface V2ServiceErrorResponse {
export interface V2ErrorResponse {

/**
* Response status code
Expand Down
2 changes: 1 addition & 1 deletion lib/iotidentity/v2utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function deserializeRegisterThingResponse(payload: ArrayBuffer) : any {
return JSON.parse(payload_text);
}

function deserializeV2ServiceError(payload: ArrayBuffer) : any {
function deserializeV2ErrorResponse(payload: ArrayBuffer) : any {
const payload_text = toUtf8(new Uint8Array(payload));

return JSON.parse(payload_text);
Expand Down
2 changes: 1 addition & 1 deletion lib/iotjobs/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ export interface UpdateJobExecutionSubscriptionRequest {
*
* @category IotJobs
*/
export interface V2ServiceErrorResponse {
export interface V2ErrorResponse {

/**
* Opaque token that can correlate this response to the original request.
Expand Down
2 changes: 1 addition & 1 deletion lib/iotjobs/v2utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function deserializeUpdateJobExecutionResponse(payload: ArrayBuffer) : any {
return JSON.parse(payload_text);
}

function deserializeV2ServiceError(payload: ArrayBuffer) : any {
function deserializeV2ErrorResponse(payload: ArrayBuffer) : any {
const payload_text = toUtf8(new Uint8Array(payload));

return JSON.parse(payload_text);
Expand Down
2 changes: 1 addition & 1 deletion lib/iotshadow/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ export interface UpdateShadowSubscriptionRequest {
*
* @category IotShadow
*/
export interface V2ServiceErrorResponse {
export interface V2ErrorResponse {

/**
* Opaque request-response correlation data. Present only if a client token was used in the request.
Expand Down
2 changes: 1 addition & 1 deletion lib/iotshadow/v2utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ function deserializeUpdateShadowResponse(payload: ArrayBuffer) : any {
return JSON.parse(payload_text);
}

function deserializeV2ServiceError(payload: ArrayBuffer) : any {
function deserializeV2ErrorResponse(payload: ArrayBuffer) : any {
const payload_text = toUtf8(new Uint8Array(payload));

return JSON.parse(payload_text);
Expand Down
2 changes: 1 addition & 1 deletion samples/node/deprecated/fleet_provisioning/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Node: Fleet provisioning

[**Return to main sample list**](../../README.md)
[**Return to main sample list**](../../../README.md)

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.

Expand Down
2 changes: 1 addition & 1 deletion samples/node/deprecated/jobs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Node: Jobs

[**Return to main sample list**](../../README.md)
[**Return to main sample list**](../../../README.md)

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.

Expand Down
2 changes: 1 addition & 1 deletion samples/node/deprecated/shadow/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Node: Shadow

[**Return to main sample list**](../../README.md)
[**Return to main sample list**](../../../README.md)

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.

Expand Down
6 changes: 3 additions & 3 deletions samples/node/shadow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,11 @@ Not all shadow properties represent device configuration. To illustrate several
starting out in sync (output omitted):

```
updated-reported {"Status":"Great"}
update-reported {"Status":"Great"}
```

```
updated-desired {"Status":"Great"}
update-desired {"Status":"Great"}
```

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
Expand Down Expand Up @@ -260,7 +260,7 @@ its output yields something like
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"}
```

The Status property has been fully removed the shadow state.
The Status property has been fully removed from the shadow state.

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

0 comments on commit d705679

Please sign in to comment.