@aws-sdk/client-iot-managed-integrations 3.761.0 → 3.772.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -85,6 +85,103 @@ declare const GetSchemaVersionCommand_base: {
|
|
|
85
85
|
* <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
|
|
86
86
|
*
|
|
87
87
|
* @public
|
|
88
|
+
* @example GetSchemaVersion happy path for an example schema version.
|
|
89
|
+
* ```javascript
|
|
90
|
+
* //
|
|
91
|
+
* const input = {
|
|
92
|
+
* "SchemaVersionedId": "matter.ColorControl@$latest",
|
|
93
|
+
* "Type": "capability"
|
|
94
|
+
* };
|
|
95
|
+
* const command = new GetSchemaVersionCommand(input);
|
|
96
|
+
* const response = await client.send(command);
|
|
97
|
+
* /* response ==
|
|
98
|
+
* {
|
|
99
|
+
* "Description": "The Color Control cluster defined as Harmony Capability.",
|
|
100
|
+
* "Namespace": "matter",
|
|
101
|
+
* "Schema": {
|
|
102
|
+
* "name": "Color Control",
|
|
103
|
+
* "$defs": {},
|
|
104
|
+
* "$id": "matter.ColorControl@1.3",
|
|
105
|
+
* "$ref": "aws.capability@1.0",
|
|
106
|
+
* "actions": [
|
|
107
|
+
* {
|
|
108
|
+
* "$ref": "aws.action.ReadState@1.0"
|
|
109
|
+
* },
|
|
110
|
+
* {
|
|
111
|
+
* "$ref": "aws.action.UpdateState@1.0"
|
|
112
|
+
* },
|
|
113
|
+
* {
|
|
114
|
+
* "name": "MoveToHue",
|
|
115
|
+
* "extrinsicId": "0x00",
|
|
116
|
+
* "request": {
|
|
117
|
+
* "parameters": {
|
|
118
|
+
* "Hue": {
|
|
119
|
+
* "value": {
|
|
120
|
+
* "$ref": "aws.integer@1.0"
|
|
121
|
+
* },
|
|
122
|
+
* "extrinsicId": "0"
|
|
123
|
+
* }
|
|
124
|
+
* }
|
|
125
|
+
* }
|
|
126
|
+
* }
|
|
127
|
+
* ],
|
|
128
|
+
* "description": "The Color Control cluster defined as Harmony Capability.",
|
|
129
|
+
* "events": [],
|
|
130
|
+
* "extrinsicId": "0x0300",
|
|
131
|
+
* "extrinsicVersion": "14",
|
|
132
|
+
* "properties": {
|
|
133
|
+
* "CurrentHue": {
|
|
134
|
+
* "value": {
|
|
135
|
+
* "$ref": "aws.integer@1.0"
|
|
136
|
+
* },
|
|
137
|
+
* "mutable": false
|
|
138
|
+
* }
|
|
139
|
+
* },
|
|
140
|
+
* "title": "Color Control Cluster"
|
|
141
|
+
* },
|
|
142
|
+
* "SchemaId": "matter.ColorControl",
|
|
143
|
+
* "SemanticVersion": "1.3",
|
|
144
|
+
* "Type": "capability"
|
|
145
|
+
* }
|
|
146
|
+
* *\/
|
|
147
|
+
* // example id: example-1
|
|
148
|
+
* ```
|
|
149
|
+
*
|
|
150
|
+
* @example GetSchemaVersion happy path for an example schema version.
|
|
151
|
+
* ```javascript
|
|
152
|
+
* //
|
|
153
|
+
* const input = {
|
|
154
|
+
* "Format": "ZCL",
|
|
155
|
+
* "SchemaVersionedId": "matter.ColorControl@1.3",
|
|
156
|
+
* "Type": "capability"
|
|
157
|
+
* };
|
|
158
|
+
* const command = new GetSchemaVersionCommand(input);
|
|
159
|
+
* const response = await client.send(command);
|
|
160
|
+
* /* response ==
|
|
161
|
+
* {
|
|
162
|
+
* "Description": "The Color Control cluster defined as Harmony Capability.",
|
|
163
|
+
* "Namespace": "matter",
|
|
164
|
+
* "Schema": {},
|
|
165
|
+
* "SchemaId": "matter.ColorControl",
|
|
166
|
+
* "SemanticVersion": "1.3",
|
|
167
|
+
* "Type": "capability"
|
|
168
|
+
* }
|
|
169
|
+
* *\/
|
|
170
|
+
* // example id: example-2
|
|
171
|
+
* ```
|
|
172
|
+
*
|
|
173
|
+
* @example GetSchemaVersion error path for an example schema version that does not exist.
|
|
174
|
+
* ```javascript
|
|
175
|
+
* //
|
|
176
|
+
* const input = {
|
|
177
|
+
* "SchemaVersionedId": "matter.ColorControl@$latest",
|
|
178
|
+
* "Type": "capability"
|
|
179
|
+
* };
|
|
180
|
+
* const command = new GetSchemaVersionCommand(input);
|
|
181
|
+
* await client.send(command);
|
|
182
|
+
* // example id: example-3
|
|
183
|
+
* ```
|
|
184
|
+
*
|
|
88
185
|
*/
|
|
89
186
|
export declare class GetSchemaVersionCommand extends GetSchemaVersionCommand_base {
|
|
90
187
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -90,6 +90,69 @@ declare const ListSchemaVersionsCommand_base: {
|
|
|
90
90
|
* <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
|
|
91
91
|
*
|
|
92
92
|
* @public
|
|
93
|
+
* @example ListSchemaVersions happy path for an example schema version.
|
|
94
|
+
* ```javascript
|
|
95
|
+
* //
|
|
96
|
+
* const input = {
|
|
97
|
+
* "SchemaId": "matter.ColorControl",
|
|
98
|
+
* "Type": "capability"
|
|
99
|
+
* };
|
|
100
|
+
* const command = new ListSchemaVersionsCommand(input);
|
|
101
|
+
* const response = await client.send(command);
|
|
102
|
+
* /* response ==
|
|
103
|
+
* {
|
|
104
|
+
* "Items": [
|
|
105
|
+
* {
|
|
106
|
+
* "Description": "The Color Control cluster defined as Harmony Capability.",
|
|
107
|
+
* "Namespace": "matter",
|
|
108
|
+
* "SchemaId": "matter.ColorControl",
|
|
109
|
+
* "SemanticVersion": "1.3",
|
|
110
|
+
* "Type": "capability"
|
|
111
|
+
* }
|
|
112
|
+
* ]
|
|
113
|
+
* }
|
|
114
|
+
* *\/
|
|
115
|
+
* // example id: example-1
|
|
116
|
+
* ```
|
|
117
|
+
*
|
|
118
|
+
* @example ListSchemaVersions by version.
|
|
119
|
+
* ```javascript
|
|
120
|
+
* //
|
|
121
|
+
* const input = {
|
|
122
|
+
* "SemanticVersion": "34.56",
|
|
123
|
+
* "Type": "capability"
|
|
124
|
+
* };
|
|
125
|
+
* const command = new ListSchemaVersionsCommand(input);
|
|
126
|
+
* const response = await client.send(command);
|
|
127
|
+
* /* response ==
|
|
128
|
+
* {
|
|
129
|
+
* "Items": [
|
|
130
|
+
* {
|
|
131
|
+
* "Description": "The Color Control cluster defined as Harmony Capability.",
|
|
132
|
+
* "Namespace": "matter",
|
|
133
|
+
* "SchemaId": "matter.ColorControl",
|
|
134
|
+
* "SemanticVersion": "1.3",
|
|
135
|
+
* "Type": "capability"
|
|
136
|
+
* }
|
|
137
|
+
* ]
|
|
138
|
+
* }
|
|
139
|
+
* *\/
|
|
140
|
+
* // example id: example-2
|
|
141
|
+
* ```
|
|
142
|
+
*
|
|
143
|
+
* @example ListSchemaVersions error for invalid input.
|
|
144
|
+
* ```javascript
|
|
145
|
+
* //
|
|
146
|
+
* const input = {
|
|
147
|
+
* "Namespace": "matter",
|
|
148
|
+
* "SchemaId": "matter.ColorControl",
|
|
149
|
+
* "Type": "capability"
|
|
150
|
+
* };
|
|
151
|
+
* const command = new ListSchemaVersionsCommand(input);
|
|
152
|
+
* await client.send(command);
|
|
153
|
+
* // example id: example-3
|
|
154
|
+
* ```
|
|
155
|
+
*
|
|
93
156
|
*/
|
|
94
157
|
export declare class ListSchemaVersionsCommand extends ListSchemaVersionsCommand_base {
|
|
95
158
|
/** @internal type navigation helper, not in runtime. */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot-managed-integrations",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Managed Integrations Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.772.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|