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

Defined in Network.AWS.CloudFormation.ListImports

Data ListImports Source # 
Instance details

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

Defined in Network.AWS.CloudFormation.ListImports

Show ListImports Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListImports

Generic ListImports Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListImports

Associated Types

type Rep ListImports :: Type -> Type #

Hashable ListImports Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListImports

AWSPager ListImports Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListImports

AWSRequest ListImports Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListImports

Associated Types

type Rs ListImports :: Type #

ToHeaders ListImports Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListImports

Methods

toHeaders :: ListImports -> [Header] #

ToPath ListImports Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListImports

ToQuery ListImports Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListImports

NFData ListImports Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListImports

Methods

rnf :: ListImports -> () #

type Rep ListImports Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListImports

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

Defined in Network.AWS.CloudFormation.ListImports

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

Defined in Network.AWS.CloudFormation.ListImports

Data ListImportsResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListImports

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

Defined in Network.AWS.CloudFormation.ListImports

Show ListImportsResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListImports

Generic ListImportsResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListImports

Associated Types

type Rep ListImportsResponse :: Type -> Type #

NFData ListImportsResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListImports

Methods

rnf :: ListImportsResponse -> () #

type Rep ListImportsResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListImports

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