amazonka-devicefarm-1.6.0: Amazon Device Farm SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DeviceFarm.ListProjects

Contents

Description

Gets information about projects.

This operation returns paginated results.

Synopsis

Creating a Request

listProjects :: ListProjects #

Creates a value of ListProjects with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lpArn - 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.
  • lpNextToken - 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.

data ListProjects #

Represents a request to the list projects operation.

See: listProjects smart constructor.

Instances

Eq ListProjects # 
Data ListProjects # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListProjects -> c ListProjects #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListProjects #

toConstr :: ListProjects -> Constr #

dataTypeOf :: ListProjects -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListProjects) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListProjects) #

gmapT :: (forall b. Data b => b -> b) -> ListProjects -> ListProjects #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListProjects -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListProjects -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListProjects -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListProjects -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListProjects -> m ListProjects #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListProjects -> m ListProjects #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListProjects -> m ListProjects #

Read ListProjects # 
Show ListProjects # 
Generic ListProjects # 

Associated Types

type Rep ListProjects :: * -> * #

Hashable ListProjects # 
ToJSON ListProjects # 
NFData ListProjects # 

Methods

rnf :: ListProjects -> () #

AWSPager ListProjects # 
AWSRequest ListProjects # 
ToHeaders ListProjects # 
ToPath ListProjects # 
ToQuery ListProjects # 
type Rep ListProjects # 
type Rep ListProjects = D1 * (MetaData "ListProjects" "Network.AWS.DeviceFarm.ListProjects" "amazonka-devicefarm-1.6.0-1RE2Lvq2vKT750159tw1bo" False) (C1 * (MetaCons "ListProjects'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lpArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lpNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))
type Rs ListProjects # 

Request Lenses

lpArn :: Lens' ListProjects (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.

lpNextToken :: Lens' ListProjects (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.

Destructuring the Response

listProjectsResponse #

Creates a value of ListProjectsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lprsNextToken - If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
  • lprsProjects - Information about the projects.
  • lprsResponseStatus - -- | The response status code.

data ListProjectsResponse #

Represents the result of a list projects request.

See: listProjectsResponse smart constructor.

Instances

Eq ListProjectsResponse # 
Data ListProjectsResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListProjectsResponse -> c ListProjectsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListProjectsResponse #

toConstr :: ListProjectsResponse -> Constr #

dataTypeOf :: ListProjectsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListProjectsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListProjectsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListProjectsResponse -> ListProjectsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListProjectsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListProjectsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListProjectsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListProjectsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListProjectsResponse -> m ListProjectsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListProjectsResponse -> m ListProjectsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListProjectsResponse -> m ListProjectsResponse #

Read ListProjectsResponse # 
Show ListProjectsResponse # 
Generic ListProjectsResponse # 
NFData ListProjectsResponse # 

Methods

rnf :: ListProjectsResponse -> () #

type Rep ListProjectsResponse # 
type Rep ListProjectsResponse = D1 * (MetaData "ListProjectsResponse" "Network.AWS.DeviceFarm.ListProjects" "amazonka-devicefarm-1.6.0-1RE2Lvq2vKT750159tw1bo" False) (C1 * (MetaCons "ListProjectsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lprsProjects") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Project]))) (S1 * (MetaSel (Just Symbol "_lprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lprsNextToken :: Lens' ListProjectsResponse (Maybe Text) #

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

lprsProjects :: Lens' ListProjectsResponse [Project] #

Information about the projects.

lprsResponseStatus :: Lens' ListProjectsResponse Int #

  • - | The response status code.