@aws-sdk/client-license-manager 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.
Files changed (74) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/LicenseManagerServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +245 -4
  5. package/dist-cjs/protocols/Aws_json1_1.js +611 -2475
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/LicenseManagerServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +225 -1
  9. package/dist-es/protocols/Aws_json1_1.js +1310 -2634
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/LicenseManagerServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +121 -52
  13. package/dist-types/ts3.4/LicenseManager.d.ts +245 -0
  14. package/dist-types/ts3.4/LicenseManagerClient.d.ts +121 -0
  15. package/dist-types/ts3.4/commands/AcceptGrantCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CheckInLicenseCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CheckoutBorrowLicenseCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CheckoutLicenseCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateGrantVersionCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreateLicenseCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/CreateLicenseConfigurationCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/CreateLicenseConversionTaskForResourceCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/CreateLicenseManagerReportGeneratorCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/CreateLicenseVersionCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DeleteGrantCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DeleteLicenseCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DeleteLicenseConfigurationCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DeleteLicenseManagerReportGeneratorCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DeleteTokenCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/ExtendLicenseConsumptionCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/GetAccessTokenCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/GetGrantCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/GetLicenseCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/GetLicenseConfigurationCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/GetLicenseConversionTaskCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/GetLicenseManagerReportGeneratorCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/GetLicenseUsageCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/GetServiceSettingsCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/ListAssociationsForLicenseConfigurationCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/ListDistributedGrantsCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/ListFailuresForLicenseConfigurationOperationsCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/ListLicenseConfigurationsCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/ListLicenseConversionTasksCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/ListLicenseManagerReportGeneratorsCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/ListLicenseSpecificationsForResourceCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/ListLicenseVersionsCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/ListLicensesCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/ListReceivedGrantsCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/ListReceivedLicensesCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/ListResourceInventoryCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/ListTokensCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/ListUsageForLicenseConfigurationCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/RejectGrantCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/UpdateLicenseConfigurationCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/UpdateLicenseManagerReportGeneratorCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/UpdateLicenseSpecificationsForResourceCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/UpdateServiceSettingsCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/index.d.ts +48 -0
  64. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  65. package/dist-types/ts3.4/index.d.ts +5 -0
  66. package/dist-types/ts3.4/models/LicenseManagerServiceException.d.ts +6 -0
  67. package/dist-types/ts3.4/models/index.d.ts +1 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +2034 -0
  69. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +146 -0
  70. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  71. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  72. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  73. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  74. 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-license-manager
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-license-manager
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-license-manager
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LicenseManagerServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./LicenseManager"), exports);
5
6
  tslib_1.__exportStar(require("./LicenseManagerClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
9
+ var LicenseManagerServiceException_1 = require("./models/LicenseManagerServiceException");
10
+ Object.defineProperty(exports, "LicenseManagerServiceException", { enumerable: true, get: function () { return LicenseManagerServiceException_1.LicenseManagerServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LicenseManagerServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class LicenseManagerServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, LicenseManagerServiceException.prototype);
9
+ }
10
+ }
11
+ exports.LicenseManagerServiceException = LicenseManagerServiceException;
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TokenType = exports.CreateTokenRequest = exports.CreateLicenseVersionResponse = exports.CreateLicenseVersionRequest = exports.CreateLicenseManagerReportGeneratorResponse = exports.CreateLicenseManagerReportGeneratorRequest = exports.ReportType = exports.ReportFrequency = exports.ReportFrequencyType = exports.ReportContext = exports.CreateLicenseConversionTaskForResourceResponse = exports.CreateLicenseConversionTaskForResourceRequest = exports.LicenseConversionContext = exports.CreateLicenseConfigurationResponse = exports.CreateLicenseConfigurationRequest = exports.Tag = exports.ProductInformation = exports.ProductInformationFilter = exports.LicenseCountingType = exports.CreateLicenseResponse = exports.LicenseStatus = exports.CreateLicenseRequest = exports.DatetimeRange = exports.Issuer = exports.Entitlement = exports.EntitlementUnit = exports.ConsumptionConfiguration = exports.RenewType = exports.ProvisionalConfiguration = exports.BorrowConfiguration = exports.CreateGrantVersionResponse = exports.CreateGrantVersionRequest = exports.CreateGrantResponse = exports.CreateGrantRequest = exports.CheckoutLicenseResponse = exports.CheckoutLicenseRequest = exports.CheckoutType = exports.CheckoutBorrowLicenseResponse = exports.CheckoutBorrowLicenseRequest = exports.EntitlementData = exports.EntitlementDataUnit = exports.DigitalSignatureMethod = exports.Metadata = exports.CheckInLicenseResponse = exports.CheckInLicenseRequest = exports.AutomatedDiscoveryInformation = exports.AllowedOperation = exports.AcceptGrantResponse = exports.GrantStatus = exports.AcceptGrantRequest = void 0;
4
- exports.LicenseOperationFailure = exports.ListFailuresForLicenseConfigurationOperationsRequest = exports.ListDistributedGrantsResponse = exports.ListDistributedGrantsRequest = exports.Filter = exports.ListAssociationsForLicenseConfigurationResponse = exports.LicenseConfigurationAssociation = exports.ListAssociationsForLicenseConfigurationRequest = exports.GetServiceSettingsResponse = exports.OrganizationConfiguration = exports.GetServiceSettingsRequest = exports.GetLicenseUsageResponse = exports.LicenseUsage = exports.EntitlementUsage = exports.GetLicenseUsageRequest = exports.GetLicenseManagerReportGeneratorResponse = exports.ReportGenerator = exports.S3Location = exports.GetLicenseManagerReportGeneratorRequest = exports.GetLicenseConversionTaskResponse = exports.LicenseConversionTaskStatus = exports.GetLicenseConversionTaskRequest = exports.GetLicenseConfigurationResponse = exports.ManagedResourceSummary = exports.ConsumedLicenseSummary = exports.ResourceType = exports.GetLicenseConfigurationRequest = exports.GetLicenseResponse = exports.License = exports.IssuerDetails = exports.GetLicenseRequest = exports.GetGrantResponse = exports.Grant = exports.GetGrantRequest = exports.GetAccessTokenResponse = exports.GetAccessTokenRequest = exports.ExtendLicenseConsumptionResponse = exports.ExtendLicenseConsumptionRequest = exports.DeleteTokenResponse = exports.DeleteTokenRequest = exports.DeleteLicenseManagerReportGeneratorResponse = exports.DeleteLicenseManagerReportGeneratorRequest = exports.DeleteLicenseConfigurationResponse = exports.DeleteLicenseConfigurationRequest = exports.DeleteLicenseResponse = exports.LicenseDeletionStatus = exports.DeleteLicenseRequest = exports.DeleteGrantResponse = exports.DeleteGrantRequest = exports.CreateTokenResponse = void 0;
5
- exports.UpdateServiceSettingsRequest = exports.UpdateLicenseSpecificationsForResourceResponse = exports.UpdateLicenseSpecificationsForResourceRequest = exports.UpdateLicenseManagerReportGeneratorResponse = exports.UpdateLicenseManagerReportGeneratorRequest = exports.UpdateLicenseConfigurationResponse = exports.UpdateLicenseConfigurationRequest = exports.LicenseConfigurationStatus = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.RejectGrantResponse = exports.RejectGrantRequest = exports.ListUsageForLicenseConfigurationResponse = exports.LicenseConfigurationUsage = exports.ListUsageForLicenseConfigurationRequest = exports.ListTokensResponse = exports.TokenData = exports.ListTokensRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListResourceInventoryResponse = exports.ResourceInventory = exports.ListResourceInventoryRequest = exports.InventoryFilter = exports.InventoryFilterCondition = exports.ListReceivedLicensesResponse = exports.GrantedLicense = exports.ReceivedMetadata = exports.ReceivedStatus = exports.ListReceivedLicensesRequest = exports.ListReceivedGrantsResponse = exports.ListReceivedGrantsRequest = exports.ListLicenseVersionsResponse = exports.ListLicenseVersionsRequest = exports.ListLicenseSpecificationsForResourceResponse = exports.LicenseSpecification = exports.ListLicenseSpecificationsForResourceRequest = exports.ListLicensesResponse = exports.ListLicensesRequest = exports.ListLicenseManagerReportGeneratorsResponse = exports.ListLicenseManagerReportGeneratorsRequest = exports.ListLicenseConversionTasksResponse = exports.LicenseConversionTask = exports.ListLicenseConversionTasksRequest = exports.ListLicenseConfigurationsResponse = exports.LicenseConfiguration = exports.ListLicenseConfigurationsRequest = exports.ListFailuresForLicenseConfigurationOperationsResponse = void 0;
6
- exports.UpdateServiceSettingsResponse = void 0;
3
+ exports.CreateLicenseConfigurationResponse = exports.CreateLicenseConfigurationRequest = exports.Tag = exports.ProductInformation = exports.ProductInformationFilter = exports.LicenseCountingType = exports.CreateLicenseResponse = exports.LicenseStatus = exports.CreateLicenseRequest = exports.DatetimeRange = exports.Issuer = exports.Entitlement = exports.EntitlementUnit = exports.ConsumptionConfiguration = exports.RenewType = exports.ProvisionalConfiguration = exports.BorrowConfiguration = exports.CreateGrantVersionResponse = exports.CreateGrantVersionRequest = exports.CreateGrantResponse = exports.CreateGrantRequest = exports.CheckoutLicenseResponse = exports.CheckoutLicenseRequest = exports.CheckoutType = exports.UnsupportedDigitalSignatureMethodException = exports.RedirectException = exports.NoEntitlementsAllowedException = exports.EntitlementNotAllowedException = exports.CheckoutBorrowLicenseResponse = exports.CheckoutBorrowLicenseRequest = exports.EntitlementData = exports.EntitlementDataUnit = exports.DigitalSignatureMethod = exports.Metadata = exports.ResourceNotFoundException = exports.ConflictException = exports.CheckInLicenseResponse = exports.CheckInLicenseRequest = exports.AutomatedDiscoveryInformation = exports.AllowedOperation = exports.ValidationException = exports.ServerInternalException = exports.ResourceLimitExceededException = exports.RateLimitExceededException = exports.InvalidParameterValueException = exports.AuthorizationException = exports.AccessDeniedException = exports.AcceptGrantResponse = exports.GrantStatus = exports.AcceptGrantRequest = void 0;
4
+ exports.EntitlementUsage = exports.GetLicenseUsageRequest = exports.GetLicenseManagerReportGeneratorResponse = exports.ReportGenerator = exports.S3Location = exports.GetLicenseManagerReportGeneratorRequest = exports.GetLicenseConversionTaskResponse = exports.LicenseConversionTaskStatus = exports.GetLicenseConversionTaskRequest = exports.GetLicenseConfigurationResponse = exports.ManagedResourceSummary = exports.ConsumedLicenseSummary = exports.ResourceType = exports.GetLicenseConfigurationRequest = exports.GetLicenseResponse = exports.License = exports.IssuerDetails = exports.GetLicenseRequest = exports.GetGrantResponse = exports.Grant = exports.GetGrantRequest = exports.GetAccessTokenResponse = exports.GetAccessTokenRequest = exports.ExtendLicenseConsumptionResponse = exports.ExtendLicenseConsumptionRequest = exports.DeleteTokenResponse = exports.DeleteTokenRequest = exports.DeleteLicenseManagerReportGeneratorResponse = exports.DeleteLicenseManagerReportGeneratorRequest = exports.DeleteLicenseConfigurationResponse = exports.DeleteLicenseConfigurationRequest = exports.DeleteLicenseResponse = exports.LicenseDeletionStatus = exports.DeleteLicenseRequest = exports.DeleteGrantResponse = exports.DeleteGrantRequest = exports.CreateTokenResponse = exports.TokenType = exports.CreateTokenRequest = exports.CreateLicenseVersionResponse = exports.CreateLicenseVersionRequest = exports.CreateLicenseManagerReportGeneratorResponse = exports.CreateLicenseManagerReportGeneratorRequest = exports.ReportType = exports.ReportFrequency = exports.ReportFrequencyType = exports.ReportContext = exports.CreateLicenseConversionTaskForResourceResponse = exports.CreateLicenseConversionTaskForResourceRequest = exports.LicenseConversionContext = void 0;
5
+ exports.LicenseConfigurationUsage = exports.ListUsageForLicenseConfigurationRequest = exports.ListTokensResponse = exports.TokenData = exports.ListTokensRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListResourceInventoryResponse = exports.ResourceInventory = exports.ListResourceInventoryRequest = exports.InventoryFilter = exports.InventoryFilterCondition = exports.FailedDependencyException = exports.ListReceivedLicensesResponse = exports.GrantedLicense = exports.ReceivedMetadata = exports.ReceivedStatus = exports.ListReceivedLicensesRequest = exports.ListReceivedGrantsResponse = exports.ListReceivedGrantsRequest = exports.ListLicenseVersionsResponse = exports.ListLicenseVersionsRequest = exports.ListLicenseSpecificationsForResourceResponse = exports.LicenseSpecification = exports.ListLicenseSpecificationsForResourceRequest = exports.ListLicensesResponse = exports.ListLicensesRequest = exports.ListLicenseManagerReportGeneratorsResponse = exports.ListLicenseManagerReportGeneratorsRequest = exports.ListLicenseConversionTasksResponse = exports.LicenseConversionTask = exports.ListLicenseConversionTasksRequest = exports.ListLicenseConfigurationsResponse = exports.LicenseConfiguration = exports.ListLicenseConfigurationsRequest = exports.ListFailuresForLicenseConfigurationOperationsResponse = exports.LicenseOperationFailure = exports.ListFailuresForLicenseConfigurationOperationsRequest = exports.ListDistributedGrantsResponse = exports.ListDistributedGrantsRequest = exports.Filter = exports.ListAssociationsForLicenseConfigurationResponse = exports.LicenseConfigurationAssociation = exports.ListAssociationsForLicenseConfigurationRequest = exports.FilterLimitExceededException = exports.GetServiceSettingsResponse = exports.OrganizationConfiguration = exports.GetServiceSettingsRequest = exports.GetLicenseUsageResponse = exports.LicenseUsage = void 0;
6
+ exports.UpdateServiceSettingsResponse = exports.UpdateServiceSettingsRequest = exports.UpdateLicenseSpecificationsForResourceResponse = exports.UpdateLicenseSpecificationsForResourceRequest = exports.LicenseUsageException = exports.InvalidResourceStateException = exports.UpdateLicenseManagerReportGeneratorResponse = exports.UpdateLicenseManagerReportGeneratorRequest = exports.UpdateLicenseConfigurationResponse = exports.UpdateLicenseConfigurationRequest = exports.LicenseConfigurationStatus = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.RejectGrantResponse = exports.RejectGrantRequest = exports.ListUsageForLicenseConfigurationResponse = void 0;
7
+ const LicenseManagerServiceException_1 = require("./LicenseManagerServiceException");
7
8
  var AcceptGrantRequest;
8
9
  (function (AcceptGrantRequest) {
9
10
  AcceptGrantRequest.filterSensitiveLog = (obj) => ({
@@ -28,6 +29,104 @@ var AcceptGrantResponse;
28
29
  ...obj,
29
30
  });
30
31
  })(AcceptGrantResponse = exports.AcceptGrantResponse || (exports.AcceptGrantResponse = {}));
32
+ class AccessDeniedException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
33
+ constructor(opts) {
34
+ super({
35
+ name: "AccessDeniedException",
36
+ $fault: "client",
37
+ ...opts,
38
+ });
39
+ this.name = "AccessDeniedException";
40
+ this.$fault = "client";
41
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
42
+ this.Message = opts.Message;
43
+ }
44
+ }
45
+ exports.AccessDeniedException = AccessDeniedException;
46
+ class AuthorizationException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
47
+ constructor(opts) {
48
+ super({
49
+ name: "AuthorizationException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ this.name = "AuthorizationException";
54
+ this.$fault = "client";
55
+ Object.setPrototypeOf(this, AuthorizationException.prototype);
56
+ this.Message = opts.Message;
57
+ }
58
+ }
59
+ exports.AuthorizationException = AuthorizationException;
60
+ class InvalidParameterValueException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
61
+ constructor(opts) {
62
+ super({
63
+ name: "InvalidParameterValueException",
64
+ $fault: "client",
65
+ ...opts,
66
+ });
67
+ this.name = "InvalidParameterValueException";
68
+ this.$fault = "client";
69
+ Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
70
+ this.Message = opts.Message;
71
+ }
72
+ }
73
+ exports.InvalidParameterValueException = InvalidParameterValueException;
74
+ class RateLimitExceededException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
75
+ constructor(opts) {
76
+ super({
77
+ name: "RateLimitExceededException",
78
+ $fault: "client",
79
+ ...opts,
80
+ });
81
+ this.name = "RateLimitExceededException";
82
+ this.$fault = "client";
83
+ Object.setPrototypeOf(this, RateLimitExceededException.prototype);
84
+ this.Message = opts.Message;
85
+ }
86
+ }
87
+ exports.RateLimitExceededException = RateLimitExceededException;
88
+ class ResourceLimitExceededException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
89
+ constructor(opts) {
90
+ super({
91
+ name: "ResourceLimitExceededException",
92
+ $fault: "client",
93
+ ...opts,
94
+ });
95
+ this.name = "ResourceLimitExceededException";
96
+ this.$fault = "client";
97
+ Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
98
+ this.Message = opts.Message;
99
+ }
100
+ }
101
+ exports.ResourceLimitExceededException = ResourceLimitExceededException;
102
+ class ServerInternalException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
103
+ constructor(opts) {
104
+ super({
105
+ name: "ServerInternalException",
106
+ $fault: "server",
107
+ ...opts,
108
+ });
109
+ this.name = "ServerInternalException";
110
+ this.$fault = "server";
111
+ Object.setPrototypeOf(this, ServerInternalException.prototype);
112
+ this.Message = opts.Message;
113
+ }
114
+ }
115
+ exports.ServerInternalException = ServerInternalException;
116
+ class ValidationException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
117
+ constructor(opts) {
118
+ super({
119
+ name: "ValidationException",
120
+ $fault: "client",
121
+ ...opts,
122
+ });
123
+ this.name = "ValidationException";
124
+ this.$fault = "client";
125
+ Object.setPrototypeOf(this, ValidationException.prototype);
126
+ this.Message = opts.Message;
127
+ }
128
+ }
129
+ exports.ValidationException = ValidationException;
31
130
  var AllowedOperation;
