@aws-sdk/client-license-manager 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/dist-es/index.js CHANGED
@@ -2,3 +2,4 @@ export * from "./LicenseManager";
2
2
  export * from "./LicenseManagerClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { LicenseManagerServiceException } from "./models/LicenseManagerServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var LicenseManagerServiceException = (function (_super) {
4
+ __extends(LicenseManagerServiceException, _super);
5
+ function LicenseManagerServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, LicenseManagerServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return LicenseManagerServiceException;
11
+ }(__ServiceException));
12
+ export { LicenseManagerServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { LicenseManagerServiceException as __BaseException } from "./LicenseManagerServiceException";
2
3
  export var AcceptGrantRequest;
3
4
  (function (AcceptGrantRequest) {
4
5
  AcceptGrantRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -19,6 +20,97 @@ export var AcceptGrantResponse;
19
20
  (function (AcceptGrantResponse) {
20
21
  AcceptGrantResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
21
22
  })(AcceptGrantResponse || (AcceptGrantResponse = {}));
23
+ var AccessDeniedException = (function (_super) {
24
+ __extends(AccessDeniedException, _super);
25
+ function AccessDeniedException(opts) {
26
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
27
+ _this.name = "AccessDeniedException";
28
+ _this.$fault = "client";
29
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
30
+ _this.Message = opts.Message;
31
+ return _this;
32
+ }
33
+ return AccessDeniedException;
34
+ }(__BaseException));
35
+ export { AccessDeniedException };
36
+ var AuthorizationException = (function (_super) {
37
+ __extends(AuthorizationException, _super);
38
+ function AuthorizationException(opts) {
39
+ var _this = _super.call(this, __assign({ name: "AuthorizationException", $fault: "client" }, opts)) || this;
40
+ _this.name = "AuthorizationException";
41
+ _this.$fault = "client";
42
+ Object.setPrototypeOf(_this, AuthorizationException.prototype);
43
+ _this.Message = opts.Message;
44
+ return _this;
45
+ }
46
+ return AuthorizationException;
47
+ }(__BaseException));
48
+ export { AuthorizationException };
49
+ var InvalidParameterValueException = (function (_super) {
50
+ __extends(InvalidParameterValueException, _super);
51
+ function InvalidParameterValueException(opts) {
52
+ var _this = _super.call(this, __assign({ name: "InvalidParameterValueException", $fault: "client" }, opts)) || this;
53
+ _this.name = "InvalidParameterValueException";
54
+ _this.$fault = "client";
55
+ Object.setPrototypeOf(_this, InvalidParameterValueException.prototype);
56
+ _this.Message = opts.Message;
57
+ return _this;
58
+ }
59
+ return InvalidParameterValueException;
60
+ }(__BaseException));
61
+ export { InvalidParameterValueException };
62
+ var RateLimitExceededException = (function (_super) {
63
+ __extends(RateLimitExceededException, _super);
64
+ function RateLimitExceededException(opts) {
65
+ var _this = _super.call(this, __assign({ name: "RateLimitExceededException", $fault: "client" }, opts)) || this;
66
+ _this.name = "RateLimitExceededException";
67
+ _this.$fault = "client";
68
+ Object.setPrototypeOf(_this, RateLimitExceededException.prototype);
69
+ _this.Message = opts.Message;
70
+ return _this;
71
+ }
72
+ return RateLimitExceededException;
73
+ }(__BaseException));
74
+ export { RateLimitExceededException };
75
+ var ResourceLimitExceededException = (function (_super) {
76
+ __extends(ResourceLimitExceededException, _super);
77
+ function ResourceLimitExceededException(opts) {
78
+ var _this = _super.call(this, __assign({ name: "ResourceLimitExceededException", $fault: "client" }, opts)) || this;
79
+ _this.name = "ResourceLimitExceededException";
80
+ _this.$fault = "client";
81
+ Object.setPrototypeOf(_this, ResourceLimitExceededException.prototype);
82
+ _this.Message = opts.Message;
83
+ return _this;
84
+ }
85
+ return ResourceLimitExceededException;
86
+ }(__BaseException));
87
+ export { ResourceLimitExceededException };
88
+ var ServerInternalException = (function (_super) {
89
+ __extends(ServerInternalException, _super);
90
+ function ServerInternalException(opts) {
91
+ var _this = _super.call(this, __assign({ name: "ServerInternalException", $fault: "server" }, opts)) || this;
92
+ _this.name = "ServerInternalException";
93
+ _this.$fault = "server";
94
+ Object.setPrototypeOf(_this, ServerInternalException.prototype);
95
+ _this.Message = opts.Message;
96
+ return _this;
97
+ }
98
+ return ServerInternalException;
99
+ }(__BaseException));
100
+ export { ServerInternalException };
101
+ var ValidationException = (function (_super) {
102
+ __extends(ValidationException, _super);
103
+ function ValidationException(opts) {
104
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
105
+ _this.name = "ValidationException";
106
+ _this.$fault = "client";
107
+ Object.setPrototypeOf(_this, ValidationException.prototype);
108
+ _this.Message = opts.Message;
109
+ return _this;
110
+ }
111
+ return ValidationException;
112
+ }(__BaseException));
113
+ export { ValidationException };
22
114
  export var AllowedOperation;
23
115
  (function (AllowedOperation) {
24
116
  AllowedOperation["CHECKOUT_BORROW_LICENSE"] = "CheckoutBorrowLicense";
@@ -41,6 +133,32 @@ export var CheckInLicenseResponse;
41
133
  (function (CheckInLicenseResponse) {
42
134
  CheckInLicenseResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
43
135
  })(CheckInLicenseResponse || (CheckInLicenseResponse = {}));
136
+ var ConflictException = (function (_super) {
137
+ __extends(ConflictException, _super);
138
+ function ConflictException(opts) {
139
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
140
+ _this.name = "ConflictException";
141
+ _this.$fault = "client";
142
+ Object.setPrototypeOf(_this, ConflictException.prototype);
143
+ _this.Message = opts.Message;
144
+ return _this;
145
+ }
146
+ return ConflictException;
147
+ }(__BaseException));
148
+ export { ConflictException };
149
+ var ResourceNotFoundException = (function (_super) {
150
+ __extends(ResourceNotFoundException, _super);
151
+ function ResourceNotFoundException(opts) {
152
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
153
+ _this.name = "ResourceNotFoundException";
154
+ _this.$fault = "client";
155
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
156
+ _this.Message = opts.Message;
157
+ return _this;
158
+ }
159
+ return ResourceNotFoundException;
160
+ }(__BaseException));
161
+ export { ResourceNotFoundException };
44
162
  export var Metadata;
45
163
  (function (Metadata) {
46
164
  Metadata.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -91,6 +209,59 @@ export var CheckoutBorrowLicenseResponse;
91
209
  (function (CheckoutBorrowLicenseResponse) {
92
210
  CheckoutBorrowLicenseResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
93
211
  })(CheckoutBorrowLicenseResponse || (CheckoutBorrowLicenseResponse = {}));
212
+ var EntitlementNotAllowedException = (function (_super) {
213
+ __extends(EntitlementNotAllowedException, _super);
214
+ function EntitlementNotAllowedException(opts) {
215
+ var _this = _super.call(this, __assign({ name: "EntitlementNotAllowedException", $fault: "client" }, opts)) || this;
216
+ _this.name = "EntitlementNotAllowedException";
217
+ _this.$fault = "client";
218
+ Object.setPrototypeOf(_this, EntitlementNotAllowedException.prototype);
219
+ _this.Message = opts.Message;
220
+ return _this;
221
+ }
222
+ return EntitlementNotAllowedException;
223
+ }(__BaseException));
224
+ export { EntitlementNotAllowedException };
225
+ var NoEntitlementsAllowedException = (function (_super) {
226
+ __extends(NoEntitlementsAllowedException, _super);
227
+ function NoEntitlementsAllowedException(opts) {
228
+ var _this = _super.call(this, __assign({ name: "NoEntitlementsAllowedException", $fault: "client" }, opts)) || this;
229
+ _this.name = "NoEntitlementsAllowedException";
230
+ _this.$fault = "client";
231
+ Object.setPrototypeOf(_this, NoEntitlementsAllowedException.prototype);
232
+ _this.Message = opts.Message;
233
+ return _this;
234
+ }
235
+ return NoEntitlementsAllowedException;
236
+ }(__BaseException));
237
+ export { NoEntitlementsAllowedException };
238
+ var RedirectException = (function (_super) {
239
+ __extends(RedirectException, _super);
240
+ function RedirectException(opts) {
241
+ var _this = _super.call(this, __assign({ name: "RedirectException", $fault: "client" }, opts)) || this;
242
+ _this.name = "RedirectException";
243
+ _this.$fault = "client";
244
+ Object.setPrototypeOf(_this, RedirectException.prototype);
245
+ _this.Location = opts.Location;
246
+ _this.Message = opts.Message;
247
+ return _this;
248
+ }
249
+ return RedirectException;
250
+ }(__BaseException));
251
+ export { RedirectException };
252
+ var UnsupportedDigitalSignatureMethodException = (function (_super) {
253
+ __extends(UnsupportedDigitalSignatureMethodException, _super);
254
+ function UnsupportedDigitalSignatureMethodException(opts) {
255
+ var _this = _super.call(this, __assign({ name: "UnsupportedDigitalSignatureMethodException", $fault: "client" }, opts)) || this;
256
+ _this.name = "UnsupportedDigitalSignatureMethodException";
257
+ _this.$fault = "client";
258
+ Object.setPrototypeOf(_this, UnsupportedDigitalSignatureMethodException.prototype);
259
+ _this.Message = opts.Message;
260
+ return _this;
261
+ }
262
+ return UnsupportedDigitalSignatureMethodException;
263
+ }(__BaseException));
264
+ export { UnsupportedDigitalSignatureMethodException };
94
265
  export var CheckoutType;
95
266
  (function (CheckoutType) {
96
267
  CheckoutType["PERPETUAL"] = "PERPETUAL";
@@ -455,6 +626,19 @@ export var GetServiceSettingsResponse;
455
626
  (function (GetServiceSettingsResponse) {
456
627
  GetServiceSettingsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
457
628
  })(GetServiceSettingsResponse || (GetServiceSettingsResponse = {}));
629
+ var FilterLimitExceededException = (function (_super) {
630
+ __extends(FilterLimitExceededException, _super);
631
+ function FilterLimitExceededException(opts) {
632
+ var _this = _super.call(this, __assign({ name: "FilterLimitExceededException", $fault: "client" }, opts)) || this;
633
+ _this.name = "FilterLimitExceededException";
634
+ _this.$fault = "client";
635
+ Object.setPrototypeOf(_this, FilterLimitExceededException.prototype);
636
+ _this.Message = opts.Message;
637
+ return _this;
638
+ }
639
+ return FilterLimitExceededException;
640
+ }(__BaseException));
641
+ export { FilterLimitExceededException };
458
642
  export var ListAssociationsForLicenseConfigurationRequest;
459
643
  (function (ListAssociationsForLicenseConfigurationRequest) {
460
644
  ListAssociationsForLicenseConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -586,6 +770,20 @@ export var ListReceivedLicensesResponse;
586
770
  (function (ListReceivedLicensesResponse) {
587
771
  ListReceivedLicensesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
588
772
  })(ListReceivedLicensesResponse || (ListReceivedLicensesResponse = {}));
773
+ var FailedDependencyException = (function (_super) {
774
+ __extends(FailedDependencyException, _super);
775
+ function FailedDependencyException(opts) {
776
+ var _this = _super.call(this, __assign({ name: "FailedDependencyException", $fault: "client" }, opts)) || this;
777
+ _this.name = "FailedDependencyException";
778
+ _this.$fault = "client";
779
+ Object.setPrototypeOf(_this, FailedDependencyException.prototype);
780
+ _this.Message = opts.Message;
781
+ _this.ErrorCode = opts.ErrorCode;
782
+ return _this;
783
+ }
784
+ return FailedDependencyException;
785
+ }(__BaseException));
786
+ export { FailedDependencyException };
589
787
  export var InventoryFilterCondition;
590
788
  (function (InventoryFilterCondition) {
591
789
  InventoryFilterCondition["BEGINS_WITH"] = "BEGINS_WITH";
@@ -686,6 +884,32 @@ export var UpdateLicenseManagerReportGeneratorResponse;
686
884
  (function (UpdateLicenseManagerReportGeneratorResponse) {
687
885
  UpdateLicenseManagerReportGeneratorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
688
886
  })(UpdateLicenseManagerReportGeneratorResponse || (UpdateLicenseManagerReportGeneratorResponse = {}));
887
+ var InvalidResourceStateException = (function (_super) {
888
+ __extends(InvalidResourceStateException, _super);
889
+ function InvalidResourceStateException(opts) {
890
+ var _this = _super.call(this, __assign({ name: "InvalidResourceStateException", $fault: "client" }, opts)) || this;
891
+ _this.name = "InvalidResourceStateException";
892
+ _this.$fault = "client";
893
+ Object.setPrototypeOf(_this, InvalidResourceStateException.prototype);
894
+ _this.Message = opts.Message;
895
+ return _this;
896
+ }
897
+ return InvalidResourceStateException;
898
+ }(__BaseException));
899
+ export { InvalidResourceStateException };
900
+ var LicenseUsageException = (function (_super) {
901
+ __extends(LicenseUsageException, _super);
902
+ function LicenseUsageException(opts) {
903
+ var _this = _super.call(this, __assign({ name: "LicenseUsageException", $fault: "client" }, opts)) || this;
904
+ _this.name = "LicenseUsageException";
905
+ _this.$fault = "client";
906
+ Object.setPrototypeOf(_this, LicenseUsageException.prototype);
907
+ _this.Message = opts.Message;
908
+ return _this;
909
+ }
910
+ return LicenseUsageException;
911
+ }(__BaseException));
912
+ export { LicenseUsageException };
689
913
  export var UpdateLicenseSpecificationsForResourceRequest;
690
914
  (function (UpdateLicenseSpecificationsForResourceRequest) {
691
915
  UpdateLicenseSpecificationsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };