amazonka-codestar-1.5.0: Amazon CodeStar SDK.

Copyright(c) 2013-2017 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.CodeStar.ListResources

Contents

Description

Lists resources associated with a project in AWS CodeStar.

Synopsis

Creating a Request

listResources Source #

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

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

  • lrNextToken - The continuation token for the next set of results, if the results cannot be returned in one response.
  • lrMaxResults - The maximum amount of data that can be contained in a single set of results.
  • lrProjectId - The ID of the project.

data ListResources Source #

See: listResources smart constructor.

Instances

Eq ListResources Source # 
Data ListResources Source # 

Methods

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

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

toConstr :: ListResources -> Constr #

dataTypeOf :: ListResources -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListResources Source # 
Show ListResources Source # 
Generic ListResources Source # 

Associated Types

type Rep ListResources :: * -> * #

Hashable ListResources Source # 
ToJSON ListResources Source # 
NFData ListResources Source # 

Methods

rnf :: ListResources -> () #

AWSRequest ListResources Source # 
ToQuery ListResources Source # 
ToPath ListResources Source # 
ToHeaders ListResources Source # 
type Rep ListResources Source # 
type Rep ListResources = D1 (MetaData "ListResources" "Network.AWS.CodeStar.ListResources" "amazonka-codestar-1.5.0-D0CgJ15zjGp6mJTHDAkzYz" False) (C1 (MetaCons "ListResources'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lrMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_lrProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ListResources Source # 

Request Lenses

lrNextToken :: Lens' ListResources (Maybe Text) Source #

The continuation token for the next set of results, if the results cannot be returned in one response.

lrMaxResults :: Lens' ListResources (Maybe Natural) Source #

The maximum amount of data that can be contained in a single set of results.

lrProjectId :: Lens' ListResources Text Source #

The ID of the project.

Destructuring the Response

listResourcesResponse Source #

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

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

  • lrrsResources - An array of resources associated with the project.
  • lrrsNextToken - The continuation token to use when requesting the next set of results, if there are more results to be returned.
  • lrrsResponseStatus - -- | The response status code.

data ListResourcesResponse Source #

See: listResourcesResponse smart constructor.

Instances

Eq ListResourcesResponse Source # 
Data ListResourcesResponse Source # 

Methods

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

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

toConstr :: ListResourcesResponse -> Constr #

dataTypeOf :: ListResourcesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListResourcesResponse Source # 
Show ListResourcesResponse Source # 
Generic ListResourcesResponse Source # 
NFData ListResourcesResponse Source # 

Methods

rnf :: ListResourcesResponse -> () #

type Rep ListResourcesResponse Source # 
type Rep ListResourcesResponse = D1 (MetaData "ListResourcesResponse" "Network.AWS.CodeStar.ListResources" "amazonka-codestar-1.5.0-D0CgJ15zjGp6mJTHDAkzYz" False) (C1 (MetaCons "ListResourcesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lrrsResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Resource]))) ((:*:) (S1 (MetaSel (Just Symbol "_lrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lrrsResources :: Lens' ListResourcesResponse [Resource] Source #

An array of resources associated with the project.

lrrsNextToken :: Lens' ListResourcesResponse (Maybe Text) Source #

The continuation token to use when requesting the next set of results, if there are more results to be returned.

lrrsResponseStatus :: Lens' ListResourcesResponse Int Source #

  • - | The response status code.