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

Description

Lists the problems with your application.

Synopsis

Creating a Request

data ListProblems Source #

See: newListProblems smart constructor.

Constructors

ListProblems' 

Fields

  • resourceGroupName :: Maybe Text

    The name of the resource group.

  • startTime :: Maybe POSIX

    The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.

  • nextToken :: Maybe Text

    The token to request the next page of results.

  • endTime :: Maybe POSIX

    The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.

  • maxResults :: Maybe Natural

    The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

Instances

Instances details
Eq ListProblems Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

Read ListProblems Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

Show ListProblems Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

Generic ListProblems Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

Associated Types

type Rep ListProblems :: Type -> Type #

NFData ListProblems Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

Methods

rnf :: ListProblems -> () #

Hashable ListProblems Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

ToJSON ListProblems Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

AWSRequest ListProblems Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

Associated Types

type AWSResponse ListProblems #

ToHeaders ListProblems Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

ToPath ListProblems Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

ToQuery ListProblems Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

type Rep ListProblems Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

type Rep ListProblems = D1 ('MetaData "ListProblems" "Amazonka.ApplicationInsights.ListProblems" "libZSservicesZSamazonka-application-insightsZSamazonka-application-insights" 'False) (C1 ('MetaCons "ListProblems'" '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 "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 ListProblems Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

newListProblems :: ListProblems Source #

Create a value of ListProblems 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:ListProblems', listProblems_resourceGroupName - The name of the resource group.

$sel:startTime:ListProblems', listProblems_startTime - The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.

$sel:nextToken:ListProblems', listProblems_nextToken - The token to request the next page of results.

$sel:endTime:ListProblems', listProblems_endTime - The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.

$sel:maxResults:ListProblems', listProblems_maxResults - The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

Request Lenses

listProblems_resourceGroupName :: Lens' ListProblems (Maybe Text) Source #

The name of the resource group.

listProblems_startTime :: Lens' ListProblems (Maybe UTCTime) Source #

The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.

listProblems_nextToken :: Lens' ListProblems (Maybe Text) Source #

The token to request the next page of results.

listProblems_endTime :: Lens' ListProblems (Maybe UTCTime) Source #

The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.

listProblems_maxResults :: Lens' ListProblems (Maybe Natural) Source #

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

Destructuring the Response

data ListProblemsResponse Source #

See: newListProblemsResponse smart constructor.

Constructors

ListProblemsResponse' 

Fields

Instances

Instances details
Eq ListProblemsResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

Read ListProblemsResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

Show ListProblemsResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

Generic ListProblemsResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

Associated Types

type Rep ListProblemsResponse :: Type -> Type #

NFData ListProblemsResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

Methods

rnf :: ListProblemsResponse -> () #

type Rep ListProblemsResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.ListProblems

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

newListProblemsResponse Source #

Create a value of ListProblemsResponse 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:ListProblems', listProblemsResponse_nextToken - The token used to retrieve the next page of results. This value is null when there are no more results to return.

$sel:problemList:ListProblemsResponse', listProblemsResponse_problemList - The list of problems.

$sel:httpStatus:ListProblemsResponse', listProblemsResponse_httpStatus - The response's http status code.

Response Lenses

listProblemsResponse_nextToken :: Lens' ListProblemsResponse (Maybe Text) Source #

The token used to retrieve the next page of results. This value is null when there are no more results to return.