amazonka-cloudformation-1.4.5: Amazon CloudFormation SDK.

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

Network.AWS.CloudFormation.ListStackResources

Contents

Description

Returns descriptions of all resources of the specified stack.

For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been deleted.

This operation returns paginated results.

Synopsis

Creating a Request

listStackResources #

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

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

  • lsrNextToken - A string that identifies the next page of stack resources that you want to retrieve.
  • lsrStackName - The name or the unique stack ID that is associated with the stack, which are not always interchangeable: * Running stacks: You can specify either the stack's name or its unique stack ID. * Deleted stacks: You must specify the unique stack ID. Default: There is no default value.

data ListStackResources #

The input for the ListStackResource action.

See: listStackResources smart constructor.

Instances

Eq ListStackResources # 
Data ListStackResources # 

Methods

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

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

toConstr :: ListStackResources -> Constr #

dataTypeOf :: ListStackResources -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListStackResources # 
Show ListStackResources # 
Generic ListStackResources # 
Hashable ListStackResources # 
NFData ListStackResources # 

Methods

rnf :: ListStackResources -> () #

AWSPager ListStackResources # 
AWSRequest ListStackResources # 
ToQuery ListStackResources # 
ToPath ListStackResources # 
ToHeaders ListStackResources # 
type Rep ListStackResources # 
type Rep ListStackResources = D1 (MetaData "ListStackResources" "Network.AWS.CloudFormation.ListStackResources" "amazonka-cloudformation-1.4.5-GkPqDOYcHIlLStUFA5eeUs" False) (C1 (MetaCons "ListStackResources'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lsrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lsrStackName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListStackResources # 

Request Lenses

lsrNextToken :: Lens' ListStackResources (Maybe Text) #

A string that identifies the next page of stack resources that you want to retrieve.

lsrStackName :: Lens' ListStackResources Text #

The name or the unique stack ID that is associated with the stack, which are not always interchangeable: * Running stacks: You can specify either the stack's name or its unique stack ID. * Deleted stacks: You must specify the unique stack ID. Default: There is no default value.

Destructuring the Response

listStackResourcesResponse #

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

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

data ListStackResourcesResponse #

The output for a ListStackResources action.

See: listStackResourcesResponse smart constructor.

Instances

Eq ListStackResourcesResponse # 
Data ListStackResourcesResponse # 

Methods

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

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

toConstr :: ListStackResourcesResponse -> Constr #

dataTypeOf :: ListStackResourcesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListStackResourcesResponse # 
Show ListStackResourcesResponse # 
Generic ListStackResourcesResponse # 
NFData ListStackResourcesResponse # 
type Rep ListStackResourcesResponse # 
type Rep ListStackResourcesResponse = D1 (MetaData "ListStackResourcesResponse" "Network.AWS.CloudFormation.ListStackResources" "amazonka-cloudformation-1.4.5-GkPqDOYcHIlLStUFA5eeUs" False) (C1 (MetaCons "ListStackResourcesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lsrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lsrrsStackResourceSummaries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StackResourceSummary]))) (S1 (MetaSel (Just Symbol "_lsrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lsrrsNextToken :: Lens' ListStackResourcesResponse (Maybe Text) #

If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page exists, this value is null.

lsrrsResponseStatus :: Lens' ListStackResourcesResponse Int #

  • - | The response status code.