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

Defined in Network.AWS.CloudFormation.ListStackResources

Data ListStackResources Source # 
Instance details

Defined in Network.AWS.CloudFormation.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 Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

Show ListStackResources Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

Generic ListStackResources Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

Associated Types

type Rep ListStackResources :: Type -> Type #

Hashable ListStackResources Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

AWSPager ListStackResources Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

AWSRequest ListStackResources Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

Associated Types

type Rs ListStackResources :: Type #

ToHeaders ListStackResources Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

ToPath ListStackResources Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

ToQuery ListStackResources Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

NFData ListStackResources Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

Methods

rnf :: ListStackResources -> () #

type Rep ListStackResources Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

type Rep ListStackResources = D1 (MetaData "ListStackResources" "Network.AWS.CloudFormation.ListStackResources" "amazonka-cloudformation-1.6.1-9C1vgCDBA4sIHFUFfPs2gm" False) (C1 (MetaCons "ListStackResources'" PrefixI True) (S1 (MetaSel (Just "_lsrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lsrStackName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs ListStackResources Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

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

Defined in Network.AWS.CloudFormation.ListStackResources

Data ListStackResourcesResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

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

Defined in Network.AWS.CloudFormation.ListStackResources

Show ListStackResourcesResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

Generic ListStackResourcesResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

Associated Types

type Rep ListStackResourcesResponse :: Type -> Type #

NFData ListStackResourcesResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

type Rep ListStackResourcesResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStackResources

type Rep ListStackResourcesResponse = D1 (MetaData "ListStackResourcesResponse" "Network.AWS.CloudFormation.ListStackResources" "amazonka-cloudformation-1.6.1-9C1vgCDBA4sIHFUFfPs2gm" False) (C1 (MetaCons "ListStackResourcesResponse'" PrefixI True) (S1 (MetaSel (Just "_lsrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lsrrsStackResourceSummaries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StackResourceSummary])) :*: S1 (MetaSel (Just "_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.