list_observability_configurations
async
¶
list_observability_configurations(
*,
config_overrides: Optional[AsyncAppRunnerClientConfig] = None,
observability_configuration_name: Optional[ObservabilityConfigurationName] = None,
latest_only: Optional[Boolean] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListObservabilityConfigurationsResponse
Returns a list of active App Runner observability configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name.
To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListObservabilityConfigurations.
Parameters:
-
observability_configuration_name(Optional[ObservabilityConfigurationName], default:None) –The name of the App Runner observability configuration that you want to list. If specified, App Runner lists revisions that share this name. If not specified, App Runner returns revisions of all active configurations.
-
latest_only(Optional[Boolean], default:None) –Set to
trueto list only the latest revision for each requested configuration name.Set to
falseto list all revisions for each requested configuration name.Default:
true -
max_results(Optional[MaxResults], default:None) –The maximum number of results to include in each response (result page). It's used for a paginated request.
If you don't specify
MaxResults, the request retrieves all available results in a single response. -
next_token(Optional[NextToken], default:None) –A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request.
If you don't specify
NextToken, the request retrieves the first result page.
Raises:
-
InternalServiceErrorException–An unexpected service exception occurred.
-
InvalidRequestException–One or more input parameters aren't valid. Refer to the API action's document page, correct the input parameters, and try the action again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_apprunner/_services/async_app_runner.py
1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 | |