libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector
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.FraudDetector.GetEventTypes

Description

Gets all event types or a specific event type if name is provided. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEventTypesResponse as part of your request. A null pagination token fetches the records from the beginning.

Synopsis

Creating a Request

data GetEventTypes Source #

See: newGetEventTypes smart constructor.

Constructors

GetEventTypes' 

Fields

Instances

Instances details
Eq GetEventTypes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

Read GetEventTypes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

Show GetEventTypes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

Generic GetEventTypes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

Associated Types

type Rep GetEventTypes :: Type -> Type #

NFData GetEventTypes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

Methods

rnf :: GetEventTypes -> () #

Hashable GetEventTypes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

ToJSON GetEventTypes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

AWSRequest GetEventTypes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

Associated Types

type AWSResponse GetEventTypes #

ToHeaders GetEventTypes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

ToPath GetEventTypes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

ToQuery GetEventTypes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

type Rep GetEventTypes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

type Rep GetEventTypes = D1 ('MetaData "GetEventTypes" "Amazonka.FraudDetector.GetEventTypes" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "GetEventTypes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse GetEventTypes Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

newGetEventTypes :: GetEventTypes Source #

Create a value of GetEventTypes 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:GetEventTypes', getEventTypes_nextToken - The next token for the subsequent request.

$sel:name:GetEventTypes', getEventTypes_name - The name.

$sel:maxResults:GetEventTypes', getEventTypes_maxResults - The maximum number of objects to return for the request.

Request Lenses

getEventTypes_nextToken :: Lens' GetEventTypes (Maybe Text) Source #

The next token for the subsequent request.

getEventTypes_maxResults :: Lens' GetEventTypes (Maybe Natural) Source #

The maximum number of objects to return for the request.

Destructuring the Response

data GetEventTypesResponse Source #

See: newGetEventTypesResponse smart constructor.

Constructors

GetEventTypesResponse' 

Fields

Instances

Instances details
Eq GetEventTypesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

Show GetEventTypesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

Generic GetEventTypesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

Associated Types

type Rep GetEventTypesResponse :: Type -> Type #

NFData GetEventTypesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

Methods

rnf :: GetEventTypesResponse -> () #

type Rep GetEventTypesResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventTypes

type Rep GetEventTypesResponse = D1 ('MetaData "GetEventTypesResponse" "Amazonka.FraudDetector.GetEventTypes" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "GetEventTypesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Sensitive EventType])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetEventTypesResponse Source #

Create a value of GetEventTypesResponse 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:eventTypes:GetEventTypesResponse', getEventTypesResponse_eventTypes - An array of event types.

$sel:nextToken:GetEventTypes', getEventTypesResponse_nextToken - The next page token.

$sel:httpStatus:GetEventTypesResponse', getEventTypesResponse_httpStatus - The response's http status code.

Response Lenses