amazonka-auditmanager-2.0: Amazon Audit Manager 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.AuditManager.ListNotifications

Description

Returns a list of all Audit Manager notifications.

Synopsis

Creating a Request

data ListNotifications Source #

See: newListNotifications smart constructor.

Constructors

ListNotifications' 

Fields

Instances

Instances details
ToHeaders ListNotifications Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

ToPath ListNotifications Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

ToQuery ListNotifications Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

AWSRequest ListNotifications Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

Associated Types

type AWSResponse ListNotifications #

Generic ListNotifications Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

Associated Types

type Rep ListNotifications :: Type -> Type #

Read ListNotifications Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

Show ListNotifications Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

NFData ListNotifications Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

Methods

rnf :: ListNotifications -> () #

Eq ListNotifications Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

Hashable ListNotifications Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

type AWSResponse ListNotifications Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

type Rep ListNotifications Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

type Rep ListNotifications = D1 ('MetaData "ListNotifications" "Amazonka.AuditManager.ListNotifications" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" 'False) (C1 ('MetaCons "ListNotifications'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListNotifications :: ListNotifications Source #

Create a value of ListNotifications 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:maxResults:ListNotifications', listNotifications_maxResults - Represents the maximum number of results on a page or for an API request call.

ListNotifications, listNotifications_nextToken - The pagination token that's used to fetch the next set of results.

Request Lenses

listNotifications_maxResults :: Lens' ListNotifications (Maybe Natural) Source #

Represents the maximum number of results on a page or for an API request call.

listNotifications_nextToken :: Lens' ListNotifications (Maybe Text) Source #

The pagination token that's used to fetch the next set of results.

Destructuring the Response

data ListNotificationsResponse Source #

See: newListNotificationsResponse smart constructor.

Constructors

ListNotificationsResponse' 

Fields

Instances

Instances details
Generic ListNotificationsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

Associated Types

type Rep ListNotificationsResponse :: Type -> Type #

Read ListNotificationsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

Show ListNotificationsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

NFData ListNotificationsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

Eq ListNotificationsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

type Rep ListNotificationsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.ListNotifications

type Rep ListNotificationsResponse = D1 ('MetaData "ListNotificationsResponse" "Amazonka.AuditManager.ListNotifications" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" 'False) (C1 ('MetaCons "ListNotificationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "notifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Notification])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListNotificationsResponse Source #

Create a value of ListNotificationsResponse 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:

ListNotifications, listNotificationsResponse_nextToken - The pagination token that's used to fetch the next set of results.

$sel:notifications:ListNotificationsResponse', listNotificationsResponse_notifications - The returned list of notifications.

$sel:httpStatus:ListNotificationsResponse', listNotificationsResponse_httpStatus - The response's http status code.

Response Lenses

listNotificationsResponse_nextToken :: Lens' ListNotificationsResponse (Maybe Text) Source #

The pagination token that's used to fetch the next set of results.