@aws-sdk/client-license-manager 3.301.0 → 3.305.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +158 -172
- package/dist-cjs/protocols/Aws_json1_1.js +12 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +157 -171
- package/dist-es/protocols/Aws_json1_1.js +12 -0
- package/dist-types/LicenseManager.d.ts +8 -3
- package/dist-types/commands/CreateGrantCommand.d.ts +3 -1
- package/dist-types/commands/CreateGrantVersionCommand.d.ts +5 -1
- package/dist-types/commands/ListReceivedGrantsCommand.d.ts +3 -1
- package/dist-types/models/models_0.d.ts +326 -158
- package/dist-types/ts3.4/models/models_0.d.ts +193 -153
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://license-manager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://license-manager-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://license-manager.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://license-manager.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LicenseUsageException = exports.InvalidResourceStateException = exports.LicenseConfigurationStatus = exports.InventoryFilterCondition = exports.FailedDependencyException = exports.ReceivedStatus = exports.FilterLimitExceededException = exports.LicenseConversionTaskStatus = exports.ResourceType = exports.LicenseDeletionStatus = exports.TokenType = exports.ReportType = exports.ReportFrequencyType = exports.LicenseCountingType = exports.LicenseStatus = exports.EntitlementUnit = exports.RenewType = exports.CheckoutType = exports.UnsupportedDigitalSignatureMethodException = exports.RedirectException = exports.NoEntitlementsAllowedException = exports.EntitlementNotAllowedException = exports.EntitlementDataUnit = exports.DigitalSignatureMethod = exports.ResourceNotFoundException = exports.ConflictException = exports.AllowedOperation = exports.ValidationException = exports.ServerInternalException = exports.ResourceLimitExceededException = exports.RateLimitExceededException = exports.InvalidParameterValueException = exports.AuthorizationException = exports.AccessDeniedException = exports.GrantStatus = void 0;
|
|
3
|
+
exports.LicenseUsageException = exports.InvalidResourceStateException = exports.LicenseConfigurationStatus = exports.InventoryFilterCondition = exports.FailedDependencyException = exports.ReceivedStatus = exports.FilterLimitExceededException = exports.LicenseConversionTaskStatus = exports.ResourceType = exports.LicenseDeletionStatus = exports.TokenType = exports.ReportType = exports.ReportFrequencyType = exports.LicenseCountingType = exports.LicenseStatus = exports.EntitlementUnit = exports.RenewType = exports.CheckoutType = exports.UnsupportedDigitalSignatureMethodException = exports.RedirectException = exports.NoEntitlementsAllowedException = exports.EntitlementNotAllowedException = exports.EntitlementDataUnit = exports.DigitalSignatureMethod = exports.ResourceNotFoundException = exports.ConflictException = exports.AllowedOperation = exports.ActivationOverrideBehavior = exports.ValidationException = exports.ServerInternalException = exports.ResourceLimitExceededException = exports.RateLimitExceededException = exports.InvalidParameterValueException = exports.AuthorizationException = exports.AccessDeniedException = exports.GrantStatus = void 0;
|
|
4
4
|
const LicenseManagerServiceException_1 = require("./LicenseManagerServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
})(GrantStatus = exports.GrantStatus || (exports.GrantStatus = {}));
|
|
5
|
+
exports.GrantStatus = {
|
|
6
|
+
ACTIVE: "ACTIVE",
|
|
7
|
+
DELETED: "DELETED",
|
|
8
|
+
DISABLED: "DISABLED",
|
|
9
|
+
FAILED_WORKFLOW: "FAILED_WORKFLOW",
|
|
10
|
+
PENDING_ACCEPT: "PENDING_ACCEPT",
|
|
11
|
+
PENDING_DELETE: "PENDING_DELETE",
|
|
12
|
+
PENDING_WORKFLOW: "PENDING_WORKFLOW",
|
|
13
|
+
REJECTED: "REJECTED",
|
|
14
|
+
WORKFLOW_COMPLETED: "WORKFLOW_COMPLETED",
|
|
15
|
+
};
|
|
17
16
|
class AccessDeniedException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
|
|
18
17
|
constructor(opts) {
|
|
19
18
|
super({
|
|
@@ -112,16 +111,19 @@ class ValidationException extends LicenseManagerServiceException_1.LicenseManage
|
|
|
112
111
|
}
|
|
113
112
|
}
|
|
114
113
|
exports.ValidationException = ValidationException;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
114
|
+
exports.ActivationOverrideBehavior = {
|
|
115
|
+
ALL_GRANTS_PERMITTED_BY_ISSUER: "ALL_GRANTS_PERMITTED_BY_ISSUER",
|
|
116
|
+
DISTRIBUTED_GRANTS_ONLY: "DISTRIBUTED_GRANTS_ONLY",
|
|
117
|
+
};
|
|
118
|
+
exports.AllowedOperation = {
|
|
119
|
+
CHECKOUT_BORROW_LICENSE: "CheckoutBorrowLicense",
|
|
120
|
+
CHECKOUT_LICENSE: "CheckoutLicense",
|
|
121
|
+
CHECK_IN_LICENSE: "CheckInLicense",
|
|
122
|
+
CREATE_GRANT: "CreateGrant",
|
|
123
|
+
CREATE_TOKEN: "CreateToken",
|
|
124
|
+
EXTEND_CONSUMPTION_LICENSE: "ExtendConsumptionLicense",
|
|
125
|
+
LIST_PURCHASED_LICENSES: "ListPurchasedLicenses",
|
|
126
|
+
};
|
|
125
127
|
class ConflictException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
|
|
126
128
|
constructor(opts) {
|
|
127
129
|
super({
|
|
@@ -150,40 +152,38 @@ class ResourceNotFoundException extends LicenseManagerServiceException_1.License
|
|
|
150
152
|
}
|
|
151
153
|
}
|
|
152
154
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
EntitlementDataUnit["TERABYTES_PER_SECOND"] = "Terabytes/Second";
|
|
186
|
-
})(EntitlementDataUnit = exports.EntitlementDataUnit || (exports.EntitlementDataUnit = {}));
|
|
155
|
+
exports.DigitalSignatureMethod = {
|
|
156
|
+
JWT_PS384: "JWT_PS384",
|
|
157
|
+
};
|
|
158
|
+
exports.EntitlementDataUnit = {
|
|
159
|
+
BITS: "Bits",
|
|
160
|
+
BITS_PER_SECOND: "Bits/Second",
|
|
161
|
+
BYTES: "Bytes",
|
|
162
|
+
BYTES_PER_SECOND: "Bytes/Second",
|
|
163
|
+
COUNT: "Count",
|
|
164
|
+
COUNT_PER_SECOND: "Count/Second",
|
|
165
|
+
GIGABITS: "Gigabits",
|
|
166
|
+
GIGABITS_PER_SECOND: "Gigabits/Second",
|
|
167
|
+
GIGABYTES: "Gigabytes",
|
|
168
|
+
GIGABYTES_PER_SECOND: "Gigabytes/Second",
|
|
169
|
+
KILOBITS: "Kilobits",
|
|
170
|
+
KILOBITS_PER_SECOND: "Kilobits/Second",
|
|
171
|
+
KILOBYTES: "Kilobytes",
|
|
172
|
+
KILOBYTES_PER_SECOND: "Kilobytes/Second",
|
|
173
|
+
MEGABITS: "Megabits",
|
|
174
|
+
MEGABITS_PER_SECOND: "Megabits/Second",
|
|
175
|
+
MEGABYTES: "Megabytes",
|
|
176
|
+
MEGABYTES_PER_SECOND: "Megabytes/Second",
|
|
177
|
+
MICROSECONDS: "Microseconds",
|
|
178
|
+
MILLISECONDS: "Milliseconds",
|
|
179
|
+
NONE: "None",
|
|
180
|
+
PERCENT: "Percent",
|
|
181
|
+
SECONDS: "Seconds",
|
|
182
|
+
TERABITS: "Terabits",
|
|
183
|
+
TERABITS_PER_SECOND: "Terabits/Second",
|
|
184
|
+
TERABYTES: "Terabytes",
|
|
185
|
+
TERABYTES_PER_SECOND: "Terabytes/Second",
|
|
186
|
+
};
|
|
187
187
|
class EntitlementNotAllowedException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
|
|
188
188
|
constructor(opts) {
|
|
189
189
|
super({
|
|
@@ -241,98 +241,87 @@ class UnsupportedDigitalSignatureMethodException extends LicenseManagerServiceEx
|
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
exports.UnsupportedDigitalSignatureMethodException = UnsupportedDigitalSignatureMethodException;
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
ResourceType["EC2_HOST"] = "EC2_HOST";
|
|
326
|
-
ResourceType["EC2_INSTANCE"] = "EC2_INSTANCE";
|
|
327
|
-
ResourceType["RDS"] = "RDS";
|
|
328
|
-
ResourceType["SYSTEMS_MANAGER_MANAGED_INSTANCE"] = "SYSTEMS_MANAGER_MANAGED_INSTANCE";
|
|
329
|
-
})(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
|
|
330
|
-
var LicenseConversionTaskStatus;
|
|
331
|
-
(function (LicenseConversionTaskStatus) {
|
|
332
|
-
LicenseConversionTaskStatus["FAILED"] = "FAILED";
|
|
333
|
-
LicenseConversionTaskStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
334
|
-
LicenseConversionTaskStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
335
|
-
})(LicenseConversionTaskStatus = exports.LicenseConversionTaskStatus || (exports.LicenseConversionTaskStatus = {}));
|
|
244
|
+
exports.CheckoutType = {
|
|
245
|
+
PERPETUAL: "PERPETUAL",
|
|
246
|
+
PROVISIONAL: "PROVISIONAL",
|
|
247
|
+
};
|
|
248
|
+
exports.RenewType = {
|
|
249
|
+
MONTHLY: "Monthly",
|
|
250
|
+
NONE: "None",
|
|
251
|
+
WEEKLY: "Weekly",
|
|
252
|
+
};
|
|
253
|
+
exports.EntitlementUnit = {
|
|
254
|
+
BITS: "Bits",
|
|
255
|
+
BITS_PER_SECOND: "Bits/Second",
|
|
256
|
+
BYTES: "Bytes",
|
|
257
|
+
BYTES_PER_SECOND: "Bytes/Second",
|
|
258
|
+
COUNT: "Count",
|
|
259
|
+
COUNT_PER_SECOND: "Count/Second",
|
|
260
|
+
GIGABITS: "Gigabits",
|
|
261
|
+
GIGABITS_PER_SECOND: "Gigabits/Second",
|
|
262
|
+
GIGABYTES: "Gigabytes",
|
|
263
|
+
GIGABYTES_PER_SECOND: "Gigabytes/Second",
|
|
264
|
+
KILOBITS: "Kilobits",
|
|
265
|
+
KILOBITS_PER_SECOND: "Kilobits/Second",
|
|
266
|
+
KILOBYTES: "Kilobytes",
|
|
267
|
+
KILOBYTES_PER_SECOND: "Kilobytes/Second",
|
|
268
|
+
MEGABITS: "Megabits",
|
|
269
|
+
MEGABITS_PER_SECOND: "Megabits/Second",
|
|
270
|
+
MEGABYTES: "Megabytes",
|
|
271
|
+
MEGABYTES_PER_SECOND: "Megabytes/Second",
|
|
272
|
+
MICROSECONDS: "Microseconds",
|
|
273
|
+
MILLISECONDS: "Milliseconds",
|
|
274
|
+
NONE: "None",
|
|
275
|
+
PERCENT: "Percent",
|
|
276
|
+
SECONDS: "Seconds",
|
|
277
|
+
TERABITS: "Terabits",
|
|
278
|
+
TERABITS_PER_SECOND: "Terabits/Second",
|
|
279
|
+
TERABYTES: "Terabytes",
|
|
280
|
+
TERABYTES_PER_SECOND: "Terabytes/Second",
|
|
281
|
+
};
|
|
282
|
+
exports.LicenseStatus = {
|
|
283
|
+
AVAILABLE: "AVAILABLE",
|
|
284
|
+
DEACTIVATED: "DEACTIVATED",
|
|
285
|
+
DELETED: "DELETED",
|
|
286
|
+
EXPIRED: "EXPIRED",
|
|
287
|
+
PENDING_AVAILABLE: "PENDING_AVAILABLE",
|
|
288
|
+
PENDING_DELETE: "PENDING_DELETE",
|
|
289
|
+
SUSPENDED: "SUSPENDED",
|
|
290
|
+
};
|
|
291
|
+
exports.LicenseCountingType = {
|
|
292
|
+
CORE: "Core",
|
|
293
|
+
INSTANCE: "Instance",
|
|
294
|
+
SOCKET: "Socket",
|
|
295
|
+
VCPU: "vCPU",
|
|
296
|
+
};
|
|
297
|
+
exports.ReportFrequencyType = {
|
|
298
|
+
DAY: "DAY",
|
|
299
|
+
MONTH: "MONTH",
|
|
300
|
+
WEEK: "WEEK",
|
|
301
|
+
};
|
|
302
|
+
exports.ReportType = {
|
|
303
|
+
LICENSE_CONFIGURATION_SUMMARY_REPORT: "LicenseConfigurationSummaryReport",
|
|
304
|
+
LICENSE_CONFIGURATION_USAGE_REPORT: "LicenseConfigurationUsageReport",
|
|
305
|
+
};
|
|
306
|
+
exports.TokenType = {
|
|
307
|
+
REFRESH_TOKEN: "REFRESH_TOKEN",
|
|
308
|
+
};
|
|
309
|
+
exports.LicenseDeletionStatus = {
|
|
310
|
+
DELETED: "DELETED",
|
|
311
|
+
PENDING_DELETE: "PENDING_DELETE",
|
|
312
|
+
};
|
|
313
|
+
exports.ResourceType = {
|
|
314
|
+
EC2_AMI: "EC2_AMI",
|
|
315
|
+
EC2_HOST: "EC2_HOST",
|
|
316
|
+
EC2_INSTANCE: "EC2_INSTANCE",
|
|
317
|
+
RDS: "RDS",
|
|
318
|
+
SYSTEMS_MANAGER_MANAGED_INSTANCE: "SYSTEMS_MANAGER_MANAGED_INSTANCE",
|
|
319
|
+
};
|
|
320
|
+
exports.LicenseConversionTaskStatus = {
|
|
321
|
+
FAILED: "FAILED",
|
|
322
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
323
|
+
SUCCEEDED: "SUCCEEDED",
|
|
324
|
+
};
|
|
336
325
|
class FilterLimitExceededException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
|
|
337
326
|
constructor(opts) {
|
|
338
327
|
super({
|
|
@@ -347,17 +336,16 @@ class FilterLimitExceededException extends LicenseManagerServiceException_1.Lice
|
|
|
347
336
|
}
|
|
348
337
|
}
|
|
349
338
|
exports.FilterLimitExceededException = FilterLimitExceededException;
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
})(ReceivedStatus = exports.ReceivedStatus || (exports.ReceivedStatus = {}));
|
|
339
|
+
exports.ReceivedStatus = {
|
|
340
|
+
ACTIVE: "ACTIVE",
|
|
341
|
+
DELETED: "DELETED",
|
|
342
|
+
DISABLED: "DISABLED",
|
|
343
|
+
FAILED_WORKFLOW: "FAILED_WORKFLOW",
|
|
344
|
+
PENDING_ACCEPT: "PENDING_ACCEPT",
|
|
345
|
+
PENDING_WORKFLOW: "PENDING_WORKFLOW",
|
|
346
|
+
REJECTED: "REJECTED",
|
|
347
|
+
WORKFLOW_COMPLETED: "WORKFLOW_COMPLETED",
|
|
348
|
+
};
|
|
361
349
|
class FailedDependencyException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
|
|
362
350
|
constructor(opts) {
|
|
363
351
|
super({
|
|
@@ -373,18 +361,16 @@ class FailedDependencyException extends LicenseManagerServiceException_1.License
|
|
|
373
361
|
}
|
|
374
362
|
}
|
|
375
363
|
exports.FailedDependencyException = FailedDependencyException;
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
LicenseConfigurationStatus["DISABLED"] = "DISABLED";
|
|
387
|
-
})(LicenseConfigurationStatus = exports.LicenseConfigurationStatus || (exports.LicenseConfigurationStatus = {}));
|
|
364
|
+
exports.InventoryFilterCondition = {
|
|
365
|
+
BEGINS_WITH: "BEGINS_WITH",
|
|
366
|
+
CONTAINS: "CONTAINS",
|
|
367
|
+
EQUALS: "EQUALS",
|
|
368
|
+
NOT_EQUALS: "NOT_EQUALS",
|
|
369
|
+
};
|
|
370
|
+
exports.LicenseConfigurationStatus = {
|
|
371
|
+
AVAILABLE: "AVAILABLE",
|
|
372
|
+
DISABLED: "DISABLED",
|
|
373
|
+
};
|
|
388
374
|
class InvalidResourceStateException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
|
|
389
375
|
constructor(opts) {
|
|
390
376
|
super({
|
|
@@ -3282,6 +3282,7 @@ const serializeAws_json1_1CreateGrantVersionRequest = (input, context) => {
|
|
|
3282
3282
|
...(input.ClientToken != null && { ClientToken: input.ClientToken }),
|
|
3283
3283
|
...(input.GrantArn != null && { GrantArn: input.GrantArn }),
|
|
3284
3284
|
...(input.GrantName != null && { GrantName: input.GrantName }),
|
|
3285
|
+
...(input.Options != null && { Options: serializeAws_json1_1Options(input.Options, context) }),
|
|
3285
3286
|
...(input.SourceVersion != null && { SourceVersion: input.SourceVersion }),
|
|
3286
3287
|
...(input.Status != null && { Status: input.Status }),
|
|
3287
3288
|
...(input.StatusReason != null && { StatusReason: input.StatusReason }),
|
|
@@ -3712,6 +3713,11 @@ const serializeAws_json1_1MetadataList = (input, context) => {
|
|
|
3712
3713
|
return serializeAws_json1_1Metadata(entry, context);
|
|
3713
3714
|
});
|
|
3714
3715
|
};
|
|
3716
|
+
const serializeAws_json1_1Options = (input, context) => {
|
|
3717
|
+
return {
|
|
3718
|
+
...(input.ActivationOverrideBehavior != null && { ActivationOverrideBehavior: input.ActivationOverrideBehavior }),
|
|
3719
|
+
};
|
|
3720
|
+
};
|
|
3715
3721
|
const serializeAws_json1_1OrganizationConfiguration = (input, context) => {
|
|
3716
3722
|
return {
|
|
3717
3723
|
...(input.EnableIntegration != null && { EnableIntegration: input.EnableIntegration }),
|
|
@@ -4256,6 +4262,7 @@ const deserializeAws_json1_1Grant = (output, context) => {
|
|
|
4256
4262
|
GranteePrincipalArn: (0, smithy_client_1.expectString)(output.GranteePrincipalArn),
|
|
4257
4263
|
HomeRegion: (0, smithy_client_1.expectString)(output.HomeRegion),
|
|
4258
4264
|
LicenseArn: (0, smithy_client_1.expectString)(output.LicenseArn),
|
|
4265
|
+
Options: output.Options != null ? deserializeAws_json1_1Options(output.Options, context) : undefined,
|
|
4259
4266
|
ParentArn: (0, smithy_client_1.expectString)(output.ParentArn),
|
|
4260
4267
|
StatusReason: (0, smithy_client_1.expectString)(output.StatusReason),
|
|
4261
4268
|
Version: (0, smithy_client_1.expectString)(output.Version),
|
|
@@ -4694,6 +4701,11 @@ const deserializeAws_json1_1NoEntitlementsAllowedException = (output, context) =
|
|
|
4694
4701
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4695
4702
|
};
|
|
4696
4703
|
};
|
|
4704
|
+
const deserializeAws_json1_1Options = (output, context) => {
|
|
4705
|
+
return {
|
|
4706
|
+
ActivationOverrideBehavior: (0, smithy_client_1.expectString)(output.ActivationOverrideBehavior),
|
|
4707
|
+
};
|
|
4708
|
+
};
|
|
4697
4709
|
const deserializeAws_json1_1OrganizationConfiguration = (output, context) => {
|
|
4698
4710
|
return {
|
|
4699
4711
|
EnableIntegration: (0, smithy_client_1.expectBoolean)(output.EnableIntegration),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://license-manager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://license-manager-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://license-manager.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://license-manager.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|