32
131
  (function (AllowedOperation) {
33
132
  AllowedOperation["CHECKOUT_BORROW_LICENSE"] = "CheckoutBorrowLicense";
@@ -56,6 +155,34 @@ var CheckInLicenseResponse;
56
155
  ...obj,
57
156
  });
58
157
  })(CheckInLicenseResponse = exports.CheckInLicenseResponse || (exports.CheckInLicenseResponse = {}));
158
+ class ConflictException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
159
+ constructor(opts) {
160
+ super({
161
+ name: "ConflictException",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ this.name = "ConflictException";
166
+ this.$fault = "client";
167
+ Object.setPrototypeOf(this, ConflictException.prototype);
168
+ this.Message = opts.Message;
169
+ }
170
+ }
171
+ exports.ConflictException = ConflictException;
172
+ class ResourceNotFoundException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
173
+ constructor(opts) {
174
+ super({
175
+ name: "ResourceNotFoundException",
176
+ $fault: "client",
177
+ ...opts,
178
+ });
179
+ this.name = "ResourceNotFoundException";
180
+ this.$fault = "client";
181
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
182
+ this.Message = opts.Message;
183
+ }
184
+ }
185
+ exports.ResourceNotFoundException = ResourceNotFoundException;
59
186
  var Metadata;
