@aws-sdk/client-iot-data-plane 3.50.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/IoTDataPlaneServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +132 -1
- package/dist-cjs/protocols/Aws_restJson1.js +143 -436
- package/dist-es/index.js +1 -0
- package/dist-es/models/IoTDataPlaneServiceException.js +12 -0
- package/dist-es/models/models_0.js +122 -1
- package/dist-es/protocols/Aws_restJson1.js +229 -475
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/IoTDataPlaneServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +52 -51
- package/dist-types/ts3.4/IoTDataPlane.d.ts +40 -0
- package/dist-types/ts3.4/IoTDataPlaneClient.d.ts +80 -0
- package/dist-types/ts3.4/commands/DeleteThingShadowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRetainedMessageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetThingShadowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListNamedShadowsForThingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRetainedMessagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PublishCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateThingShadowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/IoTDataPlaneServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +232 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListRetainedMessagesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +23 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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
|
+
|
|
17
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-iot-data-plane
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-iot-data-plane
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-iot-data-plane
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IoTDataPlaneServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./IoTDataPlane"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./IoTDataPlaneClient"), 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 IoTDataPlaneServiceException_1 = require("./models/IoTDataPlaneServiceException");
|
|
11
|
+
Object.defineProperty(exports, "IoTDataPlaneServiceException", { enumerable: true, get: function () { return IoTDataPlaneServiceException_1.IoTDataPlaneServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IoTDataPlaneServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class IoTDataPlaneServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, IoTDataPlaneServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.IoTDataPlaneServiceException = IoTDataPlaneServiceException;
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateThingShadowResponse = exports.UpdateThingShadowRequest = exports.PublishRequest = exports.ListRetainedMessagesResponse = exports.RetainedMessageSummary = exports.ListRetainedMessagesRequest = exports.ListNamedShadowsForThingResponse = exports.ListNamedShadowsForThingRequest = exports.GetThingShadowResponse = exports.GetThingShadowRequest = exports.GetRetainedMessageResponse = exports.GetRetainedMessageRequest = exports.DeleteThingShadowResponse = exports.DeleteThingShadowRequest = void 0;
|
|
3
|
+
exports.UpdateThingShadowResponse = exports.UpdateThingShadowRequest = exports.RequestEntityTooLargeException = exports.PublishRequest = exports.ListRetainedMessagesResponse = exports.RetainedMessageSummary = exports.ListRetainedMessagesRequest = exports.ListNamedShadowsForThingResponse = exports.ListNamedShadowsForThingRequest = exports.GetThingShadowResponse = exports.GetThingShadowRequest = exports.GetRetainedMessageResponse = exports.GetRetainedMessageRequest = exports.UnsupportedDocumentEncodingException = exports.UnauthorizedException = exports.ThrottlingException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.MethodNotAllowedException = exports.InvalidRequestException = exports.InternalFailureException = exports.DeleteThingShadowResponse = exports.DeleteThingShadowRequest = exports.ConflictException = void 0;
|
|
4
|
+
const IoTDataPlaneServiceException_1 = require("./IoTDataPlaneServiceException");
|
|
5
|
+
class ConflictException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException {
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "ConflictException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
this.name = "ConflictException";
|
|
13
|
+
this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.ConflictException = ConflictException;
|
|
4
18
|
var DeleteThingShadowRequest;
|
|
5
19
|
(function (DeleteThingShadowRequest) {
|
|
6
20
|
DeleteThingShadowRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -13,6 +27,110 @@ var DeleteThingShadowResponse;
|
|
|
13
27
|
...obj,
|
|
14
28
|
});
|
|
15
29
|
})(DeleteThingShadowResponse = exports.DeleteThingShadowResponse || (exports.DeleteThingShadowResponse = {}));
|
|
30
|
+
class InternalFailureException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException {
|
|
31
|
+
constructor(opts) {
|
|
32
|
+
super({
|
|
33
|
+
name: "InternalFailureException",
|
|
34
|
+
$fault: "server",
|
|
35
|
+
...opts,
|
|
36
|
+
});
|
|
37
|
+
this.name = "InternalFailureException";
|
|
38
|
+
this.$fault = "server";
|
|
39
|
+
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.InternalFailureException = InternalFailureException;
|
|
43
|
+
class InvalidRequestException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException {
|
|
44
|
+
constructor(opts) {
|
|
45
|
+
super({
|
|
46
|
+
name: "InvalidRequestException",
|
|
47
|
+
$fault: "client",
|
|
48
|
+
...opts,
|
|
49
|
+
});
|
|
50
|
+
this.name = "InvalidRequestException";
|
|
51
|
+
this.$fault = "client";
|
|
52
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
56
|
+
class MethodNotAllowedException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException {
|
|
57
|
+
constructor(opts) {
|
|
58
|
+
super({
|
|
59
|
+
name: "MethodNotAllowedException",
|
|
60
|
+
$fault: "client",
|
|
61
|
+
...opts,
|
|
62
|
+
});
|
|
63
|
+
this.name = "MethodNotAllowedException";
|
|
64
|
+
this.$fault = "client";
|
|
65
|
+
Object.setPrototypeOf(this, MethodNotAllowedException.prototype);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.MethodNotAllowedException = MethodNotAllowedException;
|
|
69
|
+
class ResourceNotFoundException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException {
|
|
70
|
+
constructor(opts) {
|
|
71
|
+
super({
|
|
72
|
+
name: "ResourceNotFoundException",
|
|
73
|
+
$fault: "client",
|
|
74
|
+
...opts,
|
|
75
|
+
});
|
|
76
|
+
this.name = "ResourceNotFoundException";
|
|
77
|
+
this.$fault = "client";
|
|
78
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
82
|
+
class ServiceUnavailableException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException {
|
|
83
|
+
constructor(opts) {
|
|
84
|
+
super({
|
|
85
|
+
name: "ServiceUnavailableException",
|
|
86
|
+
$fault: "server",
|
|
87
|
+
...opts,
|
|
88
|
+
});
|
|
89
|
+
this.name = "ServiceUnavailableException";
|
|
90
|
+
this.$fault = "server";
|
|
91
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
95
|
+
class ThrottlingException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException {
|
|
96
|
+
constructor(opts) {
|
|
97
|
+
super({
|
|
98
|
+
name: "ThrottlingException",
|
|
99
|
+
$fault: "client",
|
|
100
|
+
...opts,
|
|
101
|
+
});
|
|
102
|
+
this.name = "ThrottlingException";
|
|
103
|
+
this.$fault = "client";
|
|
104
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.ThrottlingException = ThrottlingException;
|
|
108
|
+
class UnauthorizedException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException {
|
|
109
|
+
constructor(opts) {
|
|
110
|
+
super({
|
|
111
|
+
name: "UnauthorizedException",
|
|
112
|
+
$fault: "client",
|
|
113
|
+
...opts,
|
|
114
|
+
});
|
|
115
|
+
this.name = "UnauthorizedException";
|
|
116
|
+
this.$fault = "client";
|
|
117
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
exports.UnauthorizedException = UnauthorizedException;
|
|
121
|
+
class UnsupportedDocumentEncodingException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException {
|
|
122
|
+
constructor(opts) {
|
|
123
|
+
super({
|
|
124
|
+
name: "UnsupportedDocumentEncodingException",
|
|
125
|
+
$fault: "client",
|
|
126
|
+
...opts,
|
|
127
|
+
});
|
|
128
|
+
this.name = "UnsupportedDocumentEncodingException";
|
|
129
|
+
this.$fault = "client";
|
|
130
|
+
Object.setPrototypeOf(this, UnsupportedDocumentEncodingException.prototype);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
exports.UnsupportedDocumentEncodingException = UnsupportedDocumentEncodingException;
|
|
16
134
|
var GetRetainedMessageRequest;
|
|
17
135
|
(function (GetRetainedMessageRequest) {
|
|
18
136
|
GetRetainedMessageRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -73,6 +191,19 @@ var PublishRequest;
|
|
|
73
191
|
...obj,
|
|
74
192
|
});
|
|
75
193
|
})(PublishRequest = exports.PublishRequest || (exports.PublishRequest = {}));
|
|
194
|
+
class RequestEntityTooLargeException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException {
|
|
195
|
+
constructor(opts) {
|
|
196
|
+
super({
|
|
197
|
+
name: "RequestEntityTooLargeException",
|
|
198
|
+
$fault: "client",
|
|
199
|
+
...opts,
|
|
200
|
+
});
|
|
201
|
+
this.name = "RequestEntityTooLargeException";
|
|
202
|
+
this.$fault = "client";
|
|
203
|
+
Object.setPrototypeOf(this, RequestEntityTooLargeException.prototype);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
exports.RequestEntityTooLargeException = RequestEntityTooLargeException;
|
|
76
207
|
var UpdateThingShadowRequest;
|
|
77
208
|
(function (UpdateThingShadowRequest) {
|
|
78
209
|
UpdateThingShadowRequest.filterSensitiveLog = (obj) => ({
|