list_resource_inventory
async
¶
list_resource_inventory(
*,
config_overrides: Optional[AsyncLicenseManagerClientConfig] = None,
max_results: Optional[BoxInteger] = None,
next_token: Optional[String] = None,
filters: Optional[InventoryFilterList] = None,
) -> ListResourceInventoryResponse
Lists resources managed using Systems Manager inventory.
Parameters:
-
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.
-
filters(Optional[InventoryFilterList], default:None) –Filters to scope the results. The following filters and logical operators are supported:
-
account_id- The ID of the Amazon Web Services account that owns the resource. Logical operators areEQUALS|NOT_EQUALS. -
application_name- The name of the application. Logical operators areEQUALS|BEGINS_WITH. -
license_included- The type of license included. Logical operators areEQUALS|NOT_EQUALS. Possible values aresql-server-enterprise|sql-server-standard|sql-server-web|windows-server-datacenter. -
platform- The platform of the resource. Logical operators areEQUALS|BEGINS_WITH. -
resource_id- The ID of the resource. Logical operators areEQUALS|NOT_EQUALS. -
tag:- The key/value combination of a tag assigned to the resource. Logical operators areEQUALS(single account) orEQUALS|NOT_EQUALS(cross account).
-
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.
-
FailedDependencyException–A dependency required to run the API is missing.
-
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
3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 | |