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
2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 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 | |