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.ListImports

Contents

Description

Lists all stacks that are importing an exported output value. To modify or remove an exported output value, first use this action to see which stacks are using it. To see the exported output values in your account, see ListExports .

For more information about importing an exported output value, see the @Fn::ImportValue@ function.

Synopsis

Creating a Request

listImports #

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

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

  • liNextToken - A string (provided by the ListImports response output) that identifies the next page of stacks that are importing the specified exported output value.
  • liExportName - The name of the exported output value. AWS CloudFormation returns the stack names that are importing this value.

data ListImports #

See: listImports smart constructor.

Instances

Eq ListImports # 
Data ListImports # 

Methods

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

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

toConstr :: ListImports -> Constr #

dataTypeOf :: ListImports -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListImports # 
Show ListImports # 
Generic ListImports # 

Associated Types

type Rep ListImports :: * -> * #

Hashable ListImports # 
NFData ListImports # 

Methods

rnf :: ListImports -> () #

AWSRequest ListImports # 
ToQuery ListImports # 
ToPath ListImports # 
ToHeaders ListImports # 

Methods

toHeaders :: ListImports -> [Header] #

type Rep ListImports # 
type Rep ListImports = D1 (MetaData "ListImports" "Network.AWS.CloudFormation.ListImports" "amazonka-cloudformation-1.4.5-GkPqDOYcHIlLStUFA5eeUs" False) (C1 (MetaCons "ListImports'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_liNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_liExportName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListImports # 

Request Lenses

liNextToken :: Lens' ListImports (Maybe Text) #

A string (provided by the ListImports response output) that identifies the next page of stacks that are importing the specified exported output value.

liExportName :: Lens' ListImports Text #

The name of the exported output value. AWS CloudFormation returns the stack names that are importing this value.

Destructuring the Response

listImportsResponse #

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

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

  • lirsImports - A list of stack names that are importing the specified exported output value.
  • lirsNextToken - A string that identifies the next page of exports. If there is no additional page, this value is null.
  • lirsResponseStatus - -- | The response status code.

data ListImportsResponse #

See: listImportsResponse smart constructor.

Instances

Eq ListImportsResponse # 
Data ListImportsResponse # 

Methods

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

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

toConstr :: ListImportsResponse -> Constr #

dataTypeOf :: ListImportsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListImportsResponse # 
Show ListImportsResponse # 
Generic ListImportsResponse # 
NFData ListImportsResponse # 

Methods

rnf :: ListImportsResponse -> () #

type Rep ListImportsResponse # 
type Rep ListImportsResponse = D1 (MetaData "ListImportsResponse" "Network.AWS.CloudFormation.ListImports" "amazonka-cloudformation-1.4.5-GkPqDOYcHIlLStUFA5eeUs" False) (C1 (MetaCons "ListImportsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lirsImports") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_lirsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lirsImports :: Lens' ListImportsResponse [Text] #

A list of stack names that are importing the specified exported output value.

lirsNextToken :: Lens' ListImportsResponse (Maybe Text) #

A string that identifies the next page of exports. If there is no additional page, this value is null.

lirsResponseStatus :: Lens' ListImportsResponse Int #

  • - | The response status code.