libZSservicesZSamazonka-rekognitionZSamazonka-rekognition
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.Rekognition.DescribeProjects

Description

Lists and gets information about your Amazon Rekognition Custom Labels projects.

This operation requires permissions to perform the rekognition:DescribeProjects action.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeProjects Source #

See: newDescribeProjects smart constructor.

Constructors

DescribeProjects' 

Fields

  • nextToken :: Maybe Text

    If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

  • maxResults :: Maybe Natural

    The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

Instances

Instances details
Eq DescribeProjects Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

Read DescribeProjects Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

Show DescribeProjects Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

Generic DescribeProjects Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

Associated Types

type Rep DescribeProjects :: Type -> Type #

NFData DescribeProjects Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

Methods

rnf :: DescribeProjects -> () #

Hashable DescribeProjects Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

ToJSON DescribeProjects Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

AWSPager DescribeProjects Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

AWSRequest DescribeProjects Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

Associated Types

type AWSResponse DescribeProjects #

ToHeaders DescribeProjects Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

ToPath DescribeProjects Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

ToQuery DescribeProjects Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

type Rep DescribeProjects Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

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

Defined in Amazonka.Rekognition.DescribeProjects

newDescribeProjects :: DescribeProjects Source #

Create a value of DescribeProjects 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:DescribeProjects', describeProjects_nextToken - If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

$sel:maxResults:DescribeProjects', describeProjects_maxResults - The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

Request Lenses

describeProjects_nextToken :: Lens' DescribeProjects (Maybe Text) Source #

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

describeProjects_maxResults :: Lens' DescribeProjects (Maybe Natural) Source #

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

Destructuring the Response

data DescribeProjectsResponse Source #

See: newDescribeProjectsResponse smart constructor.

Constructors

DescribeProjectsResponse' 

Fields

  • nextToken :: Maybe Text

    If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

  • projectDescriptions :: Maybe [ProjectDescription]

    A list of project descriptions. The list is sorted by the date and time the projects are created.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeProjectsResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

Read DescribeProjectsResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

Show DescribeProjectsResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

Generic DescribeProjectsResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

Associated Types

type Rep DescribeProjectsResponse :: Type -> Type #

NFData DescribeProjectsResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

type Rep DescribeProjectsResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DescribeProjects

type Rep DescribeProjectsResponse = D1 ('MetaData "DescribeProjectsResponse" "Amazonka.Rekognition.DescribeProjects" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "DescribeProjectsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "projectDescriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProjectDescription])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeProjectsResponse Source #

Create a value of DescribeProjectsResponse 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:DescribeProjects', describeProjectsResponse_nextToken - If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

$sel:projectDescriptions:DescribeProjectsResponse', describeProjectsResponse_projectDescriptions - A list of project descriptions. The list is sorted by the date and time the projects are created.

$sel:httpStatus:DescribeProjectsResponse', describeProjectsResponse_httpStatus - The response's http status code.

Response Lenses

describeProjectsResponse_nextToken :: Lens' DescribeProjectsResponse (Maybe Text) Source #

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

describeProjectsResponse_projectDescriptions :: Lens' DescribeProjectsResponse (Maybe [ProjectDescription]) Source #

A list of project descriptions. The list is sorted by the date and time the projects are created.