60
187
  (function (Metadata) {
61
188
  Metadata.filterSensitiveLog = (obj) => ({
@@ -114,6 +241,63 @@ var CheckoutBorrowLicenseResponse;
114
241
  ...obj,
115
242
  });
116
243
  })(CheckoutBorrowLicenseResponse = exports.CheckoutBorrowLicenseResponse || (exports.CheckoutBorrowLicenseResponse = {}));
244
+ class EntitlementNotAllowedException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
245
+ constructor(opts) {
246
+ super({
247
+ name: "EntitlementNotAllowedException",
248
+ $fault: "client",
249
+ ...opts,
250
+ });
251
+ this.name = "EntitlementNotAllowedException";
252
+ this.$fault = "client";
253
+ Object.setPrototypeOf(this, EntitlementNotAllowedException.prototype);
254
+ this.Message = opts.Message;
255
+ }
256
+ }
257
+ exports.EntitlementNotAllowedException = EntitlementNotAllowedException;
258
+ class NoEntitlementsAllowedException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
259
+ constructor(opts) {
260
+ super({
261
+ name: "NoEntitlementsAllowedException",
262
+ $fault: "client",
263
+ ...opts,
264
+ });
265
+ this.name = "NoEntitlementsAllowedException";
266
+ this.$fault = "client";
267
+ Object.setPrototypeOf(this, NoEntitlementsAllowedException.prototype);
268
+ this.Message = opts.Message;
269
+ }
270
+ }
271
+ exports.NoEntitlementsAllowedException = NoEntitlementsAllowedException;
272
+ class RedirectException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
273
+ constructor(opts) {
274
+ super({
275
+ name: "RedirectException",
276
+ $fault: "client",
277
+ ...opts,
278
+ });
279
+ this.name = "RedirectException";
280
+ this.$fault = "client";
281
+ Object.setPrototypeOf(this, RedirectException.prototype);
282
+ this.Location = opts.Location;
283
+ this.Message = opts.Message;
284
+ }
285
+ }
286
+ exports.RedirectException = RedirectException;
287
+ class UnsupportedDigitalSignatureMethodException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
288
+ constructor(opts) {
289
+ super({
290
+ name: "UnsupportedDigitalSignatureMethodException",
291
+ $fault: "client",
292
+ ...opts,
293
+ });
294
+ this.name = "UnsupportedDigitalSignatureMethodException";
295
+ this.$fault = "client";
296
+ Object.setPrototypeOf(this, UnsupportedDigitalSignatureMethodException.prototype);
297
+ this.Message = opts.Message;
298
+ }
299
+ }
300
+ exports.UnsupportedDigitalSignatureMethodException = UnsupportedDigitalSignatureMethodException;
117
301
  var CheckoutType;
