@aws-sdk/client-iot-managed-integrations 3.986.0 → 3.988.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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IoTManagedIntegrationsServiceException = 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 IoTManagedIntegrationsServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, IoTManagedIntegrationsServiceException.prototype);
10
+ }
11
+ }
12
+ exports.IoTManagedIntegrationsServiceException = IoTManagedIntegrationsServiceException;
@@ -0,0 +1,188 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InvalidRequestException = exports.InternalFailureException = exports.LimitExceededException = exports.ServiceQuotaExceededException = exports.ValidationException = exports.UnauthorizedException = exports.ThrottlingException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
+ const IoTManagedIntegrationsServiceException_1 = require("./IoTManagedIntegrationsServiceException");
5
+ class AccessDeniedException extends IoTManagedIntegrationsServiceException_1.IoTManagedIntegrationsServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "AccessDeniedException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.AccessDeniedException = AccessDeniedException;
20
+ class ConflictException extends IoTManagedIntegrationsServiceException_1.IoTManagedIntegrationsServiceException {
21
+ name = "ConflictException";
22
+ $fault = "client";
23
+ Message;
24
+ constructor(opts) {
25
+ super({
26
+ name: "ConflictException",
27
+ $fault: "client",
28
+ ...opts,
29
+ });
30
+ Object.setPrototypeOf(this, ConflictException.prototype);
31
+ this.Message = opts.Message;
32
+ }
33
+ }
34
+ exports.ConflictException = ConflictException;
35
+ class InternalServerException extends IoTManagedIntegrationsServiceException_1.IoTManagedIntegrationsServiceException {
36
+ name = "InternalServerException";
37
+ $fault = "server";
38
+ Message;
39
+ constructor(opts) {
40
+ super({
41
+ name: "InternalServerException",
42
+ $fault: "server",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, InternalServerException.prototype);
46
+ this.Message = opts.Message;
47
+ }
48
+ }
49
+ exports.InternalServerException = InternalServerException;
50
+ class ResourceNotFoundException extends IoTManagedIntegrationsServiceException_1.IoTManagedIntegrationsServiceException {
51
+ name = "ResourceNotFoundException";
52
+ $fault = "client";
53
+ Message;
54
+ ResourceId;
55
+ ResourceType;
56
+ constructor(opts) {
57
+ super({
58
+ name: "ResourceNotFoundException",
59
+ $fault: "client",
60
+ ...opts,
61
+ });
62
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
63
+ this.Message = opts.Message;
64
+ this.ResourceId = opts.ResourceId;
65
+ this.ResourceType = opts.ResourceType;
66
+ }
67
+ }
68
+ exports.ResourceNotFoundException = ResourceNotFoundException;
69
+ class ServiceUnavailableException extends IoTManagedIntegrationsServiceException_1.IoTManagedIntegrationsServiceException {
70
+ name = "ServiceUnavailableException";
71
+ $fault = "server";
72
+ Message;
73
+ constructor(opts) {
74
+ super({
75
+ name: "ServiceUnavailableException",
76
+ $fault: "server",
77
+ ...opts,
78
+ });
79
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
80
+ this.Message = opts.Message;
81
+ }
82
+ }
83
+ exports.ServiceUnavailableException = ServiceUnavailableException;
84
+ class ThrottlingException extends IoTManagedIntegrationsServiceException_1.IoTManagedIntegrationsServiceException {
85
+ name = "ThrottlingException";
86
+ $fault = "client";
87
+ Message;
88
+ constructor(opts) {
89
+ super({
90
+ name: "ThrottlingException",
91
+ $fault: "client",
92
+ ...opts,
93
+ });
94
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
95
+ this.Message = opts.Message;
96
+ }
97
+ }
98
+ exports.ThrottlingException = ThrottlingException;
99
+ class UnauthorizedException extends IoTManagedIntegrationsServiceException_1.IoTManagedIntegrationsServiceException {
100
+ name = "UnauthorizedException";
101
+ $fault = "client";
102
+ Message;
103
+ constructor(opts) {
104
+ super({
105
+ name: "UnauthorizedException",
106
+ $fault: "client",
107
+ ...opts,
108
+ });
109
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
110
+ this.Message = opts.Message;
111
+ }
112
+ }
113
+ exports.UnauthorizedException = UnauthorizedException;
114
+ class ValidationException extends IoTManagedIntegrationsServiceException_1.IoTManagedIntegrationsServiceException {
115
+ name = "ValidationException";
116
+ $fault = "client";
117
+ Message;
118
+ constructor(opts) {
119
+ super({
120
+ name: "ValidationException",
121
+ $fault: "client",
122
+ ...opts,
123
+ });
124
+ Object.setPrototypeOf(this, ValidationException.prototype);
125
+ this.Message = opts.Message;
126
+ }
127
+ }
128
+ exports.ValidationException = ValidationException;
129
+ class ServiceQuotaExceededException extends IoTManagedIntegrationsServiceException_1.IoTManagedIntegrationsServiceException {
130
+ name = "ServiceQuotaExceededException";
131
+ $fault = "client";
132
+ Message;
133
+ constructor(opts) {
134
+ super({
135
+ name: "ServiceQuotaExceededException",
136
+ $fault: "client",
137
+ ...opts,
138
+ });
139
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
140
+ this.Message = opts.Message;
141
+ }
142
+ }
143
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
144
+ class LimitExceededException extends IoTManagedIntegrationsServiceException_1.IoTManagedIntegrationsServiceException {
145
+ name = "LimitExceededException";
146
+ $fault = "client";
147
+ Message;
148
+ constructor(opts) {
149
+ super({
150
+ name: "LimitExceededException",
151
+ $fault: "client",
152
+ ...opts,
153
+ });
154
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
155
+ this.Message = opts.Message;
156
+ }
157
+ }
158
+ exports.LimitExceededException = LimitExceededException;
159
+ class InternalFailureException extends IoTManagedIntegrationsServiceException_1.IoTManagedIntegrationsServiceException {
160
+ name = "InternalFailureException";
161
+ $fault = "server";
162
+ Message;
163
+ constructor(opts) {
164
+ super({
165
+ name: "InternalFailureException",
166
+ $fault: "server",
167
+ ...opts,
168
+ });
169
+ Object.setPrototypeOf(this, InternalFailureException.prototype);
170
+ this.Message = opts.Message;
171
+ }
172
+ }
173
+ exports.InternalFailureException = InternalFailureException;
174
+ class InvalidRequestException extends IoTManagedIntegrationsServiceException_1.IoTManagedIntegrationsServiceException {
175
+ name = "InvalidRequestException";
176
+ $fault = "client";
177
+ Message;
178
+ constructor(opts) {
179
+ super({
180
+ name: "InvalidRequestException",
181
+ $fault: "client",
182
+ ...opts,
183
+ });
184
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
185
+ this.Message = opts.Message;
186
+ }
187
+ }
188
+ exports.InvalidRequestException = InvalidRequestException;
@@ -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: "2025-03-03",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.iotmanagedintegrations",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2025-03-03",
33
35
  serviceTarget: "IotManagedIntegrations",
34
36
  },