@aws-sdk/client-license-manager 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.LicenseManagerServiceException = 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 LicenseManagerServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, LicenseManagerServiceException.prototype);
10
+ }
11
+ }
12
+ exports.LicenseManagerServiceException = LicenseManagerServiceException;
@@ -0,0 +1,263 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LicenseUsageException = exports.InvalidResourceStateException = exports.FailedDependencyException = exports.FilterLimitExceededException = exports.UnsupportedDigitalSignatureMethodException = exports.RedirectException = exports.NoEntitlementsAllowedException = exports.EntitlementNotAllowedException = exports.ResourceNotFoundException = exports.ConflictException = exports.ValidationException = exports.ServerInternalException = exports.ResourceLimitExceededException = exports.RateLimitExceededException = exports.InvalidParameterValueException = exports.AuthorizationException = exports.AccessDeniedException = void 0;
4
+ const LicenseManagerServiceException_1 = require("./LicenseManagerServiceException");
5
+ class AccessDeniedException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
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 AuthorizationException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
21
+ name = "AuthorizationException";
22
+ $fault = "client";
23
+ Message;
24
+ constructor(opts) {
25
+ super({
26
+ name: "AuthorizationException",
27
+ $fault: "client",
28
+ ...opts,
29
+ });
30
+ Object.setPrototypeOf(this, AuthorizationException.prototype);
31
+ this.Message = opts.Message;
32
+ }
33
+ }
34
+ exports.AuthorizationException = AuthorizationException;
35
+ class InvalidParameterValueException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
36
+ name = "InvalidParameterValueException";
37
+ $fault = "client";
38
+ Message;
39
+ constructor(opts) {
40
+ super({
41
+ name: "InvalidParameterValueException",
42
+ $fault: "client",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
46
+ this.Message = opts.Message;
47
+ }
48
+ }
49
+ exports.InvalidParameterValueException = InvalidParameterValueException;
50
+ class RateLimitExceededException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
51
+ name = "RateLimitExceededException";
52
+ $fault = "client";
53
+ Message;
54
+ constructor(opts) {
55
+ super({
56
+ name: "RateLimitExceededException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ Object.setPrototypeOf(this, RateLimitExceededException.prototype);
61
+ this.Message = opts.Message;
62
+ }
63
+ }
64
+ exports.RateLimitExceededException = RateLimitExceededException;
65
+ class ResourceLimitExceededException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
66
+ name = "ResourceLimitExceededException";
67
+ $fault = "client";
68
+ Message;
69
+ constructor(opts) {
70
+ super({
71
+ name: "ResourceLimitExceededException",
72
+ $fault: "client",
73
+ ...opts,
74
+ });
75
+ Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
76
+ this.Message = opts.Message;
77
+ }
78
+ }
79
+ exports.ResourceLimitExceededException = ResourceLimitExceededException;
80
+ class ServerInternalException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
81
+ name = "ServerInternalException";
82
+ $fault = "server";
83
+ Message;
84
+ constructor(opts) {
85
+ super({
86
+ name: "ServerInternalException",
87
+ $fault: "server",
88
+ ...opts,
89
+ });
90
+ Object.setPrototypeOf(this, ServerInternalException.prototype);
91
+ this.Message = opts.Message;
92
+ }
93
+ }
94
+ exports.ServerInternalException = ServerInternalException;
95
+ class ValidationException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
96
+ name = "ValidationException";
97
+ $fault = "client";
98
+ Message;
99
+ constructor(opts) {
100
+ super({
101
+ name: "ValidationException",
102
+ $fault: "client",
103
+ ...opts,
104
+ });
105
+ Object.setPrototypeOf(this, ValidationException.prototype);
106
+ this.Message = opts.Message;
107
+ }
108
+ }
109
+ exports.ValidationException = ValidationException;
110
+ class ConflictException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
111
+ name = "ConflictException";
112
+ $fault = "client";
113
+ Message;
114
+ constructor(opts) {
115
+ super({
116
+ name: "ConflictException",
117
+ $fault: "client",
118
+ ...opts,
119
+ });
120
+ Object.setPrototypeOf(this, ConflictException.prototype);
121
+ this.Message = opts.Message;
122
+ }
123
+ }
124
+ exports.ConflictException = ConflictException;
125
+ class ResourceNotFoundException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
126
+ name = "ResourceNotFoundException";
127
+ $fault = "client";
128
+ Message;
129
+ constructor(opts) {
130
+ super({
131
+ name: "ResourceNotFoundException",
132
+ $fault: "client",
133
+ ...opts,
134
+ });
135
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
136
+ this.Message = opts.Message;
137
+ }
138
+ }
139
+ exports.ResourceNotFoundException = ResourceNotFoundException;
140
+ class EntitlementNotAllowedException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
141
+ name = "EntitlementNotAllowedException";
142
+ $fault = "client";
143
+ Message;
144
+ constructor(opts) {
145
+ super({
146
+ name: "EntitlementNotAllowedException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, EntitlementNotAllowedException.prototype);
151
+ this.Message = opts.Message;
152
+ }
153
+ }
154
+ exports.EntitlementNotAllowedException = EntitlementNotAllowedException;
155
+ class NoEntitlementsAllowedException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
156
+ name = "NoEntitlementsAllowedException";
157
+ $fault = "client";
158
+ Message;
159
+ constructor(opts) {
160
+ super({
161
+ name: "NoEntitlementsAllowedException",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ Object.setPrototypeOf(this, NoEntitlementsAllowedException.prototype);
166
+ this.Message = opts.Message;
167
+ }
168
+ }
169
+ exports.NoEntitlementsAllowedException = NoEntitlementsAllowedException;
170
+ class RedirectException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
171
+ name = "RedirectException";
172
+ $fault = "client";
173
+ Location;
174
+ Message;
175
+ constructor(opts) {
176
+ super({
177
+ name: "RedirectException",
178
+ $fault: "client",
179
+ ...opts,
180
+ });
181
+ Object.setPrototypeOf(this, RedirectException.prototype);
182
+ this.Location = opts.Location;
183
+ this.Message = opts.Message;
184
+ }
185
+ }
186
+ exports.RedirectException = RedirectException;
187
+ class UnsupportedDigitalSignatureMethodException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
188
+ name = "UnsupportedDigitalSignatureMethodException";
189
+ $fault = "client";
190
+ Message;
191
+ constructor(opts) {
192
+ super({
193
+ name: "UnsupportedDigitalSignatureMethodException",
194
+ $fault: "client",
195
+ ...opts,
196
+ });
197
+ Object.setPrototypeOf(this, UnsupportedDigitalSignatureMethodException.prototype);
198
+ this.Message = opts.Message;
199
+ }
200
+ }
201
+ exports.UnsupportedDigitalSignatureMethodException = UnsupportedDigitalSignatureMethodException;
202
+ class FilterLimitExceededException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
203
+ name = "FilterLimitExceededException";
204
+ $fault = "client";
205
+ Message;
206
+ constructor(opts) {
207
+ super({
208
+ name: "FilterLimitExceededException",
209
+ $fault: "client",
210
+ ...opts,
211
+ });
212
+ Object.setPrototypeOf(this, FilterLimitExceededException.prototype);
213
+ this.Message = opts.Message;
214
+ }
215
+ }
216
+ exports.FilterLimitExceededException = FilterLimitExceededException;
217
+ class FailedDependencyException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
218
+ name = "FailedDependencyException";
219
+ $fault = "client";
220
+ Message;
221
+ ErrorCode;
222
+ constructor(opts) {
223
+ super({
224
+ name: "FailedDependencyException",
225
+ $fault: "client",
226
+ ...opts,
227
+ });
228
+ Object.setPrototypeOf(this, FailedDependencyException.prototype);
229
+ this.Message = opts.Message;
230
+ this.ErrorCode = opts.ErrorCode;
231
+ }
232
+ }
233
+ exports.FailedDependencyException = FailedDependencyException;
234
+ class InvalidResourceStateException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
235
+ name = "InvalidResourceStateException";
236
+ $fault = "client";
237
+ Message;
238
+ constructor(opts) {
239
+ super({
240
+ name: "InvalidResourceStateException",
241
+ $fault: "client",
242
+ ...opts,
243
+ });
244
+ Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
245
+ this.Message = opts.Message;
246
+ }
247
+ }
248
+ exports.InvalidResourceStateException = InvalidResourceStateException;
249
+ class LicenseUsageException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
250
+ name = "LicenseUsageException";
251
+ $fault = "client";
252
+ Message;
253
+ constructor(opts) {
254
+ super({
255
+ name: "LicenseUsageException",
256
+ $fault: "client",
257
+ ...opts,
258
+ });
259
+ Object.setPrototypeOf(this, LicenseUsageException.prototype);
260
+ this.Message = opts.Message;
261
+ }
262
+ }
263
+ exports.LicenseUsageException = LicenseUsageException;
@@ -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: "2018-08-01",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.licensemanager",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  xmlNamespace: "https://license-manager.amazonaws.com/doc/2018_08_01",
33
35
  version: "2018-08-01",
34
36
  serviceTarget: "AWSLicenseManager",