118
302
  (function (CheckoutType) {
119
303
  CheckoutType["PERPETUAL"] = "PERPETUAL";
@@ -614,6 +798,20 @@ var GetServiceSettingsResponse;
614
798
  ...obj,
615
799
  });
616
800
  })(GetServiceSettingsResponse = exports.GetServiceSettingsResponse || (exports.GetServiceSettingsResponse = {}));
801
+ class FilterLimitExceededException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
802
+ constructor(opts) {
803
+ super({
804
+ name: "FilterLimitExceededException",
805
+ $fault: "client",
806
+ ...opts,
807
+ });
808
+ this.name = "FilterLimitExceededException";
809
+ this.$fault = "client";
810
+ Object.setPrototypeOf(this, FilterLimitExceededException.prototype);
811
+ this.Message = opts.Message;
812
+ }
813
+ }
814
+ exports.FilterLimitExceededException = FilterLimitExceededException;
617
815
  var ListAssociationsForLicenseConfigurationRequest;
618
816
  (function (ListAssociationsForLicenseConfigurationRequest) {
619
817
  ListAssociationsForLicenseConfigurationRequest.filterSensitiveLog = (obj) => ({
@@ -805,6 +1003,21 @@ var ListReceivedLicensesResponse;
805
1003
  ...obj,
806
1004
  });
807
1005
  })(ListReceivedLicensesResponse = exports.ListReceivedLicensesResponse || (exports.ListReceivedLicensesResponse = {}));
