amazonka-cloudformation-2.0: Amazon CloudFormation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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 #

Generic ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Associated Types

type Rep ListImports :: Type -> Type #

Read ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Show ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

NFData ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Methods

rnf :: ListImports -> () #

Eq ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Hashable ListImports Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

type AWSResponse 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" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" '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)))

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:

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.

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
Generic ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Associated Types

type Rep ListImportsResponse :: Type -> Type #

Read ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Show ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

NFData ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

Methods

rnf :: ListImportsResponse -> () #

Eq ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

type Rep ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListImports

type Rep ListImportsResponse = D1 ('MetaData "ListImportsResponse" "Amazonka.CloudFormation.ListImports" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" '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.

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.