amazonka-cloudformation-1.5.0: Amazon CloudFormation 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.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 Source #

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 Source #

The input for the ListStackResource action.

See: listStackResources smart constructor.

Instances

Eq ListStackResources Source # 
Data ListStackResources Source # 

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 Source # 
Show ListStackResources Source # 
Generic ListStackResources Source # 
Hashable ListStackResources Source # 
NFData ListStackResources Source # 

Methods

rnf :: ListStackResources -> () #

AWSPager ListStackResources Source # 
AWSRequest ListStackResources Source # 
ToQuery ListStackResources Source # 
ToPath ListStackResources Source # 
ToHeaders ListStackResources Source # 
type Rep ListStackResources Source # 
type Rep ListStackResources = D1 (MetaData "ListStackResources" "Network.AWS.CloudFormation.ListStackResources" "amazonka-cloudformation-1.5.0-KJ8fU86x75V4EoPee9jClQ" 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 Source # 

Request Lenses

lsrNextToken :: Lens' ListStackResources (Maybe Text) Source #

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

lsrStackName :: Lens' ListStackResources Text Source #

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 Source #

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 Source #

The output for a ListStackResources action.

See: listStackResourcesResponse smart constructor.

Instances

Eq ListStackResourcesResponse Source # 
Data ListStackResourcesResponse Source # 

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 Source # 
Show ListStackResourcesResponse Source # 
Generic ListStackResourcesResponse Source # 
NFData ListStackResourcesResponse Source # 
type Rep ListStackResourcesResponse Source # 
type Rep ListStackResourcesResponse = D1 (MetaData "ListStackResourcesResponse" "Network.AWS.CloudFormation.ListStackResources" "amazonka-cloudformation-1.5.0-KJ8fU86x75V4EoPee9jClQ" 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 DecidedStrict) (Rec0 Int)))))

Response Lenses

lsrrsNextToken :: Lens' ListStackResourcesResponse (Maybe Text) Source #

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.