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

This operation returns paginated results.

Synopsis

Creating a Request

listImports Source #

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

See: listImports smart constructor.

Instances

Eq ListImports Source # 
Data ListImports Source # 

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 Source # 
Show ListImports Source # 
Generic ListImports Source # 

Associated Types

type Rep ListImports :: * -> * #

Hashable ListImports Source # 
NFData ListImports Source # 

Methods

rnf :: ListImports -> () #

AWSPager ListImports Source # 
AWSRequest ListImports Source # 
ToQuery ListImports Source # 
ToPath ListImports Source # 
ToHeaders ListImports Source # 

Methods

toHeaders :: ListImports -> [Header] #

type Rep ListImports Source # 
type Rep ListImports = D1 (MetaData "ListImports" "Network.AWS.CloudFormation.ListImports" "amazonka-cloudformation-1.5.0-KJ8fU86x75V4EoPee9jClQ" 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 Source # 

Request Lenses

liNextToken :: Lens' ListImports (Maybe Text) Source #

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

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

Destructuring the Response

listImportsResponse Source #

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

See: listImportsResponse smart constructor.

Instances

Eq ListImportsResponse Source # 
Data ListImportsResponse Source # 

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

Methods

rnf :: ListImportsResponse -> () #

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

Response Lenses

lirsImports :: Lens' ListImportsResponse [Text] Source #

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

lirsNextToken :: Lens' ListImportsResponse (Maybe Text) Source #

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

lirsResponseStatus :: Lens' ListImportsResponse Int Source #

  • - | The response status code.