@aws-sdk/client-iotthingsgraph 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/IoTThingsGraphServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +95 -3
- package/dist-cjs/protocols/Aws_json1_1.js +319 -1211
- package/dist-es/index.js +1 -0
- package/dist-es/models/IoTThingsGraphServiceException.js +12 -0
- package/dist-es/models/models_0.js +86 -1
- package/dist-es/protocols/Aws_json1_1.js +736 -1338
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/IoTThingsGraphServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -29
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/IoTThingsGraphServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -29
- 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-iotthingsgraph
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IoTThingsGraphServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./IoTThingsGraph"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./IoTThingsGraphClient"), 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 IoTThingsGraphServiceException_1 = require("./models/IoTThingsGraphServiceException");
|
|
11
|
+
Object.defineProperty(exports, "IoTThingsGraphServiceException", { enumerable: true, get: function () { return IoTThingsGraphServiceException_1.IoTThingsGraphServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IoTThingsGraphServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class IoTThingsGraphServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, IoTThingsGraphServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.IoTThingsGraphServiceException = IoTThingsGraphServiceException;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UploadEntityDefinitionsResponse = void 0;
|
|
3
|
+
exports.FlowExecutionStatus = exports.FlowExecutionMessage = exports.FlowExecutionEventType = exports.EntityFilter = exports.EntityFilterName = exports.EntityDescription = exports.DissociateEntityFromThingResponse = exports.DissociateEntityFromThingRequest = exports.EntityType = exports.DescribeNamespaceResponse = exports.DescribeNamespaceRequest = exports.DeprecateSystemTemplateResponse = exports.DeprecateSystemTemplateRequest = exports.DeprecateFlowTemplateResponse = exports.DeprecateFlowTemplateRequest = exports.DeploySystemInstanceResponse = exports.DeploySystemInstanceRequest = exports.DependencyRevision = exports.DeleteSystemTemplateResponse = exports.DeleteSystemTemplateRequest = exports.DeleteSystemInstanceResponse = exports.DeleteSystemInstanceRequest = exports.DeleteNamespaceResponse = exports.DeleteNamespaceRequest = exports.ResourceInUseException = exports.DeleteFlowTemplateResponse = exports.DeleteFlowTemplateRequest = exports.CreateSystemTemplateResponse = exports.SystemTemplateSummary = exports.CreateSystemTemplateRequest = exports.CreateSystemInstanceResponse = exports.SystemInstanceSummary = exports.SystemInstanceDeploymentStatus = exports.CreateSystemInstanceRequest = exports.DeploymentTarget = exports.Tag = exports.MetricsConfiguration = exports.ResourceAlreadyExistsException = exports.LimitExceededException = exports.CreateFlowTemplateResponse = exports.FlowTemplateSummary = exports.CreateFlowTemplateRequest = exports.DefinitionDocument = exports.DefinitionLanguage = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InvalidRequestException = exports.InternalFailureException = exports.AssociateEntityToThingResponse = exports.AssociateEntityToThingRequest = void 0;
|
|
4
|
+
exports.UndeploySystemInstanceResponse = exports.UndeploySystemInstanceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SearchThingsResponse = exports.Thing = exports.SearchThingsRequest = exports.SearchSystemTemplatesResponse = exports.SearchSystemTemplatesRequest = exports.SystemTemplateFilter = exports.SystemTemplateFilterName = exports.SearchSystemInstancesResponse = exports.SearchSystemInstancesRequest = exports.SystemInstanceFilter = exports.SystemInstanceFilterName = exports.SearchFlowTemplatesResponse = exports.SearchFlowTemplatesRequest = exports.SearchFlowExecutionsResponse = exports.SearchFlowExecutionsRequest = exports.SearchEntitiesResponse = exports.SearchEntitiesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListFlowExecutionMessagesResponse = exports.ListFlowExecutionMessagesRequest = exports.GetUploadStatusResponse = exports.UploadStatus = exports.GetUploadStatusRequest = exports.GetSystemTemplateRevisionsResponse = exports.GetSystemTemplateRevisionsRequest = exports.GetSystemTemplateResponse = exports.SystemTemplateDescription = exports.GetSystemTemplateRequest = exports.GetSystemInstanceResponse = exports.SystemInstanceDescription = exports.GetSystemInstanceRequest = exports.GetNamespaceDeletionStatusResponse = exports.NamespaceDeletionStatus = exports.NamespaceDeletionStatusErrorCodes = exports.GetNamespaceDeletionStatusRequest = exports.GetFlowTemplateRevisionsResponse = exports.GetFlowTemplateRevisionsRequest = exports.GetFlowTemplateResponse = exports.GetFlowTemplateRequest = exports.GetEntitiesResponse = exports.GetEntitiesRequest = exports.FlowTemplateFilter = exports.FlowTemplateFilterName = exports.FlowTemplateDescription = exports.FlowExecutionSummary = void 0;
|
|
5
|
+
exports.UploadEntityDefinitionsResponse = exports.UploadEntityDefinitionsRequest = exports.UpdateSystemTemplateResponse = exports.UpdateSystemTemplateRequest = exports.UpdateFlowTemplateResponse = exports.UpdateFlowTemplateRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = void 0;
|
|
6
|
+
const IoTThingsGraphServiceException_1 = require("./IoTThingsGraphServiceException");
|
|
6
7
|
var AssociateEntityToThingRequest;
|
|
7
8
|
(function (AssociateEntityToThingRequest) {
|
|
8
9
|
AssociateEntityToThingRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -15,6 +16,58 @@ var AssociateEntityToThingResponse;
|
|
|
15
16
|
...obj,
|
|
16
17
|
});
|
|
17
18
|
})(AssociateEntityToThingResponse = exports.AssociateEntityToThingResponse || (exports.AssociateEntityToThingResponse = {}));
|
|
19
|
+
class InternalFailureException extends IoTThingsGraphServiceException_1.IoTThingsGraphServiceException {
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "InternalFailureException",
|
|
23
|
+
$fault: "server",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
this.name = "InternalFailureException";
|
|
27
|
+
this.$fault = "server";
|
|
28
|
+
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.InternalFailureException = InternalFailureException;
|
|
32
|
+
class InvalidRequestException extends IoTThingsGraphServiceException_1.IoTThingsGraphServiceException {
|
|
33
|
+
constructor(opts) {
|
|
34
|
+
super({
|
|
35
|
+
name: "InvalidRequestException",
|
|
36
|
+
$fault: "client",
|
|
37
|
+
...opts,
|
|
38
|
+
});
|
|
39
|
+
this.name = "InvalidRequestException";
|
|
40
|
+
this.$fault = "client";
|
|
41
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
45
|
+
class ResourceNotFoundException extends IoTThingsGraphServiceException_1.IoTThingsGraphServiceException {
|
|
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 IoTThingsGraphServiceException_1.IoTThingsGraphServiceException {
|
|
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;
|
|
18
71
|
var DefinitionLanguage;
|
|
19
72
|
(function (DefinitionLanguage) {
|
|
20
73
|
DefinitionLanguage["GRAPHQL"] = "GRAPHQL";
|
|
@@ -43,6 +96,32 @@ var CreateFlowTemplateResponse;
|
|
|
43
96
|
...obj,
|
|
44
97
|
});
|
|
45
98
|
})(CreateFlowTemplateResponse = exports.CreateFlowTemplateResponse || (exports.CreateFlowTemplateResponse = {}));
|
|
99
|
+
class LimitExceededException extends IoTThingsGraphServiceException_1.IoTThingsGraphServiceException {
|
|
100
|
+
constructor(opts) {
|
|
101
|
+
super({
|
|
102
|
+
name: "LimitExceededException",
|
|
103
|
+
$fault: "client",
|
|
104
|
+
...opts,
|
|
105
|
+
});
|
|
106
|
+
this.name = "LimitExceededException";
|
|
107
|
+
this.$fault = "client";
|
|
108
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.LimitExceededException = LimitExceededException;
|
|
112
|
+
class ResourceAlreadyExistsException extends IoTThingsGraphServiceException_1.IoTThingsGraphServiceException {
|
|
113
|
+
constructor(opts) {
|
|
114
|
+
super({
|
|
115
|
+
name: "ResourceAlreadyExistsException",
|
|
116
|
+
$fault: "client",
|
|
117
|
+
...opts,
|
|
118
|
+
});
|
|
119
|
+
this.name = "ResourceAlreadyExistsException";
|
|
120
|
+
this.$fault = "client";
|
|
121
|
+
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
|
|
46
125
|
var MetricsConfiguration;
|
|
47
126
|
(function (MetricsConfiguration) {
|
|
48
127
|
MetricsConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -119,6 +198,19 @@ var DeleteFlowTemplateResponse;
|
|
|
119
198
|
...obj,
|
|
120
199
|
});
|
|
121
200
|
})(DeleteFlowTemplateResponse = exports.DeleteFlowTemplateResponse || (exports.DeleteFlowTemplateResponse = {}));
|
|
201
|
+
class ResourceInUseException extends IoTThingsGraphServiceException_1.IoTThingsGraphServiceException {
|
|
202
|
+
constructor(opts) {
|
|
203
|
+
super({
|
|
204
|
+
name: "ResourceInUseException",
|
|
205
|
+
$fault: "client",
|
|
206
|
+
...opts,
|
|
207
|
+
});
|
|
208
|
+
this.name = "ResourceInUseException";
|
|
209
|
+
this.$fault = "client";
|
|
210
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
122
214
|
var DeleteNamespaceRequest;
|
|
123
215
|
(function (DeleteNamespaceRequest) {
|
|
124
216
|
DeleteNamespaceRequest.filterSensitiveLog = (obj) => ({
|