1006
+ class FailedDependencyException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
1007
+ constructor(opts) {
1008
+ super({
1009
+ name: "FailedDependencyException",
1010
+ $fault: "client",
1011
+ ...opts,
1012
+ });
1013
+ this.name = "FailedDependencyException";
1014
+ this.$fault = "client";
1015
+ Object.setPrototypeOf(this, FailedDependencyException.prototype);
1016
+ this.Message = opts.Message;
1017
+ this.ErrorCode = opts.ErrorCode;
1018
+ }
1019
+ }
1020
+ exports.FailedDependencyException = FailedDependencyException;
808
1021
  var InventoryFilterCondition;
809
1022
  (function (InventoryFilterCondition) {
810
1023
  InventoryFilterCondition["BEGINS_WITH"] = "BEGINS_WITH";
@@ -949,6 +1162,34 @@ var UpdateLicenseManagerReportGeneratorResponse;
949
1162
  ...obj,
950
1163
  });
951
1164
  })(UpdateLicenseManagerReportGeneratorResponse = exports.UpdateLicenseManagerReportGeneratorResponse || (exports.UpdateLicenseManagerReportGeneratorResponse = {}));
1165
+ class InvalidResourceStateException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
1166
+ constructor(opts) {
1167
+ super({
1168
+ name: "InvalidResourceStateException",
1169
+ $fault: "client",
1170
+ ...opts,
1171
+ });
1172
+ this.name = "InvalidResourceStateException";
1173
+ this.$fault = "client";
1174
+ Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
1175
+ this.Message = opts.Message;
1176
+ }
1177
+ }
1178
+ exports.InvalidResourceStateException = InvalidResourceStateException;
1179
+ class LicenseUsageException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
1180
+ constructor(opts) {
1181
+ super({
1182
+ name: "LicenseUsageException",
1183
+ $fault: "client",
1184
+ ...opts,
1185
+ });
1186
+ this.name = "LicenseUsageException";
1187
+ this.$fault = "client";
1188
+ Object.setPrototypeOf(this, LicenseUsageException.prototype);
1189
+ this.Message = opts.Message;
1190
+ }
1191
+ }
1192
+ exports.LicenseUsageException = LicenseUsageException;
952
1193
  var UpdateLicenseSpecificationsForResourceRequest;
953
1194
  (function (UpdateLicenseSpecificationsForResourceRequest) {
954
1195
  UpdateLicenseSpecificationsForResourceRequest.filterSensitiveLog = (obj) => ({