list_configurations
async
¶
list_configurations(
configuration_type: ConfigurationItemType,
*,
config_overrides: Optional[AsyncApplicationDiscoveryServiceClientConfig] = 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/async_application_discovery_service.py
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 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 | |