amazonka-application-insights-2.0: Amazon CloudWatch Application Insights SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • endTime :: Maybe POSIX

    The end time of the event.

  • eventStatus :: Maybe ConfigurationEventStatus

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

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

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

  • resourceGroupName :: Maybe Text

    Resource group to which the application belongs.

  • startTime :: Maybe POSIX

    The start time of the event.

Instances

Instances details
ToJSON 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

AWSRequest 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 #

Read ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

Show ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

NFData ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

Eq ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

Hashable ListConfigurationHistory Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

type AWSResponse 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" "amazonka-application-insights-2.0-HJv8DARmsLI1hpMeOEjP38" 'False) (C1 ('MetaCons "ListConfigurationHistory'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "eventStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConfigurationEventStatus)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

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

Destructuring the Response

data ListConfigurationHistoryResponse Source #

See: newListConfigurationHistoryResponse smart constructor.

Constructors

ListConfigurationHistoryResponse' 

Fields

  • eventList :: Maybe [ConfigurationEvent]

    The list of configuration events and their corresponding details.

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListConfigurationHistoryResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

Associated Types

type Rep ListConfigurationHistoryResponse :: Type -> Type #

Read ListConfigurationHistoryResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

Show ListConfigurationHistoryResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

NFData ListConfigurationHistoryResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListConfigurationHistory

Eq 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" "amazonka-application-insights-2.0-HJv8DARmsLI1hpMeOEjP38" 'False) (C1 ('MetaCons "ListConfigurationHistoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ConfigurationEvent])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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: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.