Skip to content

Commit

Permalink
Update to version v1.66.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hnishar committed Oct 7, 2020
1 parent 5f91913 commit 5d64dc2
Show file tree
Hide file tree
Showing 66 changed files with 3,207 additions and 828 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.66.0] - 2020-10-06

### Added
- aws-apigateway-iot pattern added ([#61](https://github.com/awslabs/aws-solutions-constructs/issues/61))

### Changed
- Upgraded all patterns to CDK v1.66.0
- Update `aws-dynamodb-stream-lambda` to add AWS Lambda support for Failure-Handling Features for DynamoDB Event Source ([#79](https://github.com/awslabs/aws-solutions-constructs/issues/79))
- Update `aws-kinesisstreams-lambda` to add AWS Lambda support for Failure-Handling Features for Kinesis Event Source ([#78](https://github.com/awslabs/aws-solutions-constructs/issues/78))

## [1.65.0] - 2020-10-01

### Changed
Expand Down
2 changes: 1 addition & 1 deletion source/lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"./patterns/@aws-solutions-constructs/*"
],
"rejectCycles": "true",
"version": "1.65.0"
"version": "1.66.0"
}
2 changes: 1 addition & 1 deletion source/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-solutions-constructs",
"version": "1.65.0",
"version": "1.66.0",
"description": "AWS Solutions Constructs Library",
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-solutions-constructs/aws-apigateway-dynamodb",
"version": "1.65.0",
"version": "1.66.0",
"description": "CDK Constructs for AWS API Gateway and Amazon DynamoDB integration.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -53,16 +53,16 @@
}
},
"dependencies": {
"@aws-cdk/core": "~1.65.0",
"@aws-cdk/aws-apigateway": "~1.65.0",
"@aws-cdk/aws-iam": "~1.65.0",
"@aws-cdk/aws-dynamodb": "~1.65.0",
"@aws-cdk/aws-logs": "~1.65.0",
"@aws-solutions-constructs/core": "~1.65.0",
"@aws-cdk/core": "~1.66.0",
"@aws-cdk/aws-apigateway": "~1.66.0",
"@aws-cdk/aws-iam": "~1.66.0",
"@aws-cdk/aws-dynamodb": "~1.66.0",
"@aws-cdk/aws-logs": "~1.66.0",
"@aws-solutions-constructs/core": "~1.66.0",
"constructs": "^3.0.4"
},
"devDependencies": {
"@aws-cdk/assert": "~1.65.0",
"@aws-cdk/assert": "~1.66.0",
"@types/jest": "^24.0.23",
"@types/node": "^10.3.0"
},
Expand All @@ -72,12 +72,12 @@
]
},
"peerDependencies": {
"@aws-cdk/core": "~1.65.0",
"@aws-cdk/aws-apigateway": "~1.65.0",
"@aws-cdk/aws-iam": "~1.65.0",
"@aws-cdk/aws-dynamodb": "~1.65.0",
"@aws-solutions-constructs/core": "~1.65.0",
"@aws-cdk/core": "~1.66.0",
"@aws-cdk/aws-apigateway": "~1.66.0",
"@aws-cdk/aws-iam": "~1.66.0",
"@aws-cdk/aws-dynamodb": "~1.66.0",
"@aws-solutions-constructs/core": "~1.66.0",
"constructs": "^3.0.4",
"@aws-cdk/aws-logs": "~1.65.0"
"@aws-cdk/aws-logs": "~1.66.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -117,23 +117,23 @@ curl -XPOST https://<stage-id>.execute-api.<region>.amazonaws.com/prod/message/d
You can chain topic names in the URL and the API accepts up to 7 sub-topics that you can publish on. For instance, the below example publishes a message on the topic `device/foo/bar/abc/xyz`.

```bash
curl -XPOST https://<stage-id>.execute-api.<region>.amazonaws.com/development/message/device/foo/bar/abc/xyz -H "x-api-key: <api-key>" -H "Content-Type: application/json" -d '{"Hello": "World"}'
curl -XPOST https://<stage-id>.execute-api.<region>.amazonaws.com/prod/message/device/foo/bar/abc/xyz -H "x-api-key: <api-key>" -H "Content-Type: application/json" -d '{"Hello": "World"}'
```

### Updating device shadows

To update the shadow document associated with a given thing, you can issue a shadow state request using a thing name. See the following example on how to update a thing shadow.

```bash
curl -XPOST https://<stage-id>.execute-api.<region>.amazonaws.com/prod/shadow/device1 -H "x-api-key: <api-key>" -H "Content-Type: application/json" -d '{"state": "desired": { "Hello": "World" }}'
curl -XPOST https://<stage-id>.execute-api.<region>.amazonaws.com/prod/shadow/device1 -H "x-api-key: <api-key>" -H "Content-Type: application/json" -d '{"state": {"desired": { "Hello": "World" }}}'
```

### Updating named shadows

To update the shadow document associated with a given thing's named shadow, you can issue a shadow state request using a thing name and shadow name. See the following example on how to update a named shadow.

```bash
curl -XPOST https://<stage-id>.execute-api.<region>.amazonaws.com/prod/shadow/device1/shadow1 -H "x-api-key: <api-key>" -H "Content-Type: application/json" -d '{"state": "desired": { "Hello": "World" }}'
curl -XPOST https://<stage-id>.execute-api.<region>.amazonaws.com/prod/shadow/device1/shadow1 -H "x-api-key: <api-key>" -H "Content-Type: application/json" -d '{"state": {"desired": { "Hello": "World" }}}'
```

### Sending binary payloads
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-solutions-constructs/aws-apigateway-iot",
"version": "1.65.0",
"version": "1.66.0",
"description": "CDK constructs to proxy communication to IotCore using a APIGateway(REST).",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -53,15 +53,15 @@
}
},
"dependencies": {
"@aws-cdk/aws-apigateway": "~1.65.0",
"@aws-cdk/aws-logs": "~1.65.0",
"@aws-cdk/core": "~1.65.0",
"@aws-cdk/aws-iam": "~1.65.0",
"@aws-solutions-constructs/core": "~1.65.0",
"@aws-cdk/aws-apigateway": "~1.66.0",
"@aws-cdk/aws-logs": "~1.66.0",
"@aws-cdk/core": "~1.66.0",
"@aws-cdk/aws-iam": "~1.66.0",
"@aws-solutions-constructs/core": "~1.66.0",
"constructs": "^3.0.4"
},
"devDependencies": {
"@aws-cdk/assert": "~1.65.0",
"@aws-cdk/assert": "~1.66.0",
"@types/jest": "^24.0.23",
"@types/node": "^10.3.0"
},
Expand All @@ -71,11 +71,11 @@
]
},
"peerDependencies": {
"@aws-cdk/aws-apigateway": "~1.65.0",
"@aws-cdk/aws-logs": "~1.65.0",
"@aws-cdk/core": "~1.65.0",
"@aws-solutions-constructs/core": "~1.65.0",
"@aws-cdk/aws-apigateway": "~1.66.0",
"@aws-cdk/aws-logs": "~1.66.0",
"@aws-cdk/core": "~1.66.0",
"@aws-solutions-constructs/core": "~1.66.0",
"constructs": "^3.0.4",
"@aws-cdk/aws-iam": "~1.65.0"
"@aws-cdk/aws-iam": "~1.66.0"
}
}
Loading

0 comments on commit 5d64dc2

Please sign in to comment.