libZSservicesZSamazonka-ssmZSamazonka-ssm
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.SSM.ListOpsItemEvents

Description

Returns a list of all OpsItem events in the current Amazon Web Services Region and Amazon Web Services account. You can limit the results to events associated with specific OpsItems by specifying a filter.

This operation returns paginated results.

Synopsis

Creating a Request

data ListOpsItemEvents Source #

See: newListOpsItemEvents smart constructor.

Constructors

ListOpsItemEvents' 

Fields

  • filters :: Maybe [OpsItemEventFilter]

    One or more OpsItem filters. Use a filter to return a more specific list of results.

  • nextToken :: Maybe Text

    A token to start the list. Use this token to get the next set of results.

  • maxResults :: Maybe Natural

    The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

Instances

Instances details
Eq ListOpsItemEvents Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

Read ListOpsItemEvents Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

Show ListOpsItemEvents Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

Generic ListOpsItemEvents Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

Associated Types

type Rep ListOpsItemEvents :: Type -> Type #

NFData ListOpsItemEvents Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

Methods

rnf :: ListOpsItemEvents -> () #

Hashable ListOpsItemEvents Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

ToJSON ListOpsItemEvents Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

AWSPager ListOpsItemEvents Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

AWSRequest ListOpsItemEvents Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

Associated Types

type AWSResponse ListOpsItemEvents #

ToHeaders ListOpsItemEvents Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

ToPath ListOpsItemEvents Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

ToQuery ListOpsItemEvents Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

type Rep ListOpsItemEvents Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

type Rep ListOpsItemEvents = D1 ('MetaData "ListOpsItemEvents" "Amazonka.SSM.ListOpsItemEvents" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "ListOpsItemEvents'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OpsItemEventFilter])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListOpsItemEvents Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

newListOpsItemEvents :: ListOpsItemEvents Source #

Create a value of ListOpsItemEvents 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:filters:ListOpsItemEvents', listOpsItemEvents_filters - One or more OpsItem filters. Use a filter to return a more specific list of results.

$sel:nextToken:ListOpsItemEvents', listOpsItemEvents_nextToken - A token to start the list. Use this token to get the next set of results.

$sel:maxResults:ListOpsItemEvents', listOpsItemEvents_maxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

Request Lenses

listOpsItemEvents_filters :: Lens' ListOpsItemEvents (Maybe [OpsItemEventFilter]) Source #

One or more OpsItem filters. Use a filter to return a more specific list of results.

listOpsItemEvents_nextToken :: Lens' ListOpsItemEvents (Maybe Text) Source #

A token to start the list. Use this token to get the next set of results.

listOpsItemEvents_maxResults :: Lens' ListOpsItemEvents (Maybe Natural) Source #

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

Destructuring the Response

data ListOpsItemEventsResponse Source #

See: newListOpsItemEventsResponse smart constructor.

Constructors

ListOpsItemEventsResponse' 

Fields

Instances

Instances details
Eq ListOpsItemEventsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

Read ListOpsItemEventsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

Show ListOpsItemEventsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

Generic ListOpsItemEventsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

Associated Types

type Rep ListOpsItemEventsResponse :: Type -> Type #

NFData ListOpsItemEventsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

type Rep ListOpsItemEventsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemEvents

type Rep ListOpsItemEventsResponse = D1 ('MetaData "ListOpsItemEventsResponse" "Amazonka.SSM.ListOpsItemEvents" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "ListOpsItemEventsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "summaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OpsItemEventSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListOpsItemEventsResponse Source #

Create a value of ListOpsItemEventsResponse 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:ListOpsItemEvents', listOpsItemEventsResponse_nextToken - The token for the next set of items to return. Use this token to get the next set of results.

$sel:summaries:ListOpsItemEventsResponse', listOpsItemEventsResponse_summaries - A list of event information for the specified OpsItems.

$sel:httpStatus:ListOpsItemEventsResponse', listOpsItemEventsResponse_httpStatus - The response's http status code.

Response Lenses

listOpsItemEventsResponse_nextToken :: Lens' ListOpsItemEventsResponse (Maybe Text) Source #

The token for the next set of items to return. Use this token to get the next set of results.

listOpsItemEventsResponse_summaries :: Lens' ListOpsItemEventsResponse (Maybe [OpsItemEventSummary]) Source #

A list of event information for the specified OpsItems.