list_configurations
¶
list_configurations(
configuration_type: ConfigurationItemType,
*,
config_overrides: Optional[ApplicationDiscoveryServiceClientConfig] = None,
filters: Optional[Filters] = None,
max_results: Optional[Integer] = None,
next_token: Optional[NextToken] = None,
order_by: Optional[OrderByList] = None,
) -> ListConfigurationsResponse
Retrieves a list of configuration items as specified by the value passed to the required parameter configurationType. Optional filtering may be applied to refine search results.
Parameters:
-
configuration_type(ConfigurationItemType) –A valid configuration identified by Application Discovery Service.
-
filters(Optional[Filters], default:None) –You can filter the request using various logical operators and a key-value format. For example:
{"key": "serverType", "value": "webServer"}For a complete list of filter options and guidance about using them with this action, see Using the ListConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.
-
max_results(Optional[Integer], default:None) –The total number of items to return. The maximum value is 100.
-
next_token(Optional[NextToken], default:None) –Token to retrieve the next set of results. For example, if a previous call to ListConfigurations returned 100 items, but you set
ListConfigurationsRequest$maxResultsto 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10. -
order_by(Optional[OrderByList], default:None) –Certain filter criteria return output that can be sorted in ascending or descending order. For a list of output characteristics for each filter, see Using the ListConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.
Raises:
-
AuthorizationErrorException–The user does not have permission to perform the action. Check the IAM policy associated with this user.
-
HomeRegionNotSetException–The home Region is not set. Set the home Region to continue.
-
InvalidParameterException–One or more parameters are not valid. Verify the parameters and try again.
-
InvalidParameterValueException–The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.
-
ResourceNotFoundException–The specified configuration ID was not located. Verify the configuration ID and try again.
-
ServerInternalErrorException–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_application_discovery_service/_services/application_discovery_service.py
1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 | |