Skip to content

Commit 5d64dc2

Browse files
committed
Update to version v1.66.0
1 parent 5f91913 commit 5d64dc2

File tree

66 files changed

+3207
-828
lines changed

Some content is hidden

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

66 files changed

+3207
-828
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.66.0] - 2020-10-06
8+
9+
### Added
10+
- aws-apigateway-iot pattern added ([#61](https://github.com/awslabs/aws-solutions-constructs/issues/61))
11+
12+
### Changed
13+
- Upgraded all patterns to CDK v1.66.0
14+
- 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))
15+
- 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))
16+
717
## [1.65.0] - 2020-10-01
818

919
### Changed

source/lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"./patterns/@aws-solutions-constructs/*"
77
],
88
"rejectCycles": "true",
9-
"version": "1.65.0"
9+
"version": "1.66.0"
1010
}

source/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-solutions-constructs",
3-
"version": "1.65.0",
3+
"version": "1.66.0",
44
"description": "AWS Solutions Constructs Library",
55
"repository": {
66
"type": "git",

source/patterns/@aws-solutions-constructs/aws-apigateway-dynamodb/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-solutions-constructs/aws-apigateway-dynamodb",
3-
"version": "1.65.0",
3+
"version": "1.66.0",
44
"description": "CDK Constructs for AWS API Gateway and Amazon DynamoDB integration.",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -53,16 +53,16 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/core": "~1.65.0",
57-
"@aws-cdk/aws-apigateway": "~1.65.0",
58-
"@aws-cdk/aws-iam": "~1.65.0",
59-
"@aws-cdk/aws-dynamodb": "~1.65.0",
60-
"@aws-cdk/aws-logs": "~1.65.0",
61-
"@aws-solutions-constructs/core": "~1.65.0",
56+
"@aws-cdk/core": "~1.66.0",
57+
"@aws-cdk/aws-apigateway": "~1.66.0",
58+
"@aws-cdk/aws-iam": "~1.66.0",
59+
"@aws-cdk/aws-dynamodb": "~1.66.0",
60+
"@aws-cdk/aws-logs": "~1.66.0",
61+
"@aws-solutions-constructs/core": "~1.66.0",
6262
"constructs": "^3.0.4"
6363
},
6464
"devDependencies": {
65-
"@aws-cdk/assert": "~1.65.0",
65+
"@aws-cdk/assert": "~1.66.0",
6666
"@types/jest": "^24.0.23",
6767
"@types/node": "^10.3.0"
6868
},
@@ -72,12 +72,12 @@
7272
]
7373
},
7474
"peerDependencies": {
75-
"@aws-cdk/core": "~1.65.0",
76-
"@aws-cdk/aws-apigateway": "~1.65.0",
77-
"@aws-cdk/aws-iam": "~1.65.0",
78-
"@aws-cdk/aws-dynamodb": "~1.65.0",
79-
"@aws-solutions-constructs/core": "~1.65.0",
75+
"@aws-cdk/core": "~1.66.0",
76+
"@aws-cdk/aws-apigateway": "~1.66.0",
77+
"@aws-cdk/aws-iam": "~1.66.0",
78+
"@aws-cdk/aws-dynamodb": "~1.66.0",
79+
"@aws-solutions-constructs/core": "~1.66.0",
8080
"constructs": "^3.0.4",
81-
"@aws-cdk/aws-logs": "~1.65.0"
81+
"@aws-cdk/aws-logs": "~1.66.0"
8282
}
8383
}

source/patterns/@aws-solutions-constructs/aws-apigateway-iot/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,23 +117,23 @@ curl -XPOST https://<stage-id>.execute-api.<region>.amazonaws.com/prod/message/d
117117
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`.
118118

119119
```bash
120-
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"}'
120+
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"}'
121121
```
122122

123123
### Updating device shadows
124124

125125
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.
126126

127127
```bash
128-
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" }}'
128+
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" }}}'
129129
```
130130

131131
### Updating named shadows
132132

133133
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.
134134

135135
```bash
136-
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" }}'
136+
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" }}}'
137137
```
138138

139139
### Sending binary payloads

source/patterns/@aws-solutions-constructs/aws-apigateway-iot/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-solutions-constructs/aws-apigateway-iot",
3-
"version": "1.65.0",
3+
"version": "1.66.0",
44
"description": "CDK constructs to proxy communication to IotCore using a APIGateway(REST).",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -53,15 +53,15 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/aws-apigateway": "~1.65.0",
57-
"@aws-cdk/aws-logs": "~1.65.0",
58-
"@aws-cdk/core": "~1.65.0",
59-
"@aws-cdk/aws-iam": "~1.65.0",
60-
"@aws-solutions-constructs/core": "~1.65.0",
56+
"@aws-cdk/aws-apigateway": "~1.66.0",
57+
"@aws-cdk/aws-logs": "~1.66.0",
58+
"@aws-cdk/core": "~1.66.0",
59+
"@aws-cdk/aws-iam": "~1.66.0",
60+
"@aws-solutions-constructs/core": "~1.66.0",
6161
"constructs": "^3.0.4"
6262
},
6363
"devDependencies": {
64-
"@aws-cdk/assert": "~1.65.0",
64+
"@aws-cdk/assert": "~1.66.0",
6565
"@types/jest": "^24.0.23",
6666
"@types/node": "^10.3.0"
6767
},
@@ -71,11 +71,11 @@
7171
]
7272
},
7373
"peerDependencies": {
74-
"@aws-cdk/aws-apigateway": "~1.65.0",
75-
"@aws-cdk/aws-logs": "~1.65.0",
76-
"@aws-cdk/core": "~1.65.0",
77-
"@aws-solutions-constructs/core": "~1.65.0",
74+
"@aws-cdk/aws-apigateway": "~1.66.0",
75+
"@aws-cdk/aws-logs": "~1.66.0",
76+
"@aws-cdk/core": "~1.66.0",
77+
"@aws-solutions-constructs/core": "~1.66.0",
7878
"constructs": "^3.0.4",
79-
"@aws-cdk/aws-iam": "~1.65.0"
79+
"@aws-cdk/aws-iam": "~1.66.0"
8080
}
8181
}

0 commit comments

Comments
 (0)