@aws-sdk/client-iottwinmaker 3.52.0 → 3.53.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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/IoTTwinMakerServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +134 -2
- package/dist-cjs/protocols/Aws_restJson1.js +320 -1120
- package/dist-es/index.js +1 -0
- package/dist-es/models/IoTTwinMakerServiceException.js +12 -0
- package/dist-es/models/models_0.js +122 -1
- package/dist-es/protocols/Aws_restJson1.js +638 -1236
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/IoTTwinMakerServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +72 -41
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/IoTTwinMakerServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +52 -41
- package/package.json +25 -25
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-iottwinmaker
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IoTTwinMakerServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./IoTTwinMaker"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./IoTTwinMakerClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var IoTTwinMakerServiceException_1 = require("./models/IoTTwinMakerServiceException");
|
|
11
|
+
Object.defineProperty(exports, "IoTTwinMakerServiceException", { enumerable: true, get: function () { return IoTTwinMakerServiceException_1.IoTTwinMakerServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IoTTwinMakerServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class IoTTwinMakerServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, IoTTwinMakerServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.IoTTwinMakerServiceException = IoTTwinMakerServiceException;
|
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.ComponentTypeSummary = exports.ListComponentTypesRequest = exports.ListComponentTypesFilter = exports.GetWorkspaceResponse = exports.GetWorkspaceRequest = exports.GetSceneResponse = exports.GetSceneRequest = exports.OrderByTime = exports.InterpolationParameters = exports.InterpolationType = exports.GetPropertyValueRequest = exports.ConnectorTimeoutException = exports.ConnectorFailureException = exports.GetEntityRequest = exports.Status = exports.ErrorDetails = exports.ErrorCode = exports.FunctionResponse = exports.GetComponentTypeRequest = exports.DeleteWorkspaceResponse = exports.DeleteWorkspaceRequest = exports.DeleteSceneResponse = exports.DeleteSceneRequest = exports.DeleteEntityResponse = exports.DeleteEntityRequest = exports.DeleteComponentTypeResponse = exports.DeleteComponentTypeRequest = exports.CreateWorkspaceResponse = exports.CreateWorkspaceRequest = exports.CreateSceneResponse = exports.CreateSceneRequest = exports.CreateEntityResponse = exports.PropertyUpdateType = exports.ServiceQuotaExceededException = exports.CreateComponentTypeResponse = exports.State = exports.Type = exports.Relationship = exports.FunctionRequest = exports.Scope = exports.DataConnector = exports.LambdaFunction = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.RelationshipValue = exports.EntityPropertyReference = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.ComponentResponse = exports.ComponentRequest = exports.PropertyResponse = exports.PropertyRequest = exports.UpdateComponentTypeRequest = exports.GetComponentTypeResponse = exports.CreateComponentTypeRequest = exports.BatchPutPropertyValuesResponse = exports.PropertyDefinitionResponse = exports.PropertyDefinitionRequest = exports.BatchPutPropertyErrorEntry = exports.GetPropertyValueHistoryResponse = exports.BatchPutPropertyValuesRequest = exports.BatchPutPropertyError = exports.PropertyValueHistory = exports.PropertyValueEntry = exports.GetPropertyValueResponse = exports.GetPropertyValueHistoryRequest = exports.DataType = exports.PropertyValue = exports.PropertyLatestValue = exports.PropertyFilter = exports.DataValue = exports.UpdateWorkspaceResponse = exports.UpdateWorkspaceRequest = exports.UpdateSceneResponse = exports.UpdateSceneRequest = exports.UpdateEntityResponse = exports.ParentEntityUpdateRequest = exports.ParentEntityUpdateType = exports.ComponentUpdateType = exports.UpdateComponentTypeResponse = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TooManyTagsException = exports.TagResourceResponse = exports.TagResourceRequest = exports.ListWorkspacesResponse = exports.WorkspaceSummary = exports.ListWorkspacesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListScenesResponse = exports.SceneSummary = exports.ListScenesRequest = exports.ListEntitiesResponse = exports.EntitySummary = exports.ListEntitiesRequest = exports.ListEntitiesFilter = exports.ListComponentTypesResponse = void 0;
|
|
5
|
+
exports.UpdateEntityRequest = exports.GetEntityResponse = exports.CreateEntityRequest = exports.ComponentUpdateRequest = void 0;
|
|
6
|
+
const IoTTwinMakerServiceException_1 = require("./IoTTwinMakerServiceException");
|
|
7
|
+
class AccessDeniedException extends IoTTwinMakerServiceException_1.IoTTwinMakerServiceException {
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
this.name = "AccessDeniedException";
|
|
15
|
+
this.$fault = "client";
|
|
16
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
5
20
|
var EntityPropertyReference;
|
|
6
21
|
(function (EntityPropertyReference) {
|
|
7
22
|
EntityPropertyReference.filterSensitiveLog = (obj) => ({
|
|
@@ -14,6 +29,71 @@ var RelationshipValue;
|
|
|
14
29
|
...obj,
|
|
15
30
|
});
|
|
16
31
|
})(RelationshipValue = exports.RelationshipValue || (exports.RelationshipValue = {}));
|
|
32
|
+
class InternalServerException extends IoTTwinMakerServiceException_1.IoTTwinMakerServiceException {
|
|
33
|
+
constructor(opts) {
|
|
34
|
+
super({
|
|
35
|
+
name: "InternalServerException",
|
|
36
|
+
$fault: "server",
|
|
37
|
+
...opts,
|
|
38
|
+
});
|
|
39
|
+
this.name = "InternalServerException";
|
|
40
|
+
this.$fault = "server";
|
|
41
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.InternalServerException = InternalServerException;
|
|
45
|
+
class ResourceNotFoundException extends IoTTwinMakerServiceException_1.IoTTwinMakerServiceException {
|
|
46
|
+
constructor(opts) {
|
|
47
|
+
super({
|
|
48
|
+
name: "ResourceNotFoundException",
|
|
49
|
+
$fault: "client",
|
|
50
|
+
...opts,
|
|
51
|
+
});
|
|
52
|
+
this.name = "ResourceNotFoundException";
|
|
53
|
+
this.$fault = "client";
|
|
54
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
58
|
+
class ThrottlingException extends IoTTwinMakerServiceException_1.IoTTwinMakerServiceException {
|
|
59
|
+
constructor(opts) {
|
|
60
|
+
super({
|
|
61
|
+
name: "ThrottlingException",
|
|
62
|
+
$fault: "client",
|
|
63
|
+
...opts,
|
|
64
|
+
});
|
|
65
|
+
this.name = "ThrottlingException";
|
|
66
|
+
this.$fault = "client";
|
|
67
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.ThrottlingException = ThrottlingException;
|
|
71
|
+
class ValidationException extends IoTTwinMakerServiceException_1.IoTTwinMakerServiceException {
|
|
72
|
+
constructor(opts) {
|
|
73
|
+
super({
|
|
74
|
+
name: "ValidationException",
|
|
75
|
+
$fault: "client",
|
|
76
|
+
...opts,
|
|
77
|
+
});
|
|
78
|
+
this.name = "ValidationException";
|
|
79
|
+
this.$fault = "client";
|
|
80
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.ValidationException = ValidationException;
|
|
84
|
+
class ConflictException extends IoTTwinMakerServiceException_1.IoTTwinMakerServiceException {
|
|
85
|
+
constructor(opts) {
|
|
86
|
+
super({
|
|
87
|
+
name: "ConflictException",
|
|
88
|
+
$fault: "client",
|
|
89
|
+
...opts,
|
|
90
|
+
});
|
|
91
|
+
this.name = "ConflictException";
|
|
92
|
+
this.$fault = "client";
|
|
93
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.ConflictException = ConflictException;
|
|
17
97
|
var LambdaFunction;
|
|
18
98
|
(function (LambdaFunction) {
|
|
19
99
|
LambdaFunction.filterSensitiveLog = (obj) => ({
|
|
@@ -68,6 +148,19 @@ var CreateComponentTypeResponse;
|
|
|
68
148
|
...obj,
|
|
69
149
|
});
|
|
70
150
|
})(CreateComponentTypeResponse = exports.CreateComponentTypeResponse || (exports.CreateComponentTypeResponse = {}));
|
|
151
|
+
class ServiceQuotaExceededException extends IoTTwinMakerServiceException_1.IoTTwinMakerServiceException {
|
|
152
|
+
constructor(opts) {
|
|
153
|
+
super({
|
|
154
|
+
name: "ServiceQuotaExceededException",
|
|
155
|
+
$fault: "client",
|
|
156
|
+
...opts,
|
|
157
|
+
});
|
|
158
|
+
this.name = "ServiceQuotaExceededException";
|
|
159
|
+
this.$fault = "client";
|
|
160
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
71
164
|
var PropertyUpdateType;
|
|
72
165
|
(function (PropertyUpdateType) {
|
|
73
166
|
PropertyUpdateType["DELETE"] = "DELETE";
|
|
@@ -186,6 +279,32 @@ var GetEntityRequest;
|
|
|
186
279
|
...obj,
|
|
187
280
|
});
|
|
188
281
|
})(GetEntityRequest = exports.GetEntityRequest || (exports.GetEntityRequest = {}));
|
|
282
|
+
class ConnectorFailureException extends IoTTwinMakerServiceException_1.IoTTwinMakerServiceException {
|
|
283
|
+
constructor(opts) {
|
|
284
|
+
super({
|
|
285
|
+
name: "ConnectorFailureException",
|
|
286
|
+
$fault: "client",
|
|
287
|
+
...opts,
|
|
288
|
+
});
|
|
289
|
+
this.name = "ConnectorFailureException";
|
|
290
|
+
this.$fault = "client";
|
|
291
|
+
Object.setPrototypeOf(this, ConnectorFailureException.prototype);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
exports.ConnectorFailureException = ConnectorFailureException;
|
|
295
|
+
class ConnectorTimeoutException extends IoTTwinMakerServiceException_1.IoTTwinMakerServiceException {
|
|
296
|
+
constructor(opts) {
|
|
297
|
+
super({
|
|
298
|
+
name: "ConnectorTimeoutException",
|
|
299
|
+
$fault: "client",
|
|
300
|
+
...opts,
|
|
301
|
+
});
|
|
302
|
+
this.name = "ConnectorTimeoutException";
|
|
303
|
+
this.$fault = "client";
|
|
304
|
+
Object.setPrototypeOf(this, ConnectorTimeoutException.prototype);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
exports.ConnectorTimeoutException = ConnectorTimeoutException;
|
|
189
308
|
var GetPropertyValueRequest;
|
|
190
309
|
(function (GetPropertyValueRequest) {
|
|
191
310
|
GetPropertyValueRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -369,6 +488,19 @@ var TagResourceResponse;
|
|
|
369
488
|
...obj,
|
|
370
489
|
});
|
|
371
490
|
})(TagResourceResponse = exports.TagResourceResponse || (exports.TagResourceResponse = {}));
|
|
491
|
+
class TooManyTagsException extends IoTTwinMakerServiceException_1.IoTTwinMakerServiceException {
|
|
492
|
+
constructor(opts) {
|
|
493
|
+
super({
|
|
494
|
+
name: "TooManyTagsException",
|
|
495
|
+
$fault: "client",
|
|
496
|
+
...opts,
|
|
497
|
+
});
|
|
498
|
+
this.name = "TooManyTagsException";
|
|
499
|
+
this.$fault = "client";
|
|
500
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
372
504
|
var UntagResourceRequest;
|
|
373
505
|
(function (UntagResourceRequest) {
|
|
374
506
|
UntagResourceRequest.filterSensitiveLog = (obj) => ({
|