list_associations_for_license_configuration
async
¶
list_associations_for_license_configuration(
license_configuration_arn: String,
*,
config_overrides: Optional[AsyncLicenseManagerClientConfig] = None,
max_results: Optional[BoxInteger] = None,
next_token: Optional[String] = None,
) -> ListAssociationsForLicenseConfigurationResponse
Lists the resource associations for the specified license configuration.
Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance might not consume a license (depending on the license rules).
Parameters:
-
license_configuration_arn(String) –Amazon Resource Name (ARN) of a license configuration.
-
max_results(Optional[BoxInteger], default:None) –Maximum number of results to return in a single call.
-
next_token(Optional[String], default:None) –Token for the next set of results.
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.
-
FilterLimitExceededException–The request uses too many filters or too many filter values.
-
InvalidParameterValueException–One or more parameter values are not valid.
-
RateLimitExceededException–Too many requests have been submitted. Try again after a brief wait.
-
ServerInternalException–The server experienced an internal error. Try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_license_manager/_services/async_license_manager.py
2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 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 | |