@aws-sdk/client-license-manager 3.208.0 → 3.209.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/LicenseManager.js +30 -0
- package/dist-cjs/commands/ListReceivedGrantsForOrganizationCommand.js +46 -0
- package/dist-cjs/commands/ListReceivedLicensesForOrganizationCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +18 -2
- package/dist-cjs/protocols/Aws_json1_1.js +153 -2
- package/dist-cjs/runtimeConfig.shared.js +2 -1
- package/dist-es/LicenseManager.js +30 -0
- package/dist-es/commands/ListReceivedGrantsForOrganizationCommand.js +42 -0
- package/dist-es/commands/ListReceivedLicensesForOrganizationCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/protocols/Aws_json1_1.js +147 -0
- package/dist-es/runtimeConfig.shared.js +2 -1
- package/dist-types/LicenseManager.d.ts +18 -0
- package/dist-types/LicenseManagerClient.d.ts +4 -2
- package/dist-types/commands/CheckoutLicenseCommand.d.ts +4 -0
- package/dist-types/commands/ListReceivedGrantsForOrganizationCommand.d.ts +37 -0
- package/dist-types/commands/ListReceivedLicensesForOrganizationCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +96 -3
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/runtimeConfig.shared.d.ts +2 -3
- package/dist-types/ts3.4/LicenseManager.d.ts +46 -0
- package/dist-types/ts3.4/LicenseManagerClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ListReceivedGrantsForOrganizationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListReceivedLicensesForOrganizationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -3
- package/package.json +11 -13
|
@@ -702,6 +702,12 @@ export const ListReceivedGrantsRequestFilterSensitiveLog = (obj) => ({
|
|
|
702
702
|
export const ListReceivedGrantsResponseFilterSensitiveLog = (obj) => ({
|
|
703
703
|
...obj,
|
|
704
704
|
});
|
|
705
|
+
export const ListReceivedGrantsForOrganizationRequestFilterSensitiveLog = (obj) => ({
|
|
706
|
+
...obj,
|
|
707
|
+
});
|
|
708
|
+
export const ListReceivedGrantsForOrganizationResponseFilterSensitiveLog = (obj) => ({
|
|
709
|
+
...obj,
|
|
710
|
+
});
|
|
705
711
|
export const ListReceivedLicensesRequestFilterSensitiveLog = (obj) => ({
|
|
706
712
|
...obj,
|
|
707
713
|
});
|
|
@@ -714,6 +720,12 @@ export const GrantedLicenseFilterSensitiveLog = (obj) => ({
|
|
|
714
720
|
export const ListReceivedLicensesResponseFilterSensitiveLog = (obj) => ({
|
|
715
721
|
...obj,
|
|
716
722
|
});
|
|
723
|
+
export const ListReceivedLicensesForOrganizationRequestFilterSensitiveLog = (obj) => ({
|
|
724
|
+
...obj,
|
|
725
|
+
});
|
|
726
|
+
export const ListReceivedLicensesForOrganizationResponseFilterSensitiveLog = (obj) => ({
|
|
727
|
+
...obj,
|
|
728
|
+
});
|
|
717
729
|
export const InventoryFilterFilterSensitiveLog = (obj) => ({
|
|
718
730
|
...obj,
|
|
719
731
|
});
|
|
@@ -326,6 +326,15 @@ export const serializeAws_json1_1ListReceivedGrantsCommand = async (input, conte
|
|
|
326
326
|
body = JSON.stringify(serializeAws_json1_1ListReceivedGrantsRequest(input, context));
|
|
327
327
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
328
|
};
|
|
329
|
+
export const serializeAws_json1_1ListReceivedGrantsForOrganizationCommand = async (input, context) => {
|
|
330
|
+
const headers = {
|
|
331
|
+
"content-type": "application/x-amz-json-1.1",
|
|
332
|
+
"x-amz-target": "AWSLicenseManager.ListReceivedGrantsForOrganization",
|
|
333
|
+
};
|
|
334
|
+
let body;
|
|
335
|
+
body = JSON.stringify(serializeAws_json1_1ListReceivedGrantsForOrganizationRequest(input, context));
|
|
336
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
|
+
};
|
|
329
338
|
export const serializeAws_json1_1ListReceivedLicensesCommand = async (input, context) => {
|
|
330
339
|
const headers = {
|
|
331
340
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -335,6 +344,15 @@ export const serializeAws_json1_1ListReceivedLicensesCommand = async (input, con
|
|
|
335
344
|
body = JSON.stringify(serializeAws_json1_1ListReceivedLicensesRequest(input, context));
|
|
336
345
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
346
|
};
|
|
347
|
+
export const serializeAws_json1_1ListReceivedLicensesForOrganizationCommand = async (input, context) => {
|
|
348
|
+
const headers = {
|
|
349
|
+
"content-type": "application/x-amz-json-1.1",
|
|
350
|
+
"x-amz-target": "AWSLicenseManager.ListReceivedLicensesForOrganization",
|
|
351
|
+
};
|
|
352
|
+
let body;
|
|
353
|
+
body = JSON.stringify(serializeAws_json1_1ListReceivedLicensesForOrganizationRequest(input, context));
|
|
354
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
355
|
+
};
|
|
338
356
|
export const serializeAws_json1_1ListResourceInventoryCommand = async (input, context) => {
|
|
339
357
|
const headers = {
|
|
340
358
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -2237,6 +2255,57 @@ const deserializeAws_json1_1ListReceivedGrantsCommandError = async (output, cont
|
|
|
2237
2255
|
});
|
|
2238
2256
|
}
|
|
2239
2257
|
};
|
|
2258
|
+
export const deserializeAws_json1_1ListReceivedGrantsForOrganizationCommand = async (output, context) => {
|
|
2259
|
+
if (output.statusCode >= 300) {
|
|
2260
|
+
return deserializeAws_json1_1ListReceivedGrantsForOrganizationCommandError(output, context);
|
|
2261
|
+
}
|
|
2262
|
+
const data = await parseBody(output.body, context);
|
|
2263
|
+
let contents = {};
|
|
2264
|
+
contents = deserializeAws_json1_1ListReceivedGrantsForOrganizationResponse(data, context);
|
|
2265
|
+
const response = {
|
|
2266
|
+
$metadata: deserializeMetadata(output),
|
|
2267
|
+
...contents,
|
|
2268
|
+
};
|
|
2269
|
+
return Promise.resolve(response);
|
|
2270
|
+
};
|
|
2271
|
+
const deserializeAws_json1_1ListReceivedGrantsForOrganizationCommandError = async (output, context) => {
|
|
2272
|
+
const parsedOutput = {
|
|
2273
|
+
...output,
|
|
2274
|
+
body: await parseErrorBody(output.body, context),
|
|
2275
|
+
};
|
|
2276
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2277
|
+
switch (errorCode) {
|
|
2278
|
+
case "AccessDeniedException":
|
|
2279
|
+
case "com.amazonaws.licensemanager#AccessDeniedException":
|
|
2280
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2281
|
+
case "AuthorizationException":
|
|
2282
|
+
case "com.amazonaws.licensemanager#AuthorizationException":
|
|
2283
|
+
throw await deserializeAws_json1_1AuthorizationExceptionResponse(parsedOutput, context);
|
|
2284
|
+
case "InvalidParameterValueException":
|
|
2285
|
+
case "com.amazonaws.licensemanager#InvalidParameterValueException":
|
|
2286
|
+
throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
2287
|
+
case "RateLimitExceededException":
|
|
2288
|
+
case "com.amazonaws.licensemanager#RateLimitExceededException":
|
|
2289
|
+
throw await deserializeAws_json1_1RateLimitExceededExceptionResponse(parsedOutput, context);
|
|
2290
|
+
case "ResourceLimitExceededException":
|
|
2291
|
+
case "com.amazonaws.licensemanager#ResourceLimitExceededException":
|
|
2292
|
+
throw await deserializeAws_json1_1ResourceLimitExceededExceptionResponse(parsedOutput, context);
|
|
2293
|
+
case "ServerInternalException":
|
|
2294
|
+
case "com.amazonaws.licensemanager#ServerInternalException":
|
|
2295
|
+
throw await deserializeAws_json1_1ServerInternalExceptionResponse(parsedOutput, context);
|
|
2296
|
+
case "ValidationException":
|
|
2297
|
+
case "com.amazonaws.licensemanager#ValidationException":
|
|
2298
|
+
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2299
|
+
default:
|
|
2300
|
+
const parsedBody = parsedOutput.body;
|
|
2301
|
+
throwDefaultError({
|
|
2302
|
+
output,
|
|
2303
|
+
parsedBody,
|
|
2304
|
+
exceptionCtor: __BaseException,
|
|
2305
|
+
errorCode,
|
|
2306
|
+
});
|
|
2307
|
+
}
|
|
2308
|
+
};
|
|
2240
2309
|
export const deserializeAws_json1_1ListReceivedLicensesCommand = async (output, context) => {
|
|
2241
2310
|
if (output.statusCode >= 300) {
|
|
2242
2311
|
return deserializeAws_json1_1ListReceivedLicensesCommandError(output, context);
|
|
@@ -2288,6 +2357,57 @@ const deserializeAws_json1_1ListReceivedLicensesCommandError = async (output, co
|
|
|
2288
2357
|
});
|
|
2289
2358
|
}
|
|
2290
2359
|
};
|
|
2360
|
+
export const deserializeAws_json1_1ListReceivedLicensesForOrganizationCommand = async (output, context) => {
|
|
2361
|
+
if (output.statusCode >= 300) {
|
|
2362
|
+
return deserializeAws_json1_1ListReceivedLicensesForOrganizationCommandError(output, context);
|
|
2363
|
+
}
|
|
2364
|
+
const data = await parseBody(output.body, context);
|
|
2365
|
+
let contents = {};
|
|
2366
|
+
contents = deserializeAws_json1_1ListReceivedLicensesForOrganizationResponse(data, context);
|
|
2367
|
+
const response = {
|
|
2368
|
+
$metadata: deserializeMetadata(output),
|
|
2369
|
+
...contents,
|
|
2370
|
+
};
|
|
2371
|
+
return Promise.resolve(response);
|
|
2372
|
+
};
|
|
2373
|
+
const deserializeAws_json1_1ListReceivedLicensesForOrganizationCommandError = async (output, context) => {
|
|
2374
|
+
const parsedOutput = {
|
|
2375
|
+
...output,
|
|
2376
|
+
body: await parseErrorBody(output.body, context),
|
|
2377
|
+
};
|
|
2378
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2379
|
+
switch (errorCode) {
|
|
2380
|
+
case "AccessDeniedException":
|
|
2381
|
+
case "com.amazonaws.licensemanager#AccessDeniedException":
|
|
2382
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2383
|
+
case "AuthorizationException":
|
|
2384
|
+
case "com.amazonaws.licensemanager#AuthorizationException":
|
|
2385
|
+
throw await deserializeAws_json1_1AuthorizationExceptionResponse(parsedOutput, context);
|
|
2386
|
+
case "InvalidParameterValueException":
|
|
2387
|
+
case "com.amazonaws.licensemanager#InvalidParameterValueException":
|
|
2388
|
+
throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
2389
|
+
case "RateLimitExceededException":
|
|
2390
|
+
case "com.amazonaws.licensemanager#RateLimitExceededException":
|
|
2391
|
+
throw await deserializeAws_json1_1RateLimitExceededExceptionResponse(parsedOutput, context);
|
|
2392
|
+
case "ResourceLimitExceededException":
|
|
2393
|
+
case "com.amazonaws.licensemanager#ResourceLimitExceededException":
|
|
2394
|
+
throw await deserializeAws_json1_1ResourceLimitExceededExceptionResponse(parsedOutput, context);
|
|
2395
|
+
case "ServerInternalException":
|
|
2396
|
+
case "com.amazonaws.licensemanager#ServerInternalException":
|
|
2397
|
+
throw await deserializeAws_json1_1ServerInternalExceptionResponse(parsedOutput, context);
|
|
2398
|
+
case "ValidationException":
|
|
2399
|
+
case "com.amazonaws.licensemanager#ValidationException":
|
|
2400
|
+
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2401
|
+
default:
|
|
2402
|
+
const parsedBody = parsedOutput.body;
|
|
2403
|
+
throwDefaultError({
|
|
2404
|
+
output,
|
|
2405
|
+
parsedBody,
|
|
2406
|
+
exceptionCtor: __BaseException,
|
|
2407
|
+
errorCode,
|
|
2408
|
+
});
|
|
2409
|
+
}
|
|
2410
|
+
};
|
|
2291
2411
|
export const deserializeAws_json1_1ListResourceInventoryCommand = async (output, context) => {
|
|
2292
2412
|
if (output.statusCode >= 300) {
|
|
2293
2413
|
return deserializeAws_json1_1ListResourceInventoryCommandError(output, context);
|
|
@@ -3409,6 +3529,14 @@ const serializeAws_json1_1ListLicenseVersionsRequest = (input, context) => {
|
|
|
3409
3529
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3410
3530
|
};
|
|
3411
3531
|
};
|
|
3532
|
+
const serializeAws_json1_1ListReceivedGrantsForOrganizationRequest = (input, context) => {
|
|
3533
|
+
return {
|
|
3534
|
+
...(input.Filters != null && { Filters: serializeAws_json1_1FilterList(input.Filters, context) }),
|
|
3535
|
+
...(input.LicenseArn != null && { LicenseArn: input.LicenseArn }),
|
|
3536
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3537
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3538
|
+
};
|
|
3539
|
+
};
|
|
3412
3540
|
const serializeAws_json1_1ListReceivedGrantsRequest = (input, context) => {
|
|
3413
3541
|
return {
|
|
3414
3542
|
...(input.Filters != null && { Filters: serializeAws_json1_1FilterList(input.Filters, context) }),
|
|
@@ -3417,6 +3545,13 @@ const serializeAws_json1_1ListReceivedGrantsRequest = (input, context) => {
|
|
|
3417
3545
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3418
3546
|
};
|
|
3419
3547
|
};
|
|
3548
|
+
const serializeAws_json1_1ListReceivedLicensesForOrganizationRequest = (input, context) => {
|
|
3549
|
+
return {
|
|
3550
|
+
...(input.Filters != null && { Filters: serializeAws_json1_1FilterList(input.Filters, context) }),
|
|
3551
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3552
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3553
|
+
};
|
|
3554
|
+
};
|
|
3420
3555
|
const serializeAws_json1_1ListReceivedLicensesRequest = (input, context) => {
|
|
3421
3556
|
return {
|
|
3422
3557
|
...(input.Filters != null && { Filters: serializeAws_json1_1FilterList(input.Filters, context) }),
|
|
@@ -4354,12 +4489,24 @@ const deserializeAws_json1_1ListLicenseVersionsResponse = (output, context) => {
|
|
|
4354
4489
|
NextToken: __expectString(output.NextToken),
|
|
4355
4490
|
};
|
|
4356
4491
|
};
|
|
4492
|
+
const deserializeAws_json1_1ListReceivedGrantsForOrganizationResponse = (output, context) => {
|
|
4493
|
+
return {
|
|
4494
|
+
Grants: output.Grants != null ? deserializeAws_json1_1GrantList(output.Grants, context) : undefined,
|
|
4495
|
+
NextToken: __expectString(output.NextToken),
|
|
4496
|
+
};
|
|
4497
|
+
};
|
|
4357
4498
|
const deserializeAws_json1_1ListReceivedGrantsResponse = (output, context) => {
|
|
4358
4499
|
return {
|
|
4359
4500
|
Grants: output.Grants != null ? deserializeAws_json1_1GrantList(output.Grants, context) : undefined,
|
|
4360
4501
|
NextToken: __expectString(output.NextToken),
|
|
4361
4502
|
};
|
|
4362
4503
|
};
|
|
4504
|
+
const deserializeAws_json1_1ListReceivedLicensesForOrganizationResponse = (output, context) => {
|
|
4505
|
+
return {
|
|
4506
|
+
Licenses: output.Licenses != null ? deserializeAws_json1_1GrantedLicenseList(output.Licenses, context) : undefined,
|
|
4507
|
+
NextToken: __expectString(output.NextToken),
|
|
4508
|
+
};
|
|
4509
|
+
};
|
|
4363
4510
|
const deserializeAws_json1_1ListReceivedLicensesResponse = (output, context) => {
|
|
4364
4511
|
return {
|
|
4365
4512
|
Licenses: output.Licenses != null ? deserializeAws_json1_1GrantedLicenseList(output.Licenses, context) : undefined,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
3
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
3
4
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
@@ -7,7 +8,7 @@ export const getRuntimeConfig = (config) => ({
|
|
|
7
8
|
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
8
9
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
10
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
10
|
-
logger: config?.logger ??
|
|
11
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
11
12
|
serviceId: config?.serviceId ?? "License Manager",
|
|
12
13
|
urlParser: config?.urlParser ?? parseUrl,
|
|
13
14
|
});
|
|
@@ -35,7 +35,9 @@ import { ListLicensesCommandInput, ListLicensesCommandOutput } from "./commands/
|
|
|
35
35
|
import { ListLicenseSpecificationsForResourceCommandInput, ListLicenseSpecificationsForResourceCommandOutput } from "./commands/ListLicenseSpecificationsForResourceCommand";
|
|
36
36
|
import { ListLicenseVersionsCommandInput, ListLicenseVersionsCommandOutput } from "./commands/ListLicenseVersionsCommand";
|
|
37
37
|
import { ListReceivedGrantsCommandInput, ListReceivedGrantsCommandOutput } from "./commands/ListReceivedGrantsCommand";
|
|
38
|
+
import { ListReceivedGrantsForOrganizationCommandInput, ListReceivedGrantsForOrganizationCommandOutput } from "./commands/ListReceivedGrantsForOrganizationCommand";
|
|
38
39
|
import { ListReceivedLicensesCommandInput, ListReceivedLicensesCommandOutput } from "./commands/ListReceivedLicensesCommand";
|
|
40
|
+
import { ListReceivedLicensesForOrganizationCommandInput, ListReceivedLicensesForOrganizationCommandOutput } from "./commands/ListReceivedLicensesForOrganizationCommand";
|
|
39
41
|
import { ListResourceInventoryCommandInput, ListResourceInventoryCommandOutput } from "./commands/ListResourceInventoryCommand";
|
|
40
42
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
41
43
|
import { ListTokensCommandInput, ListTokensCommandOutput } from "./commands/ListTokensCommand";
|
|
@@ -73,6 +75,10 @@ export declare class LicenseManager extends LicenseManagerClient {
|
|
|
73
75
|
checkoutBorrowLicense(args: CheckoutBorrowLicenseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CheckoutBorrowLicenseCommandOutput) => void): void;
|
|
74
76
|
/**
|
|
75
77
|
* <p>Checks out the specified license.</p>
|
|
78
|
+
* <note>
|
|
79
|
+
* <p>If the account that created the license is the same that is performing the check out, you must
|
|
80
|
+
* specify the account as the beneficiary.</p>
|
|
81
|
+
* </note>
|
|
76
82
|
*/
|
|
77
83
|
checkoutLicense(args: CheckoutLicenseCommandInput, options?: __HttpHandlerOptions): Promise<CheckoutLicenseCommandOutput>;
|
|
78
84
|
checkoutLicense(args: CheckoutLicenseCommandInput, cb: (err: any, data?: CheckoutLicenseCommandOutput) => void): void;
|
|
@@ -284,12 +290,24 @@ export declare class LicenseManager extends LicenseManagerClient {
|
|
|
284
290
|
listReceivedGrants(args: ListReceivedGrantsCommandInput, options?: __HttpHandlerOptions): Promise<ListReceivedGrantsCommandOutput>;
|
|
285
291
|
listReceivedGrants(args: ListReceivedGrantsCommandInput, cb: (err: any, data?: ListReceivedGrantsCommandOutput) => void): void;
|
|
286
292
|
listReceivedGrants(args: ListReceivedGrantsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReceivedGrantsCommandOutput) => void): void;
|
|
293
|
+
/**
|
|
294
|
+
* <p>Lists the grants received for all accounts in the organization.</p>
|
|
295
|
+
*/
|
|
296
|
+
listReceivedGrantsForOrganization(args: ListReceivedGrantsForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<ListReceivedGrantsForOrganizationCommandOutput>;
|
|
297
|
+
listReceivedGrantsForOrganization(args: ListReceivedGrantsForOrganizationCommandInput, cb: (err: any, data?: ListReceivedGrantsForOrganizationCommandOutput) => void): void;
|
|
298
|
+
listReceivedGrantsForOrganization(args: ListReceivedGrantsForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReceivedGrantsForOrganizationCommandOutput) => void): void;
|
|
287
299
|
/**
|
|
288
300
|
* <p>Lists received licenses.</p>
|
|
289
301
|
*/
|
|
290
302
|
listReceivedLicenses(args: ListReceivedLicensesCommandInput, options?: __HttpHandlerOptions): Promise<ListReceivedLicensesCommandOutput>;
|
|
291
303
|
listReceivedLicenses(args: ListReceivedLicensesCommandInput, cb: (err: any, data?: ListReceivedLicensesCommandOutput) => void): void;
|
|
292
304
|
listReceivedLicenses(args: ListReceivedLicensesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReceivedLicensesCommandOutput) => void): void;
|
|
305
|
+
/**
|
|
306
|
+
* <p>Lists the licenses received for all accounts in the organization.</p>
|
|
307
|
+
*/
|
|
308
|
+
listReceivedLicensesForOrganization(args: ListReceivedLicensesForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<ListReceivedLicensesForOrganizationCommandOutput>;
|
|
309
|
+
listReceivedLicensesForOrganization(args: ListReceivedLicensesForOrganizationCommandInput, cb: (err: any, data?: ListReceivedLicensesForOrganizationCommandOutput) => void): void;
|
|
310
|
+
listReceivedLicensesForOrganization(args: ListReceivedLicensesForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReceivedLicensesForOrganizationCommandOutput) => void): void;
|
|
293
311
|
/**
|
|
294
312
|
* <p>Lists resources managed using Systems Manager inventory.</p>
|
|
295
313
|
*/
|
|
@@ -43,7 +43,9 @@ import { ListLicensesCommandInput, ListLicensesCommandOutput } from "./commands/
|
|
|
43
43
|
import { ListLicenseSpecificationsForResourceCommandInput, ListLicenseSpecificationsForResourceCommandOutput } from "./commands/ListLicenseSpecificationsForResourceCommand";
|
|
44
44
|
import { ListLicenseVersionsCommandInput, ListLicenseVersionsCommandOutput } from "./commands/ListLicenseVersionsCommand";
|
|
45
45
|
import { ListReceivedGrantsCommandInput, ListReceivedGrantsCommandOutput } from "./commands/ListReceivedGrantsCommand";
|
|
46
|
+
import { ListReceivedGrantsForOrganizationCommandInput, ListReceivedGrantsForOrganizationCommandOutput } from "./commands/ListReceivedGrantsForOrganizationCommand";
|
|
46
47
|
import { ListReceivedLicensesCommandInput, ListReceivedLicensesCommandOutput } from "./commands/ListReceivedLicensesCommand";
|
|
48
|
+
import { ListReceivedLicensesForOrganizationCommandInput, ListReceivedLicensesForOrganizationCommandOutput } from "./commands/ListReceivedLicensesForOrganizationCommand";
|
|
47
49
|
import { ListResourceInventoryCommandInput, ListResourceInventoryCommandOutput } from "./commands/ListResourceInventoryCommand";
|
|
48
50
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
49
51
|
import { ListTokensCommandInput, ListTokensCommandOutput } from "./commands/ListTokensCommand";
|
|
@@ -56,8 +58,8 @@ import { UpdateLicenseManagerReportGeneratorCommandInput, UpdateLicenseManagerRe
|
|
|
56
58
|
import { UpdateLicenseSpecificationsForResourceCommandInput, UpdateLicenseSpecificationsForResourceCommandOutput } from "./commands/UpdateLicenseSpecificationsForResourceCommand";
|
|
57
59
|
import { UpdateServiceSettingsCommandInput, UpdateServiceSettingsCommandOutput } from "./commands/UpdateServiceSettingsCommand";
|
|
58
60
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
59
|
-
export declare type ServiceInputTypes = AcceptGrantCommandInput | CheckInLicenseCommandInput | CheckoutBorrowLicenseCommandInput | CheckoutLicenseCommandInput | CreateGrantCommandInput | CreateGrantVersionCommandInput | CreateLicenseCommandInput | CreateLicenseConfigurationCommandInput | CreateLicenseConversionTaskForResourceCommandInput | CreateLicenseManagerReportGeneratorCommandInput | CreateLicenseVersionCommandInput | CreateTokenCommandInput | DeleteGrantCommandInput | DeleteLicenseCommandInput | DeleteLicenseConfigurationCommandInput | DeleteLicenseManagerReportGeneratorCommandInput | DeleteTokenCommandInput | ExtendLicenseConsumptionCommandInput | GetAccessTokenCommandInput | GetGrantCommandInput | GetLicenseCommandInput | GetLicenseConfigurationCommandInput | GetLicenseConversionTaskCommandInput | GetLicenseManagerReportGeneratorCommandInput | GetLicenseUsageCommandInput | GetServiceSettingsCommandInput | ListAssociationsForLicenseConfigurationCommandInput | ListDistributedGrantsCommandInput | ListFailuresForLicenseConfigurationOperationsCommandInput | ListLicenseConfigurationsCommandInput | ListLicenseConversionTasksCommandInput | ListLicenseManagerReportGeneratorsCommandInput | ListLicenseSpecificationsForResourceCommandInput | ListLicenseVersionsCommandInput | ListLicensesCommandInput | ListReceivedGrantsCommandInput | ListReceivedLicensesCommandInput | ListResourceInventoryCommandInput | ListTagsForResourceCommandInput | ListTokensCommandInput | ListUsageForLicenseConfigurationCommandInput | RejectGrantCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateLicenseConfigurationCommandInput | UpdateLicenseManagerReportGeneratorCommandInput | UpdateLicenseSpecificationsForResourceCommandInput | UpdateServiceSettingsCommandInput;
|
|
60
|
-
export declare type ServiceOutputTypes = AcceptGrantCommandOutput | CheckInLicenseCommandOutput | CheckoutBorrowLicenseCommandOutput | CheckoutLicenseCommandOutput | CreateGrantCommandOutput | CreateGrantVersionCommandOutput | CreateLicenseCommandOutput | CreateLicenseConfigurationCommandOutput | CreateLicenseConversionTaskForResourceCommandOutput | CreateLicenseManagerReportGeneratorCommandOutput | CreateLicenseVersionCommandOutput | CreateTokenCommandOutput | DeleteGrantCommandOutput | DeleteLicenseCommandOutput | DeleteLicenseConfigurationCommandOutput | DeleteLicenseManagerReportGeneratorCommandOutput | DeleteTokenCommandOutput | ExtendLicenseConsumptionCommandOutput | GetAccessTokenCommandOutput | GetGrantCommandOutput | GetLicenseCommandOutput | GetLicenseConfigurationCommandOutput | GetLicenseConversionTaskCommandOutput | GetLicenseManagerReportGeneratorCommandOutput | GetLicenseUsageCommandOutput | GetServiceSettingsCommandOutput | ListAssociationsForLicenseConfigurationCommandOutput | ListDistributedGrantsCommandOutput | ListFailuresForLicenseConfigurationOperationsCommandOutput | ListLicenseConfigurationsCommandOutput | ListLicenseConversionTasksCommandOutput | ListLicenseManagerReportGeneratorsCommandOutput | ListLicenseSpecificationsForResourceCommandOutput | ListLicenseVersionsCommandOutput | ListLicensesCommandOutput | ListReceivedGrantsCommandOutput | ListReceivedLicensesCommandOutput | ListResourceInventoryCommandOutput | ListTagsForResourceCommandOutput | ListTokensCommandOutput | ListUsageForLicenseConfigurationCommandOutput | RejectGrantCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateLicenseConfigurationCommandOutput | UpdateLicenseManagerReportGeneratorCommandOutput | UpdateLicenseSpecificationsForResourceCommandOutput | UpdateServiceSettingsCommandOutput;
|
|
61
|
+
export declare type ServiceInputTypes = AcceptGrantCommandInput | CheckInLicenseCommandInput | CheckoutBorrowLicenseCommandInput | CheckoutLicenseCommandInput | CreateGrantCommandInput | CreateGrantVersionCommandInput | CreateLicenseCommandInput | CreateLicenseConfigurationCommandInput | CreateLicenseConversionTaskForResourceCommandInput | CreateLicenseManagerReportGeneratorCommandInput | CreateLicenseVersionCommandInput | CreateTokenCommandInput | DeleteGrantCommandInput | DeleteLicenseCommandInput | DeleteLicenseConfigurationCommandInput | DeleteLicenseManagerReportGeneratorCommandInput | DeleteTokenCommandInput | ExtendLicenseConsumptionCommandInput | GetAccessTokenCommandInput | GetGrantCommandInput | GetLicenseCommandInput | GetLicenseConfigurationCommandInput | GetLicenseConversionTaskCommandInput | GetLicenseManagerReportGeneratorCommandInput | GetLicenseUsageCommandInput | GetServiceSettingsCommandInput | ListAssociationsForLicenseConfigurationCommandInput | ListDistributedGrantsCommandInput | ListFailuresForLicenseConfigurationOperationsCommandInput | ListLicenseConfigurationsCommandInput | ListLicenseConversionTasksCommandInput | ListLicenseManagerReportGeneratorsCommandInput | ListLicenseSpecificationsForResourceCommandInput | ListLicenseVersionsCommandInput | ListLicensesCommandInput | ListReceivedGrantsCommandInput | ListReceivedGrantsForOrganizationCommandInput | ListReceivedLicensesCommandInput | ListReceivedLicensesForOrganizationCommandInput | ListResourceInventoryCommandInput | ListTagsForResourceCommandInput | ListTokensCommandInput | ListUsageForLicenseConfigurationCommandInput | RejectGrantCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateLicenseConfigurationCommandInput | UpdateLicenseManagerReportGeneratorCommandInput | UpdateLicenseSpecificationsForResourceCommandInput | UpdateServiceSettingsCommandInput;
|
|
62
|
+
export declare type ServiceOutputTypes = AcceptGrantCommandOutput | CheckInLicenseCommandOutput | CheckoutBorrowLicenseCommandOutput | CheckoutLicenseCommandOutput | CreateGrantCommandOutput | CreateGrantVersionCommandOutput | CreateLicenseCommandOutput | CreateLicenseConfigurationCommandOutput | CreateLicenseConversionTaskForResourceCommandOutput | CreateLicenseManagerReportGeneratorCommandOutput | CreateLicenseVersionCommandOutput | CreateTokenCommandOutput | DeleteGrantCommandOutput | DeleteLicenseCommandOutput | DeleteLicenseConfigurationCommandOutput | DeleteLicenseManagerReportGeneratorCommandOutput | DeleteTokenCommandOutput | ExtendLicenseConsumptionCommandOutput | GetAccessTokenCommandOutput | GetGrantCommandOutput | GetLicenseCommandOutput | GetLicenseConfigurationCommandOutput | GetLicenseConversionTaskCommandOutput | GetLicenseManagerReportGeneratorCommandOutput | GetLicenseUsageCommandOutput | GetServiceSettingsCommandOutput | ListAssociationsForLicenseConfigurationCommandOutput | ListDistributedGrantsCommandOutput | ListFailuresForLicenseConfigurationOperationsCommandOutput | ListLicenseConfigurationsCommandOutput | ListLicenseConversionTasksCommandOutput | ListLicenseManagerReportGeneratorsCommandOutput | ListLicenseSpecificationsForResourceCommandOutput | ListLicenseVersionsCommandOutput | ListLicensesCommandOutput | ListReceivedGrantsCommandOutput | ListReceivedGrantsForOrganizationCommandOutput | ListReceivedLicensesCommandOutput | ListReceivedLicensesForOrganizationCommandOutput | ListResourceInventoryCommandOutput | ListTagsForResourceCommandOutput | ListTokensCommandOutput | ListUsageForLicenseConfigurationCommandOutput | RejectGrantCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateLicenseConfigurationCommandOutput | UpdateLicenseManagerReportGeneratorCommandOutput | UpdateLicenseSpecificationsForResourceCommandOutput | UpdateServiceSettingsCommandOutput;
|
|
61
63
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
62
64
|
/**
|
|
63
65
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -9,6 +9,10 @@ export interface CheckoutLicenseCommandOutput extends CheckoutLicenseResponse, _
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Checks out the specified license.</p>
|
|
12
|
+
* <note>
|
|
13
|
+
* <p>If the account that created the license is the same that is performing the check out, you must
|
|
14
|
+
* specify the account as the beneficiary.</p>
|
|
15
|
+
* </note>
|
|
12
16
|
* @example
|
|
13
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
18
|
* ```javascript
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
|
|
5
|
+
import { ListReceivedGrantsForOrganizationRequest, ListReceivedGrantsForOrganizationResponse } from "../models/models_0";
|
|
6
|
+
export interface ListReceivedGrantsForOrganizationCommandInput extends ListReceivedGrantsForOrganizationRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListReceivedGrantsForOrganizationCommandOutput extends ListReceivedGrantsForOrganizationResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists the grants received for all accounts in the organization.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { LicenseManagerClient, ListReceivedGrantsForOrganizationCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
16
|
+
* // const { LicenseManagerClient, ListReceivedGrantsForOrganizationCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
17
|
+
* const client = new LicenseManagerClient(config);
|
|
18
|
+
* const command = new ListReceivedGrantsForOrganizationCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListReceivedGrantsForOrganizationCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListReceivedGrantsForOrganizationCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link LicenseManagerClientResolvedConfig | config} for LicenseManagerClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListReceivedGrantsForOrganizationCommand extends $Command<ListReceivedGrantsForOrganizationCommandInput, ListReceivedGrantsForOrganizationCommandOutput, LicenseManagerClientResolvedConfig> {
|
|
28
|
+
readonly input: ListReceivedGrantsForOrganizationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListReceivedGrantsForOrganizationCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListReceivedGrantsForOrganizationCommandInput, ListReceivedGrantsForOrganizationCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
|
|
5
|
+
import { ListReceivedLicensesForOrganizationRequest, ListReceivedLicensesForOrganizationResponse } from "../models/models_0";
|
|
6
|
+
export interface ListReceivedLicensesForOrganizationCommandInput extends ListReceivedLicensesForOrganizationRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListReceivedLicensesForOrganizationCommandOutput extends ListReceivedLicensesForOrganizationResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists the licenses received for all accounts in the organization.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { LicenseManagerClient, ListReceivedLicensesForOrganizationCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
16
|
+
* // const { LicenseManagerClient, ListReceivedLicensesForOrganizationCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
17
|
+
* const client = new LicenseManagerClient(config);
|
|
18
|
+
* const command = new ListReceivedLicensesForOrganizationCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListReceivedLicensesForOrganizationCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListReceivedLicensesForOrganizationCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link LicenseManagerClientResolvedConfig | config} for LicenseManagerClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListReceivedLicensesForOrganizationCommand extends $Command<ListReceivedLicensesForOrganizationCommandInput, ListReceivedLicensesForOrganizationCommandOutput, LicenseManagerClientResolvedConfig> {
|
|
28
|
+
readonly input: ListReceivedLicensesForOrganizationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListReceivedLicensesForOrganizationCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListReceivedLicensesForOrganizationCommandInput, ListReceivedLicensesForOrganizationCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -34,7 +34,9 @@ export * from "./ListLicenseSpecificationsForResourceCommand";
|
|
|
34
34
|
export * from "./ListLicenseVersionsCommand";
|
|
35
35
|
export * from "./ListLicensesCommand";
|
|
36
36
|
export * from "./ListReceivedGrantsCommand";
|
|
37
|
+
export * from "./ListReceivedGrantsForOrganizationCommand";
|
|
37
38
|
export * from "./ListReceivedLicensesCommand";
|
|
39
|
+
export * from "./ListReceivedLicensesForOrganizationCommand";
|
|
38
40
|
export * from "./ListResourceInventoryCommand";
|
|
39
41
|
export * from "./ListTagsForResourceCommand";
|
|
40
42
|
export * from "./ListTokensCommand";
|
|
@@ -424,7 +424,7 @@ export interface CreateGrantRequest {
|
|
|
424
424
|
*/
|
|
425
425
|
LicenseArn: string | undefined;
|
|
426
426
|
/**
|
|
427
|
-
* <p>The grant principals.</p>
|
|
427
|
+
* <p>The grant principals. This value should be specified as an Amazon Resource Name (ARN).</p>
|
|
428
428
|
*/
|
|
429
429
|
Principals: string[] | undefined;
|
|
430
430
|
/**
|
|
@@ -911,11 +911,12 @@ export interface CreateLicenseConversionTaskForResourceRequest {
|
|
|
911
911
|
ResourceArn: string | undefined;
|
|
912
912
|
/**
|
|
913
913
|
* <p>Information that identifies the license type you are converting from.
|
|
914
|
-
*
|
|
914
|
+
*
|
|
915
|
+
* For the structure of the source license, see <a href="https://docs.aws.amazon.com/license-manager/latest/userguide/conversion-procedures.html#conversion-cli">Convert a license type using the Amazon Web Services CLI</a> in the <i>License Manager User Guide</i>.</p>
|
|
915
916
|
*/
|
|
916
917
|
SourceLicenseContext: LicenseConversionContext | undefined;
|
|
917
918
|
/**
|
|
918
|
-
* <p>Information that identifies the license type you are converting to. For the structure of the destination license, see <a href="https://docs.aws.amazon.com/license-manager/latest/userguide/conversion-procedures.html#conversion-cli">Convert a license type using the
|
|
919
|
+
* <p>Information that identifies the license type you are converting to. For the structure of the destination license, see <a href="https://docs.aws.amazon.com/license-manager/latest/userguide/conversion-procedures.html#conversion-cli">Convert a license type using the Amazon Web Services CLI</a> in the <i>License Manager User Guide</i>.</p>
|
|
919
920
|
*/
|
|
920
921
|
DestinationLicenseContext: LicenseConversionContext | undefined;
|
|
921
922
|
}
|
|
@@ -2272,6 +2273,46 @@ export interface ListReceivedGrantsResponse {
|
|
|
2272
2273
|
*/
|
|
2273
2274
|
NextToken?: string;
|
|
2274
2275
|
}
|
|
2276
|
+
export interface ListReceivedGrantsForOrganizationRequest {
|
|
2277
|
+
/**
|
|
2278
|
+
* <p>The Amazon Resource Name (ARN) of the received license.</p>
|
|
2279
|
+
*/
|
|
2280
|
+
LicenseArn: string | undefined;
|
|
2281
|
+
/**
|
|
2282
|
+
* <p>Filters to scope the results. The following filters are supported:</p>
|
|
2283
|
+
* <ul>
|
|
2284
|
+
* <li>
|
|
2285
|
+
* <p>
|
|
2286
|
+
* <code>ParentArn</code>
|
|
2287
|
+
* </p>
|
|
2288
|
+
* </li>
|
|
2289
|
+
* <li>
|
|
2290
|
+
* <p>
|
|
2291
|
+
* <code>GranteePrincipalArn</code>
|
|
2292
|
+
* </p>
|
|
2293
|
+
* </li>
|
|
2294
|
+
* </ul>
|
|
2295
|
+
*/
|
|
2296
|
+
Filters?: Filter[];
|
|
2297
|
+
/**
|
|
2298
|
+
* <p>Token for the next set of results.</p>
|
|
2299
|
+
*/
|
|
2300
|
+
NextToken?: string;
|
|
2301
|
+
/**
|
|
2302
|
+
* <p>Maximum number of results to return in a single call.</p>
|
|
2303
|
+
*/
|
|
2304
|
+
MaxResults?: number;
|
|
2305
|
+
}
|
|
2306
|
+
export interface ListReceivedGrantsForOrganizationResponse {
|
|
2307
|
+
/**
|
|
2308
|
+
* <p>Lists the grants the organization has received.</p>
|
|
2309
|
+
*/
|
|
2310
|
+
Grants?: Grant[];
|
|
2311
|
+
/**
|
|
2312
|
+
* <p>Token for the next set of results.</p>
|
|
2313
|
+
*/
|
|
2314
|
+
NextToken?: string;
|
|
2315
|
+
}
|
|
2275
2316
|
export interface ListReceivedLicensesRequest {
|
|
2276
2317
|
/**
|
|
2277
2318
|
* <p>Amazon Resource Names (ARNs) of the licenses.</p>
|
|
@@ -2419,6 +2460,42 @@ export interface ListReceivedLicensesResponse {
|
|
|
2419
2460
|
*/
|
|
2420
2461
|
NextToken?: string;
|
|
2421
2462
|
}
|
|
2463
|
+
export interface ListReceivedLicensesForOrganizationRequest {
|
|
2464
|
+
/**
|
|
2465
|
+
* <p>Filters to scope the results. The following filters are supported:</p>
|
|
2466
|
+
* <ul>
|
|
2467
|
+
* <li>
|
|
2468
|
+
* <p>
|
|
2469
|
+
* <code>Beneficiary</code>
|
|
2470
|
+
* </p>
|
|
2471
|
+
* </li>
|
|
2472
|
+
* <li>
|
|
2473
|
+
* <p>
|
|
2474
|
+
* <code>ProductSKU</code>
|
|
2475
|
+
* </p>
|
|
2476
|
+
* </li>
|
|
2477
|
+
* </ul>
|
|
2478
|
+
*/
|
|
2479
|
+
Filters?: Filter[];
|
|
2480
|
+
/**
|
|
2481
|
+
* <p>Token for the next set of results.</p>
|
|
2482
|
+
*/
|
|
2483
|
+
NextToken?: string;
|
|
2484
|
+
/**
|
|
2485
|
+
* <p>Maximum number of results to return in a single call.</p>
|
|
2486
|
+
*/
|
|
2487
|
+
MaxResults?: number;
|
|
2488
|
+
}
|
|
2489
|
+
export interface ListReceivedLicensesForOrganizationResponse {
|
|
2490
|
+
/**
|
|
2491
|
+
* <p>Lists the licenses the organization has received.</p>
|
|
2492
|
+
*/
|
|
2493
|
+
Licenses?: GrantedLicense[];
|
|
2494
|
+
/**
|
|
2495
|
+
* <p>Token for the next set of results.</p>
|
|
2496
|
+
*/
|
|
2497
|
+
NextToken?: string;
|
|
2498
|
+
}
|
|
2422
2499
|
/**
|
|
2423
2500
|
* <p>A dependency required to run the API is missing.</p>
|
|
2424
2501
|
*/
|
|
@@ -3304,6 +3381,14 @@ export declare const ListReceivedGrantsRequestFilterSensitiveLog: (obj: ListRece
|
|
|
3304
3381
|
* @internal
|
|
3305
3382
|
*/
|
|
3306
3383
|
export declare const ListReceivedGrantsResponseFilterSensitiveLog: (obj: ListReceivedGrantsResponse) => any;
|
|
3384
|
+
/**
|
|
3385
|
+
* @internal
|
|
3386
|
+
*/
|
|
3387
|
+
export declare const ListReceivedGrantsForOrganizationRequestFilterSensitiveLog: (obj: ListReceivedGrantsForOrganizationRequest) => any;
|
|
3388
|
+
/**
|
|
3389
|
+
* @internal
|
|
3390
|
+
*/
|
|
3391
|
+
export declare const ListReceivedGrantsForOrganizationResponseFilterSensitiveLog: (obj: ListReceivedGrantsForOrganizationResponse) => any;
|
|
3307
3392
|
/**
|
|
3308
3393
|
* @internal
|
|
3309
3394
|
*/
|
|
@@ -3320,6 +3405,14 @@ export declare const GrantedLicenseFilterSensitiveLog: (obj: GrantedLicense) =>
|
|
|
3320
3405
|
* @internal
|
|
3321
3406
|
*/
|
|
3322
3407
|
export declare const ListReceivedLicensesResponseFilterSensitiveLog: (obj: ListReceivedLicensesResponse) => any;
|
|
3408
|
+
/**
|
|
3409
|
+
* @internal
|
|
3410
|
+
*/
|
|
3411
|
+
export declare const ListReceivedLicensesForOrganizationRequestFilterSensitiveLog: (obj: ListReceivedLicensesForOrganizationRequest) => any;
|
|
3412
|
+
/**
|
|
3413
|
+
* @internal
|
|
3414
|
+
*/
|
|
3415
|
+
export declare const ListReceivedLicensesForOrganizationResponseFilterSensitiveLog: (obj: ListReceivedLicensesForOrganizationResponse) => any;
|
|
3323
3416
|
/**
|
|
3324
3417
|
* @internal
|
|
3325
3418
|
*/
|
|
@@ -36,7 +36,9 @@ import { ListLicensesCommandInput, ListLicensesCommandOutput } from "../commands
|
|
|
36
36
|
import { ListLicenseSpecificationsForResourceCommandInput, ListLicenseSpecificationsForResourceCommandOutput } from "../commands/ListLicenseSpecificationsForResourceCommand";
|
|
37
37
|
import { ListLicenseVersionsCommandInput, ListLicenseVersionsCommandOutput } from "../commands/ListLicenseVersionsCommand";
|
|
38
38
|
import { ListReceivedGrantsCommandInput, ListReceivedGrantsCommandOutput } from "../commands/ListReceivedGrantsCommand";
|
|
39
|
+
import { ListReceivedGrantsForOrganizationCommandInput, ListReceivedGrantsForOrganizationCommandOutput } from "../commands/ListReceivedGrantsForOrganizationCommand";
|
|
39
40
|
import { ListReceivedLicensesCommandInput, ListReceivedLicensesCommandOutput } from "../commands/ListReceivedLicensesCommand";
|
|
41
|
+
import { ListReceivedLicensesForOrganizationCommandInput, ListReceivedLicensesForOrganizationCommandOutput } from "../commands/ListReceivedLicensesForOrganizationCommand";
|
|
40
42
|
import { ListResourceInventoryCommandInput, ListResourceInventoryCommandOutput } from "../commands/ListResourceInventoryCommand";
|
|
41
43
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
42
44
|
import { ListTokensCommandInput, ListTokensCommandOutput } from "../commands/ListTokensCommand";
|
|
@@ -84,7 +86,9 @@ export declare const serializeAws_json1_1ListLicensesCommand: (input: ListLicens
|
|
|
84
86
|
export declare const serializeAws_json1_1ListLicenseSpecificationsForResourceCommand: (input: ListLicenseSpecificationsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
85
87
|
export declare const serializeAws_json1_1ListLicenseVersionsCommand: (input: ListLicenseVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
86
88
|
export declare const serializeAws_json1_1ListReceivedGrantsCommand: (input: ListReceivedGrantsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
89
|
+
export declare const serializeAws_json1_1ListReceivedGrantsForOrganizationCommand: (input: ListReceivedGrantsForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
87
90
|
export declare const serializeAws_json1_1ListReceivedLicensesCommand: (input: ListReceivedLicensesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
91
|
+
export declare const serializeAws_json1_1ListReceivedLicensesForOrganizationCommand: (input: ListReceivedLicensesForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
88
92
|
export declare const serializeAws_json1_1ListResourceInventoryCommand: (input: ListResourceInventoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
89
93
|
export declare const serializeAws_json1_1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
90
94
|
export declare const serializeAws_json1_1ListTokensCommand: (input: ListTokensCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -132,7 +136,9 @@ export declare const deserializeAws_json1_1ListLicensesCommand: (output: __HttpR
|
|
|
132
136
|
export declare const deserializeAws_json1_1ListLicenseSpecificationsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListLicenseSpecificationsForResourceCommandOutput>;
|
|
133
137
|
export declare const deserializeAws_json1_1ListLicenseVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListLicenseVersionsCommandOutput>;
|
|
134
138
|
export declare const deserializeAws_json1_1ListReceivedGrantsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListReceivedGrantsCommandOutput>;
|
|
139
|
+
export declare const deserializeAws_json1_1ListReceivedGrantsForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListReceivedGrantsForOrganizationCommandOutput>;
|
|
135
140
|
export declare const deserializeAws_json1_1ListReceivedLicensesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListReceivedLicensesCommandOutput>;
|
|
141
|
+
export declare const deserializeAws_json1_1ListReceivedLicensesForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListReceivedLicensesForOrganizationCommandOutput>;
|
|
136
142
|
export declare const deserializeAws_json1_1ListResourceInventoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListResourceInventoryCommandOutput>;
|
|
137
143
|
export declare const deserializeAws_json1_1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
138
144
|
export declare const deserializeAws_json1_1ListTokensCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTokensCommandOutput>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
1
|
import { LicenseManagerClientConfig } from "./LicenseManagerClient";
|
|
3
2
|
/**
|
|
4
3
|
* @internal
|
|
@@ -9,9 +8,9 @@ export declare const getRuntimeConfig: (config: LicenseManagerClientConfig) => {
|
|
|
9
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
9
|
disableHostPrefix: boolean;
|
|
11
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
12
|
-
logger?:
|
|
11
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
13
12
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
14
|
-
logger:
|
|
13
|
+
logger: import("@aws-sdk/types").Logger;
|
|
15
14
|
serviceId: string;
|
|
16
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
17
16
|
};
|