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.GetLabels

Description

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

Synopsis

Creating a Request

data GetLabels Source #

See: newGetLabels smart constructor.

Constructors

GetLabels' 

Fields

Instances

Instances details
Eq GetLabels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

Read GetLabels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

Show GetLabels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

Generic GetLabels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

Associated Types

type Rep GetLabels :: Type -> Type #

NFData GetLabels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

Methods

rnf :: GetLabels -> () #

Hashable GetLabels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

ToJSON GetLabels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

AWSRequest GetLabels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

Associated Types

type AWSResponse GetLabels #

ToHeaders GetLabels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

Methods

toHeaders :: GetLabels -> [Header] #

ToPath GetLabels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

ToQuery GetLabels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

type Rep GetLabels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

type Rep GetLabels = D1 ('MetaData "GetLabels" "Amazonka.FraudDetector.GetLabels" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "GetLabels'" '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 GetLabels Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

newGetLabels :: GetLabels Source #

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

$sel:name:GetLabels', getLabels_name - The name of the label or labels to get.

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

Request Lenses

getLabels_nextToken :: Lens' GetLabels (Maybe Text) Source #

The next token for the subsequent request.

getLabels_name :: Lens' GetLabels (Maybe Text) Source #

The name of the label or labels to get.

getLabels_maxResults :: Lens' GetLabels (Maybe Natural) Source #

The maximum number of objects to return for the request.

Destructuring the Response

data GetLabelsResponse Source #

See: newGetLabelsResponse smart constructor.

Constructors

GetLabelsResponse' 

Fields

Instances

Instances details
Eq GetLabelsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

Read GetLabelsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

Show GetLabelsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

Generic GetLabelsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

Associated Types

type Rep GetLabelsResponse :: Type -> Type #

NFData GetLabelsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

Methods

rnf :: GetLabelsResponse -> () #

type Rep GetLabelsResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetLabels

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

newGetLabelsResponse Source #

Create a value of GetLabelsResponse 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:GetLabels', getLabelsResponse_nextToken - The next page token.

$sel:labels:GetLabelsResponse', getLabelsResponse_labels - An array of labels.

$sel:httpStatus:GetLabelsResponse', getLabelsResponse_httpStatus - The response's http status code.

Response Lenses

getLabelsResponse_httpStatus :: Lens' GetLabelsResponse Int Source #

The response's http status code.