list_monitored_resources
async
¶
list_monitored_resources(
*,
config_overrides: Optional[AsyncDevOpsGuruClientConfig] = None,
filters: Optional[ListMonitoredResourcesFilters] = None,
max_results: Optional[ListMonitoredResourcesMaxResults] = None,
next_token: Optional[UuidNextToken] = None,
) -> ListMonitoredResourcesResponse
Returns the list of all log groups that are being monitored and tagged by DevOps Guru.
Parameters:
-
filters(Optional[ListMonitoredResourcesFilters], default:None) –Filters to determine which monitored resources you want to retrieve. You can filter by resource type or resource permission status.
-
max_results(Optional[ListMonitoredResourcesMaxResults], default:None) –The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue. -
next_token(Optional[UuidNextToken], default:None) –The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
Raises:
-
InternalServerException–An internal failure in an Amazon service occurred.
-
ResourceNotFoundException–A requested resource could not be found
-
ThrottlingException–The request was denied due to a request throttling.
-
ValidationException–Contains information about data passed in to a field during a request that is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_devops_guru/_services/async_dev_ops_guru.py
1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 | |