@aws-sdk/client-iotfleetwise 3.987.0 → 3.989.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/dist-cjs/index.js +76 -2267
- package/dist-cjs/models/IoTFleetWiseServiceException.js +12 -0
- package/dist-cjs/models/errors.js +168 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1815 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +87 -81
- package/dist-types/schemas/schemas_0.d.ts +17 -10
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -10
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IoTFleetWiseServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class IoTFleetWiseServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, IoTFleetWiseServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.IoTFleetWiseServiceException = IoTFleetWiseServiceException;
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvalidNodeException = exports.InvalidSignalsException = exports.DecoderManifestValidationException = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const IoTFleetWiseServiceException_1 = require("./IoTFleetWiseServiceException");
|
|
5
|
+
class AccessDeniedException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class InternalServerException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
|
|
19
|
+
name = "InternalServerException";
|
|
20
|
+
$fault = "server";
|
|
21
|
+
retryAfterSeconds;
|
|
22
|
+
constructor(opts) {
|
|
23
|
+
super({
|
|
24
|
+
name: "InternalServerException",
|
|
25
|
+
$fault: "server",
|
|
26
|
+
...opts,
|
|
27
|
+
});
|
|
28
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
29
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.InternalServerException = InternalServerException;
|
|
33
|
+
class LimitExceededException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
|
|
34
|
+
name = "LimitExceededException";
|
|
35
|
+
$fault = "client";
|
|
36
|
+
resourceId;
|
|
37
|
+
resourceType;
|
|
38
|
+
constructor(opts) {
|
|
39
|
+
super({
|
|
40
|
+
name: "LimitExceededException",
|
|
41
|
+
$fault: "client",
|
|
42
|
+
...opts,
|
|
43
|
+
});
|
|
44
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
45
|
+
this.resourceId = opts.resourceId;
|
|
46
|
+
this.resourceType = opts.resourceType;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.LimitExceededException = LimitExceededException;
|
|
50
|
+
class ResourceNotFoundException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
|
|
51
|
+
name = "ResourceNotFoundException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
resourceId;
|
|
54
|
+
resourceType;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "ResourceNotFoundException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
62
|
+
this.resourceId = opts.resourceId;
|
|
63
|
+
this.resourceType = opts.resourceType;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
67
|
+
class ThrottlingException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
|
|
68
|
+
name = "ThrottlingException";
|
|
69
|
+
$fault = "client";
|
|
70
|
+
quotaCode;
|
|
71
|
+
serviceCode;
|
|
72
|
+
retryAfterSeconds;
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ThrottlingException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
80
|
+
this.quotaCode = opts.quotaCode;
|
|
81
|
+
this.serviceCode = opts.serviceCode;
|
|
82
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.ThrottlingException = ThrottlingException;
|
|
86
|
+
class ValidationException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
|
|
87
|
+
name = "ValidationException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
reason;
|
|
90
|
+
fieldList;
|
|
91
|
+
constructor(opts) {
|
|
92
|
+
super({
|
|
93
|
+
name: "ValidationException",
|
|
94
|
+
$fault: "client",
|
|
95
|
+
...opts,
|
|
96
|
+
});
|
|
97
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
98
|
+
this.reason = opts.reason;
|
|
99
|
+
this.fieldList = opts.fieldList;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.ValidationException = ValidationException;
|
|
103
|
+
class ConflictException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
|
|
104
|
+
name = "ConflictException";
|
|
105
|
+
$fault = "client";
|
|
106
|
+
resource;
|
|
107
|
+
resourceType;
|
|
108
|
+
constructor(opts) {
|
|
109
|
+
super({
|
|
110
|
+
name: "ConflictException",
|
|
111
|
+
$fault: "client",
|
|
112
|
+
...opts,
|
|
113
|
+
});
|
|
114
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
115
|
+
this.resource = opts.resource;
|
|
116
|
+
this.resourceType = opts.resourceType;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.ConflictException = ConflictException;
|
|
120
|
+
class DecoderManifestValidationException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
|
|
121
|
+
name = "DecoderManifestValidationException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
invalidSignals;
|
|
124
|
+
invalidNetworkInterfaces;
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "DecoderManifestValidationException",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, DecoderManifestValidationException.prototype);
|
|
132
|
+
this.invalidSignals = opts.invalidSignals;
|
|
133
|
+
this.invalidNetworkInterfaces = opts.invalidNetworkInterfaces;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
exports.DecoderManifestValidationException = DecoderManifestValidationException;
|
|
137
|
+
class InvalidSignalsException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
|
|
138
|
+
name = "InvalidSignalsException";
|
|
139
|
+
$fault = "client";
|
|
140
|
+
invalidSignals;
|
|
141
|
+
constructor(opts) {
|
|
142
|
+
super({
|
|
143
|
+
name: "InvalidSignalsException",
|
|
144
|
+
$fault: "client",
|
|
145
|
+
...opts,
|
|
146
|
+
});
|
|
147
|
+
Object.setPrototypeOf(this, InvalidSignalsException.prototype);
|
|
148
|
+
this.invalidSignals = opts.invalidSignals;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
exports.InvalidSignalsException = InvalidSignalsException;
|
|
152
|
+
class InvalidNodeException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
|
|
153
|
+
name = "InvalidNodeException";
|
|
154
|
+
$fault = "client";
|
|
155
|
+
invalidNodes;
|
|
156
|
+
reason;
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "InvalidNodeException",
|
|
160
|
+
$fault: "client",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, InvalidNodeException.prototype);
|
|
164
|
+
this.invalidNodes = opts.invalidNodes;
|
|
165
|
+
this.reason = opts.reason;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
exports.InvalidNodeException = InvalidNodeException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2021-06-17",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.iotfleetwise",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2021-06-17",
|
|
33
35
|
serviceTarget: "IoTAutobahnControlPlane",
|
|
34
36
|
},
|