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 |
View a summary of operations metadata (OpsData) based on specified filters and aggregators. OpsData can include information about Amazon Web Services Systems Manager OpsCenter operational workitems (OpsItems) as well as information about any Amazon Web Services resource or service configured to report OpsData to Amazon Web Services Systems Manager Explorer.
This operation returns paginated results.
Synopsis
- data GetOpsSummary = GetOpsSummary' {}
- newGetOpsSummary :: GetOpsSummary
- getOpsSummary_aggregators :: Lens' GetOpsSummary (Maybe (NonEmpty OpsAggregator))
- getOpsSummary_filters :: Lens' GetOpsSummary (Maybe (NonEmpty OpsFilter))
- getOpsSummary_maxResults :: Lens' GetOpsSummary (Maybe Natural)
- getOpsSummary_nextToken :: Lens' GetOpsSummary (Maybe Text)
- getOpsSummary_resultAttributes :: Lens' GetOpsSummary (Maybe (NonEmpty OpsResultAttribute))
- getOpsSummary_syncName :: Lens' GetOpsSummary (Maybe Text)
- data GetOpsSummaryResponse = GetOpsSummaryResponse' {}
- newGetOpsSummaryResponse :: Int -> GetOpsSummaryResponse
- getOpsSummaryResponse_entities :: Lens' GetOpsSummaryResponse (Maybe [OpsEntity])
- getOpsSummaryResponse_nextToken :: Lens' GetOpsSummaryResponse (Maybe Text)
- getOpsSummaryResponse_httpStatus :: Lens' GetOpsSummaryResponse Int
Creating a Request
data GetOpsSummary Source #
See: newGetOpsSummary
smart constructor.
GetOpsSummary' | |
|
Instances
newGetOpsSummary :: GetOpsSummary Source #
Create a value of GetOpsSummary
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:
GetOpsSummary
, getOpsSummary_aggregators
- Optional aggregators that return counts of OpsData based on one or more
expressions.
GetOpsSummary
, getOpsSummary_filters
- Optional filters used to scope down the returned OpsData.
$sel:maxResults:GetOpsSummary'
, getOpsSummary_maxResults
- The maximum number of items to return for this call. The call also
returns a token that you can specify in a subsequent call to get the
next set of results.
GetOpsSummary
, getOpsSummary_nextToken
- A token to start the list. Use this token to get the next set of
results.
$sel:resultAttributes:GetOpsSummary'
, getOpsSummary_resultAttributes
- The OpsData data type to return.
GetOpsSummary
, getOpsSummary_syncName
- Specify the name of a resource data sync to get.
Request Lenses
getOpsSummary_aggregators :: Lens' GetOpsSummary (Maybe (NonEmpty OpsAggregator)) Source #
Optional aggregators that return counts of OpsData based on one or more expressions.
getOpsSummary_filters :: Lens' GetOpsSummary (Maybe (NonEmpty OpsFilter)) Source #
Optional filters used to scope down the returned OpsData.
getOpsSummary_maxResults :: Lens' GetOpsSummary (Maybe Natural) Source #
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
getOpsSummary_nextToken :: Lens' GetOpsSummary (Maybe Text) Source #
A token to start the list. Use this token to get the next set of results.
getOpsSummary_resultAttributes :: Lens' GetOpsSummary (Maybe (NonEmpty OpsResultAttribute)) Source #
The OpsData data type to return.
getOpsSummary_syncName :: Lens' GetOpsSummary (Maybe Text) Source #
Specify the name of a resource data sync to get.
Destructuring the Response
data GetOpsSummaryResponse Source #
See: newGetOpsSummaryResponse
smart constructor.
Instances
newGetOpsSummaryResponse Source #
Create a value of GetOpsSummaryResponse
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:
$sel:entities:GetOpsSummaryResponse'
, getOpsSummaryResponse_entities
- The list of aggregated details and filtered OpsData.
GetOpsSummary
, getOpsSummaryResponse_nextToken
- The token for the next set of items to return. Use this token to get the
next set of results.
$sel:httpStatus:GetOpsSummaryResponse'
, getOpsSummaryResponse_httpStatus
- The response's http status code.
Response Lenses
getOpsSummaryResponse_entities :: Lens' GetOpsSummaryResponse (Maybe [OpsEntity]) Source #
The list of aggregated details and filtered OpsData.
getOpsSummaryResponse_nextToken :: Lens' GetOpsSummaryResponse (Maybe Text) Source #
The token for the next set of items to return. Use this token to get the next set of results.
getOpsSummaryResponse_httpStatus :: Lens' GetOpsSummaryResponse Int Source #
The response's http status code.