libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudFormation.ListImports

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

data ListImports Source #

See: newListImports smart constructor.

Constructors

ListImports' 

Fields

  • nextToken :: 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.

  • exportName :: Text

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

Instances

Instances details
Eq ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Read ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Show ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Generic ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Associated Types

type Rep ListImports :: Type -> Type #

NFData ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Methods

rnf :: ListImports -> () #

Hashable ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

AWSPager ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

AWSRequest ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Associated Types

type AWSResponse ListImports #

ToHeaders ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Methods

toHeaders :: ListImports -> [Header] #

ToPath ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

ToQuery ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

type Rep ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

type Rep ListImports = D1 ('MetaData "ListImports" "Amazonka.CloudFormation.ListImports" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "ListImports'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "exportName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

newListImports Source #

Create a value of ListImports with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListImports', listImports_nextToken - A string (provided by the ListImports response output) that identifies the next page of stacks that are importing the specified exported output value.

$sel:exportName:ListImports', listImports_exportName - The name of the exported output value. CloudFormation returns the stack names that are importing this value.

Request Lenses

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

listImports_exportName :: Lens' ListImports Text Source #

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

Destructuring the Response

data ListImportsResponse Source #

See: newListImportsResponse smart constructor.

Constructors

ListImportsResponse' 

Fields

  • imports :: Maybe [Text]

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

  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Read ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Show ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Generic ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Associated Types

type Rep ListImportsResponse :: Type -> Type #

NFData ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Methods

rnf :: ListImportsResponse -> () #

type Rep ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

type Rep ListImportsResponse = D1 ('MetaData "ListImportsResponse" "Amazonka.CloudFormation.ListImports" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "ListImportsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "imports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListImportsResponse Source #

Create a value of ListImportsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:imports:ListImportsResponse', listImportsResponse_imports - A list of stack names that are importing the specified exported output value.

$sel:nextToken:ListImports', listImportsResponse_nextToken - A string that identifies the next page of exports. If there is no additional page, this value is null.

$sel:httpStatus:ListImportsResponse', listImportsResponse_httpStatus - The response's http status code.

Response Lenses

listImportsResponse_imports :: Lens' ListImportsResponse (Maybe [Text]) Source #

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

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

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