| 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 |
Amazonka.ApplicationInsights.ListConfigurationHistory
Description
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
- INFO: creating a new alarm or updating an alarm threshold.
- WARN: alarm not created due to insufficient data points used to predict thresholds.
- ERROR: alarm not created due to permission errors or exceeding quotas.
Synopsis
- data ListConfigurationHistory = ListConfigurationHistory' {}
- newListConfigurationHistory :: ListConfigurationHistory
- listConfigurationHistory_endTime :: Lens' ListConfigurationHistory (Maybe UTCTime)
- listConfigurationHistory_eventStatus :: Lens' ListConfigurationHistory (Maybe ConfigurationEventStatus)
- listConfigurationHistory_maxResults :: Lens' ListConfigurationHistory (Maybe Natural)
- listConfigurationHistory_nextToken :: Lens' ListConfigurationHistory (Maybe Text)
- listConfigurationHistory_resourceGroupName :: Lens' ListConfigurationHistory (Maybe Text)
- listConfigurationHistory_startTime :: Lens' ListConfigurationHistory (Maybe UTCTime)
- data ListConfigurationHistoryResponse = ListConfigurationHistoryResponse' {
- eventList :: Maybe [ConfigurationEvent]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListConfigurationHistoryResponse :: Int -> ListConfigurationHistoryResponse
- listConfigurationHistoryResponse_eventList :: Lens' ListConfigurationHistoryResponse (Maybe [ConfigurationEvent])
- listConfigurationHistoryResponse_nextToken :: Lens' ListConfigurationHistoryResponse (Maybe Text)
- listConfigurationHistoryResponse_httpStatus :: Lens' ListConfigurationHistoryResponse Int
Creating a Request
data ListConfigurationHistory Source #
See: newListConfigurationHistory smart constructor.
Constructors
| ListConfigurationHistory' | |
Fields
| |
Instances
newListConfigurationHistory :: ListConfigurationHistory Source #
Create a value of ListConfigurationHistory 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:
ListConfigurationHistory, listConfigurationHistory_endTime - The end time of the event.
ListConfigurationHistory, listConfigurationHistory_eventStatus - The status of the configuration update event. Possible values include
INFO, WARN, and ERROR.
$sel:maxResults:ListConfigurationHistory', listConfigurationHistory_maxResults - The maximum number of results returned by ListConfigurationHistory in
paginated output. When this parameter is used,
ListConfigurationHistory returns only MaxResults in a single page
along with a NextToken response element. The remaining results of the
initial request can be seen by sending another
ListConfigurationHistory request with the returned NextToken value.
If this parameter is not used, then ListConfigurationHistory returns
all results.
ListConfigurationHistory, listConfigurationHistory_nextToken - The NextToken value returned from a previous paginated
ListConfigurationHistory request where MaxResults was used and the
results exceeded the value of that parameter. Pagination continues from
the end of the previous results that returned the NextToken value.
This value is null when there are no more results to return.
ListConfigurationHistory, listConfigurationHistory_resourceGroupName - Resource group to which the application belongs.
ListConfigurationHistory, listConfigurationHistory_startTime - The start time of the event.
Request Lenses
listConfigurationHistory_endTime :: Lens' ListConfigurationHistory (Maybe UTCTime) Source #
The end time of the event.
listConfigurationHistory_eventStatus :: Lens' ListConfigurationHistory (Maybe ConfigurationEventStatus) Source #
The status of the configuration update event. Possible values include INFO, WARN, and ERROR.
listConfigurationHistory_maxResults :: Lens' ListConfigurationHistory (Maybe Natural) Source #
The maximum number of results returned by ListConfigurationHistory in
paginated output. When this parameter is used,
ListConfigurationHistory returns only MaxResults in a single page
along with a NextToken response element. The remaining results of the
initial request can be seen by sending another
ListConfigurationHistory request with the returned NextToken value.
If this parameter is not used, then ListConfigurationHistory returns
all results.
listConfigurationHistory_nextToken :: Lens' ListConfigurationHistory (Maybe Text) Source #
The NextToken value returned from a previous paginated
ListConfigurationHistory request where MaxResults was used and the
results exceeded the value of that parameter. Pagination continues from
the end of the previous results that returned the NextToken value.
This value is null when there are no more results to return.
listConfigurationHistory_resourceGroupName :: Lens' ListConfigurationHistory (Maybe Text) Source #
Resource group to which the application belongs.
listConfigurationHistory_startTime :: Lens' ListConfigurationHistory (Maybe UTCTime) Source #
The start time of the event.
Destructuring the Response
data ListConfigurationHistoryResponse Source #
See: newListConfigurationHistoryResponse smart constructor.
Constructors
| ListConfigurationHistoryResponse' | |
Fields
| |
Instances
newListConfigurationHistoryResponse Source #
Create a value of ListConfigurationHistoryResponse 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:eventList:ListConfigurationHistoryResponse', listConfigurationHistoryResponse_eventList - The list of configuration events and their corresponding details.
ListConfigurationHistory, listConfigurationHistoryResponse_nextToken - The NextToken value to include in a future ListConfigurationHistory
request. When the results of a ListConfigurationHistory request exceed
MaxResults, this value can be used to retrieve the next page of
results. This value is null when there are no more results to return.
$sel:httpStatus:ListConfigurationHistoryResponse', listConfigurationHistoryResponse_httpStatus - The response's http status code.
Response Lenses
listConfigurationHistoryResponse_eventList :: Lens' ListConfigurationHistoryResponse (Maybe [ConfigurationEvent]) Source #
The list of configuration events and their corresponding details.
listConfigurationHistoryResponse_nextToken :: Lens' ListConfigurationHistoryResponse (Maybe Text) Source #
The NextToken value to include in a future ListConfigurationHistory
request. When the results of a ListConfigurationHistory request exceed
MaxResults, this value can be used to retrieve the next page of
results. This value is null when there are no more results to return.
listConfigurationHistoryResponse_httpStatus :: Lens' ListConfigurationHistoryResponse Int Source #
The response's http status code.