list_distributed_grants
¶
list_distributed_grants(
*,
config_overrides: Optional[LicenseManagerClientConfig] = None,
grant_arns: Optional[ArnList] = None,
filters: Optional[FilterList] = None,
next_token: Optional[String] = None,
max_results: Optional[MaxSize100] = None,
) -> ListDistributedGrantsResponse
Lists the grants distributed for the specified license.
Parameters:
-
grant_arns(Optional[ArnList], default:None) –Amazon Resource Names (ARNs) of the grants.
-
filters(Optional[FilterList], default:None) –Filters to scope the results. The following filters are supported:
-
LicenseArn -
GrantStatus -
GranteePrincipalARN -
ProductSKU -
LicenseIssuerName
-
-
next_token(Optional[String], default:None) –Token for the next set of results.
-
max_results(Optional[MaxSize100], default:None) –Maximum number of results to return in a single call.
Raises:
-
AccessDeniedException–Access to resource denied.
-
AuthorizationException–The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
-
InvalidParameterValueException–One or more parameter values are not valid.
-
RateLimitExceededException–Too many requests have been submitted. Try again after a brief wait.
-
ResourceLimitExceededException–Your resource limits have been exceeded.
-
ServerInternalException–The server experienced an internal error. Try again.
-
ValidationException–The provided input is not valid. Try your request again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_license_manager/_services/license_manager.py
2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 | |