libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
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.DeviceFarm.ListProjects

Description

Gets information about projects.

This operation returns paginated results.

Synopsis

Creating a Request

data ListProjects Source #

Represents a request to the list projects operation.

See: newListProjects smart constructor.

Constructors

ListProjects' 

Fields

  • arn :: Maybe Text

    Optional. If no Amazon Resource Name (ARN) is specified, then AWS Device Farm returns a list of all projects for the AWS account. You can also specify a project ARN.

  • nextToken :: Maybe Text

    An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

Instances

Instances details
Eq ListProjects Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

Read ListProjects Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

Show ListProjects Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

Generic ListProjects Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

Associated Types

type Rep ListProjects :: Type -> Type #

NFData ListProjects Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

Methods

rnf :: ListProjects -> () #

Hashable ListProjects Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

ToJSON ListProjects Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

AWSPager ListProjects Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

AWSRequest ListProjects Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

Associated Types

type AWSResponse ListProjects #

ToHeaders ListProjects Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

ToPath ListProjects Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

ToQuery ListProjects Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

type Rep ListProjects Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

type Rep ListProjects = D1 ('MetaData "ListProjects" "Amazonka.DeviceFarm.ListProjects" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "ListProjects'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse ListProjects Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

newListProjects :: ListProjects Source #

Create a value of ListProjects 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:arn:ListProjects', listProjects_arn - Optional. If no Amazon Resource Name (ARN) is specified, then AWS Device Farm returns a list of all projects for the AWS account. You can also specify a project ARN.

$sel:nextToken:ListProjects', listProjects_nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

Request Lenses

listProjects_arn :: Lens' ListProjects (Maybe Text) Source #

Optional. If no Amazon Resource Name (ARN) is specified, then AWS Device Farm returns a list of all projects for the AWS account. You can also specify a project ARN.

listProjects_nextToken :: Lens' ListProjects (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

Destructuring the Response

data ListProjectsResponse Source #

Represents the result of a list projects request.

See: newListProjectsResponse smart constructor.

Constructors

ListProjectsResponse' 

Fields

  • nextToken :: Maybe Text

    If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.

  • projects :: Maybe [Project]

    Information about the projects.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListProjectsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

Read ListProjectsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

Show ListProjectsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

Generic ListProjectsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

Associated Types

type Rep ListProjectsResponse :: Type -> Type #

NFData ListProjectsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

Methods

rnf :: ListProjectsResponse -> () #

type Rep ListProjectsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListProjects

type Rep ListProjectsResponse = D1 ('MetaData "ListProjectsResponse" "Amazonka.DeviceFarm.ListProjects" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "ListProjectsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "projects") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Project])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListProjectsResponse Source #

Create a value of ListProjectsResponse 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:ListProjects', listProjectsResponse_nextToken - If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.

$sel:projects:ListProjectsResponse', listProjectsResponse_projects - Information about the projects.

$sel:httpStatus:ListProjectsResponse', listProjectsResponse_httpStatus - The response's http status code.

Response Lenses

listProjectsResponse_nextToken :: Lens' ListProjectsResponse (Maybe Text) Source #

If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.