Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_syncName :: Lens' GetOpsSummary (Maybe Text)
- getOpsSummary_filters :: Lens' GetOpsSummary (Maybe (NonEmpty OpsFilter))
- getOpsSummary_resultAttributes :: Lens' GetOpsSummary (Maybe (NonEmpty OpsResultAttribute))
- getOpsSummary_nextToken :: Lens' GetOpsSummary (Maybe Text)
- getOpsSummary_maxResults :: Lens' GetOpsSummary (Maybe Natural)
- 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:
$sel:aggregators:GetOpsSummary'
, getOpsSummary_aggregators
- Optional aggregators that return counts of OpsData based on one or more
expressions.
$sel:syncName:GetOpsSummary'
, getOpsSummary_syncName
- Specify the name of a resource data sync to get.
$sel:filters:GetOpsSummary'
, getOpsSummary_filters
- Optional filters used to scope down the returned OpsData.
$sel:resultAttributes:GetOpsSummary'
, getOpsSummary_resultAttributes
- The OpsData data type to return.
$sel:nextToken:GetOpsSummary'
, getOpsSummary_nextToken
- A token to start the list. Use this token to get the next set of
results.
$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.
Request Lenses
getOpsSummary_aggregators :: Lens' GetOpsSummary (Maybe (NonEmpty OpsAggregator)) Source #
Optional aggregators that return counts of OpsData based on one or more expressions.
getOpsSummary_syncName :: Lens' GetOpsSummary (Maybe Text) Source #
Specify the name of a resource data sync to get.
getOpsSummary_filters :: Lens' GetOpsSummary (Maybe (NonEmpty OpsFilter)) Source #
Optional filters used to scope down the returned OpsData.
getOpsSummary_resultAttributes :: Lens' GetOpsSummary (Maybe (NonEmpty OpsResultAttribute)) Source #
The OpsData data type to return.
getOpsSummary_nextToken :: Lens' GetOpsSummary (Maybe Text) Source #
A token to start the list. Use this token to get the next set of results.
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.
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.
$sel:nextToken: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.