list_resource_inventory
¶
list_resource_inventory(
*,
config_overrides: Optional[LicenseManagerClientConfig] = 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/license_manager.py
3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 | |