amazonka-cloudtrail-2.0: Amazon CloudTrail 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.CloudTrail.ListEventDataStores

Description

Returns information about all event data stores in the account, in the current region.

Synopsis

Creating a Request

data ListEventDataStores Source #

See: newListEventDataStores smart constructor.

Constructors

ListEventDataStores' 

Fields

Instances

Instances details
ToJSON ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

ToHeaders ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

ToPath ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

ToQuery ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

AWSRequest ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Associated Types

type AWSResponse ListEventDataStores #

Generic ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Associated Types

type Rep ListEventDataStores :: Type -> Type #

Read ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Show ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

NFData ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Methods

rnf :: ListEventDataStores -> () #

Eq ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Hashable ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

type AWSResponse ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

type Rep ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

type Rep ListEventDataStores = D1 ('MetaData "ListEventDataStores" "Amazonka.CloudTrail.ListEventDataStores" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ListEventDataStores'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListEventDataStores :: ListEventDataStores Source #

Create a value of ListEventDataStores 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:ListEventDataStores', listEventDataStores_maxResults - The maximum number of event data stores to display on a single page.

ListEventDataStores, listEventDataStores_nextToken - A token you can use to get the next page of event data store results.

Request Lenses

listEventDataStores_maxResults :: Lens' ListEventDataStores (Maybe Natural) Source #

The maximum number of event data stores to display on a single page.

listEventDataStores_nextToken :: Lens' ListEventDataStores (Maybe Text) Source #

A token you can use to get the next page of event data store results.

Destructuring the Response

data ListEventDataStoresResponse Source #

See: newListEventDataStoresResponse smart constructor.

Constructors

ListEventDataStoresResponse' 

Fields

Instances

Instances details
Generic ListEventDataStoresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Associated Types

type Rep ListEventDataStoresResponse :: Type -> Type #

Read ListEventDataStoresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Show ListEventDataStoresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

NFData ListEventDataStoresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Eq ListEventDataStoresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

type Rep ListEventDataStoresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

type Rep ListEventDataStoresResponse = D1 ('MetaData "ListEventDataStoresResponse" "Amazonka.CloudTrail.ListEventDataStores" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ListEventDataStoresResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventDataStores") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventDataStore])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListEventDataStoresResponse Source #

Create a value of ListEventDataStoresResponse 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:eventDataStores:ListEventDataStoresResponse', listEventDataStoresResponse_eventDataStores - Contains information about event data stores in the account, in the current region.

ListEventDataStores, listEventDataStoresResponse_nextToken - A token you can use to get the next page of results.

$sel:httpStatus:ListEventDataStoresResponse', listEventDataStoresResponse_httpStatus - The response's http status code.

Response Lenses

listEventDataStoresResponse_eventDataStores :: Lens' ListEventDataStoresResponse (Maybe [EventDataStore]) Source #

Contains information about event data stores in the account, in the current region.

listEventDataStoresResponse_nextToken :: Lens' ListEventDataStoresResponse (Maybe Text) Source #

A token you can use to get the next page of results.