libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru
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.DevOpsGuru.ListEvents

Description

Returns a list of the events emitted by the resources that are evaluated by DevOps Guru. You can use filters to specify which events are returned.

This operation returns paginated results.

Synopsis

Creating a Request

data ListEvents Source #

See: newListEvents smart constructor.

Constructors

ListEvents' 

Fields

  • nextToken :: Maybe Text

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

  • maxResults :: Maybe Natural

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

  • filters :: ListEventsFilters

    A ListEventsFilters object used to specify which events to return.

Instances

Instances details
Eq ListEvents Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

Read ListEvents Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

Show ListEvents Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

Generic ListEvents Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

Associated Types

type Rep ListEvents :: Type -> Type #

NFData ListEvents Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

Methods

rnf :: ListEvents -> () #

Hashable ListEvents Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

ToJSON ListEvents Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

AWSPager ListEvents Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

AWSRequest ListEvents Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

Associated Types

type AWSResponse ListEvents #

ToHeaders ListEvents Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

Methods

toHeaders :: ListEvents -> [Header] #

ToPath ListEvents Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

ToQuery ListEvents Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

type Rep ListEvents Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

type Rep ListEvents = D1 ('MetaData "ListEvents" "Amazonka.DevOpsGuru.ListEvents" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "ListEvents'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ListEventsFilters))))
type AWSResponse ListEvents Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

newListEvents Source #

Create a value of ListEvents 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:ListEvents', listEvents_nextToken - The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

$sel:maxResults:ListEvents', listEvents_maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

$sel:filters:ListEvents', listEvents_filters - A ListEventsFilters object used to specify which events to return.

Request Lenses

listEvents_nextToken :: Lens' ListEvents (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

listEvents_maxResults :: Lens' ListEvents (Maybe Natural) Source #

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

listEvents_filters :: Lens' ListEvents ListEventsFilters Source #

A ListEventsFilters object used to specify which events to return.

Destructuring the Response

data ListEventsResponse Source #

See: newListEventsResponse smart constructor.

Constructors

ListEventsResponse' 

Fields

  • nextToken :: Maybe Text

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

  • httpStatus :: Int

    The response's http status code.

  • events :: [Event]

    A list of the requested events.

Instances

Instances details
Eq ListEventsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

Read ListEventsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

Show ListEventsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

Generic ListEventsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

Associated Types

type Rep ListEventsResponse :: Type -> Type #

NFData ListEventsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

Methods

rnf :: ListEventsResponse -> () #

type Rep ListEventsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListEvents

type Rep ListEventsResponse = D1 ('MetaData "ListEventsResponse" "Amazonka.DevOpsGuru.ListEvents" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "ListEventsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "events") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Event]))))

newListEventsResponse Source #

Create a value of ListEventsResponse 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:ListEvents', listEventsResponse_nextToken - The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

$sel:httpStatus:ListEventsResponse', listEventsResponse_httpStatus - The response's http status code.

$sel:events:ListEventsResponse', listEventsResponse_events - A list of the requested events.

Response Lenses

listEventsResponse_nextToken :: Lens' ListEventsResponse (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

listEventsResponse_events :: Lens' ListEventsResponse [Event] Source #

A list of the requested events.