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 |
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_resourceGroupName :: Lens' ListConfigurationHistory (Maybe Text)
- listConfigurationHistory_startTime :: Lens' ListConfigurationHistory (Maybe UTCTime)
- listConfigurationHistory_eventStatus :: Lens' ListConfigurationHistory (Maybe ConfigurationEventStatus)
- listConfigurationHistory_nextToken :: Lens' ListConfigurationHistory (Maybe Text)
- listConfigurationHistory_endTime :: Lens' ListConfigurationHistory (Maybe UTCTime)
- listConfigurationHistory_maxResults :: Lens' ListConfigurationHistory (Maybe Natural)
- data ListConfigurationHistoryResponse = ListConfigurationHistoryResponse' {
- nextToken :: Maybe Text
- eventList :: Maybe [ConfigurationEvent]
- httpStatus :: Int
- newListConfigurationHistoryResponse :: Int -> ListConfigurationHistoryResponse
- listConfigurationHistoryResponse_nextToken :: Lens' ListConfigurationHistoryResponse (Maybe Text)
- listConfigurationHistoryResponse_eventList :: Lens' ListConfigurationHistoryResponse (Maybe [ConfigurationEvent])
- listConfigurationHistoryResponse_httpStatus :: Lens' ListConfigurationHistoryResponse Int
Creating a Request
data ListConfigurationHistory Source #
See: newListConfigurationHistory
smart constructor.
ListConfigurationHistory' | |
|
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:
$sel:resourceGroupName:ListConfigurationHistory'
, listConfigurationHistory_resourceGroupName
- Resource group to which the application belongs.
$sel:startTime:ListConfigurationHistory'
, listConfigurationHistory_startTime
- The start time of the event.
$sel:eventStatus:ListConfigurationHistory'
, listConfigurationHistory_eventStatus
- The status of the configuration update event. Possible values include
INFO, WARN, and ERROR.
$sel:nextToken: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.
$sel:endTime:ListConfigurationHistory'
, listConfigurationHistory_endTime
- The end time of the event.
$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.
Request Lenses
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.
listConfigurationHistory_eventStatus :: Lens' ListConfigurationHistory (Maybe ConfigurationEventStatus) Source #
The status of the configuration update event. Possible values include INFO, WARN, and ERROR.
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_endTime :: Lens' ListConfigurationHistory (Maybe UTCTime) Source #
The end time of the event.
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.
Destructuring the Response
data ListConfigurationHistoryResponse Source #
See: newListConfigurationHistoryResponse
smart constructor.
ListConfigurationHistoryResponse' | |
|
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:nextToken: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:eventList:ListConfigurationHistoryResponse'
, listConfigurationHistoryResponse_eventList
- The list of configuration events and their corresponding details.
$sel:httpStatus:ListConfigurationHistoryResponse'
, listConfigurationHistoryResponse_httpStatus
- The response's http status code.
Response Lenses
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_eventList :: Lens' ListConfigurationHistoryResponse (Maybe [ConfigurationEvent]) Source #
The list of configuration events and their corresponding details.
listConfigurationHistoryResponse_httpStatus :: Lens' ListConfigurationHistoryResponse Int Source #
The response's http status code.