amazonka-codestar-1.6.1: Amazon CodeStar 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.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 # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

Data ListResources Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

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 # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

Show ListResources Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

Generic ListResources Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

Associated Types

type Rep ListResources :: Type -> Type #

Hashable ListResources Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

ToJSON ListResources Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

AWSRequest ListResources Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

Associated Types

type Rs ListResources :: Type #

ToHeaders ListResources Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

ToPath ListResources Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

ToQuery ListResources Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

NFData ListResources Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

Methods

rnf :: ListResources -> () #

type Rep ListResources Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

type Rep ListResources = D1 (MetaData "ListResources" "Network.AWS.CodeStar.ListResources" "amazonka-codestar-1.6.1-CcYQrsIZo67Ij9mcPy3qxj" False) (C1 (MetaCons "ListResources'" PrefixI True) (S1 (MetaSel (Just "_lrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lrMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_lrProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListResources Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

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 # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

Data ListResourcesResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

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 # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

Show ListResourcesResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

Generic ListResourcesResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

Associated Types

type Rep ListResourcesResponse :: Type -> Type #

NFData ListResourcesResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

Methods

rnf :: ListResourcesResponse -> () #

type Rep ListResourcesResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.ListResources

type Rep ListResourcesResponse = D1 (MetaData "ListResourcesResponse" "Network.AWS.CodeStar.ListResources" "amazonka-codestar-1.6.1-CcYQrsIZo67Ij9mcPy3qxj" False) (C1 (MetaCons "ListResourcesResponse'" PrefixI True) (S1 (MetaSel (Just "_lrrsResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Resource])) :*: (S1 (MetaSel (Just "_lrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.