Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data ListImports = ListImports' {
- nextToken :: Maybe Text
- exportName :: Text
- newListImports :: Text -> ListImports
- listImports_nextToken :: Lens' ListImports (Maybe Text)
- listImports_exportName :: Lens' ListImports Text
- data ListImportsResponse = ListImportsResponse' {}
- newListImportsResponse :: Int -> ListImportsResponse
- listImportsResponse_imports :: Lens' ListImportsResponse (Maybe [Text])
- listImportsResponse_nextToken :: Lens' ListImportsResponse (Maybe Text)
- listImportsResponse_httpStatus :: Lens' ListImportsResponse Int
Creating a Request
data ListImports Source #
See: newListImports
smart constructor.
ListImports' | |
|
Instances
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.
Instances
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.
listImportsResponse_httpStatus :: Lens' ListImportsResponse Int Source #
The response's http status code.