libZSservicesZSamazonka-application-insightsZSamazonka-application-insights
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

Creating a Request

data ListConfigurationHistory Source #

See: newListConfigurationHistory smart constructor.

Constructors

ListConfigurationHistory' 

Fields

  • resourceGroupName :: Maybe Text

    Resource group to which the application belongs.

  • startTime :: Maybe POSIX

    The start time of the event.

  • eventStatus :: Maybe ConfigurationEventStatus

    The status of the configuration update event. Possible values include INFO, WARN, and ERROR.

  • nextToken :: Maybe Text

    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.

  • endTime :: Maybe POSIX

    The end time of the event.

  • maxResults :: Maybe Natural

    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.

Instances

Instances details
Eq ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

Read ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

Show ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

Generic ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

Associated Types

type Rep ListConfigurationHistory :: Type -> Type #

NFData ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

Hashable ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

ToJSON ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

AWSRequest ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

ToHeaders ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

ToPath ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

ToQuery ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

type Rep ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

type Rep ListConfigurationHistory = D1 ('MetaData "ListConfigurationHistory" "Amazonka.ApplicationInsights.ListConfigurationHistory" "libZSservicesZSamazonka-application-insightsZSamazonka-application-insights" 'False) (C1 ('MetaCons "ListConfigurationHistory'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "eventStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConfigurationEventStatus)))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))
type AWSResponse ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

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_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_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.

Constructors

ListConfigurationHistoryResponse' 

Fields

  • nextToken :: Maybe Text

    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.

  • eventList :: Maybe [ConfigurationEvent]

    The list of configuration events and their corresponding details.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListConfigurationHistoryResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

Read ListConfigurationHistoryResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

Show ListConfigurationHistoryResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

Generic ListConfigurationHistoryResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

Associated Types

type Rep ListConfigurationHistoryResponse :: Type -> Type #

NFData ListConfigurationHistoryResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

type Rep ListConfigurationHistoryResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

type Rep ListConfigurationHistoryResponse = D1 ('MetaData "ListConfigurationHistoryResponse" "Amazonka.ApplicationInsights.ListConfigurationHistory" "libZSservicesZSamazonka-application-insightsZSamazonka-application-insights" 'False) (C1 ('MetaCons "ListConfigurationHistoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "eventList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ConfigurationEvent])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.