Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns the list of all log groups that are being monitored and tagged by DevOps Guru.
This operation returns paginated results.
Synopsis
- data ListMonitoredResources = ListMonitoredResources' {}
- newListMonitoredResources :: ListMonitoredResources
- listMonitoredResources_filters :: Lens' ListMonitoredResources (Maybe ListMonitoredResourcesFilters)
- listMonitoredResources_maxResults :: Lens' ListMonitoredResources (Maybe Natural)
- listMonitoredResources_nextToken :: Lens' ListMonitoredResources (Maybe Text)
- data ListMonitoredResourcesResponse = ListMonitoredResourcesResponse' {}
- newListMonitoredResourcesResponse :: Int -> ListMonitoredResourcesResponse
- listMonitoredResourcesResponse_nextToken :: Lens' ListMonitoredResourcesResponse (Maybe Text)
- listMonitoredResourcesResponse_httpStatus :: Lens' ListMonitoredResourcesResponse Int
- listMonitoredResourcesResponse_monitoredResourceIdentifiers :: Lens' ListMonitoredResourcesResponse [MonitoredResourceIdentifier]
Creating a Request
data ListMonitoredResources Source #
See: newListMonitoredResources
smart constructor.
ListMonitoredResources' | |
|
Instances
newListMonitoredResources :: ListMonitoredResources Source #
Create a value of ListMonitoredResources
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListMonitoredResources
, listMonitoredResources_filters
- Filters to determine which monitored resources you want to retrieve. You
can filter by resource type or resource permission status.
$sel:maxResults:ListMonitoredResources'
, listMonitoredResources_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
ListMonitoredResources
, listMonitoredResources_nextToken
- 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.
Request Lenses
listMonitoredResources_filters :: Lens' ListMonitoredResources (Maybe ListMonitoredResourcesFilters) Source #
Filters to determine which monitored resources you want to retrieve. You can filter by resource type or resource permission status.
listMonitoredResources_maxResults :: Lens' ListMonitoredResources (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
listMonitoredResources_nextToken :: Lens' ListMonitoredResources (Maybe Text) Source #
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.
Destructuring the Response
data ListMonitoredResourcesResponse Source #
See: newListMonitoredResourcesResponse
smart constructor.
ListMonitoredResourcesResponse' | |
|
Instances
newListMonitoredResourcesResponse Source #
Create a value of ListMonitoredResourcesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListMonitoredResources
, listMonitoredResourcesResponse_nextToken
- The pagination token to use to retrieve the next page of results for
this operation. If there are no more pages, this value is null.
$sel:httpStatus:ListMonitoredResourcesResponse'
, listMonitoredResourcesResponse_httpStatus
- The response's http status code.
$sel:monitoredResourceIdentifiers:ListMonitoredResourcesResponse'
, listMonitoredResourcesResponse_monitoredResourceIdentifiers
- Information about the resource that is being monitored, including the
name of the resource, the type of resource, and whether or not
permission is given to DevOps Guru to access that resource.
Response Lenses
listMonitoredResourcesResponse_nextToken :: Lens' ListMonitoredResourcesResponse (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
listMonitoredResourcesResponse_httpStatus :: Lens' ListMonitoredResourcesResponse Int Source #
The response's http status code.
listMonitoredResourcesResponse_monitoredResourceIdentifiers :: Lens' ListMonitoredResourcesResponse [MonitoredResourceIdentifier] Source #
Information about the resource that is being monitored, including the name of the resource, the type of resource, and whether or not permission is given to DevOps Guru to access that resource.