Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Returns summary information about stack instances that are associated with the specified stack set. You can filter for stack instances that are associated with a specific AWS account name or region.
- listStackInstances :: Text -> ListStackInstances
- data ListStackInstances
- lsiStackInstanceRegion :: Lens' ListStackInstances (Maybe Text)
- lsiNextToken :: Lens' ListStackInstances (Maybe Text)
- lsiStackInstanceAccount :: Lens' ListStackInstances (Maybe Text)
- lsiMaxResults :: Lens' ListStackInstances (Maybe Natural)
- lsiStackSetName :: Lens' ListStackInstances Text
- listStackInstancesResponse :: Int -> ListStackInstancesResponse
- data ListStackInstancesResponse
- lsirsNextToken :: Lens' ListStackInstancesResponse (Maybe Text)
- lsirsSummaries :: Lens' ListStackInstancesResponse [StackInstanceSummary]
- lsirsResponseStatus :: Lens' ListStackInstancesResponse Int
Creating a Request
Creates a value of ListStackInstances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsiStackInstanceRegion
- The name of the region where you want to list stack instances.lsiNextToken
- If the previous request didn't return all of the remaining results, the response'sNextToken
parameter value is set to a token. To retrieve the next set of results, callListStackInstances
again and assign that token to the request object'sNextToken
parameter. If there are no remaining results, the previous response object'sNextToken
parameter is set tonull
.lsiStackInstanceAccount
- The name of the AWS account that you want to list stack instances for.lsiMaxResults
- The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes aNextToken
value that you can assign to theNextToken
request parameter to get the next set of results.lsiStackSetName
- The name or unique ID of the stack set that you want to list stack instances for.
data ListStackInstances Source #
See: listStackInstances
smart constructor.
Request Lenses
lsiStackInstanceRegion :: Lens' ListStackInstances (Maybe Text) Source #
The name of the region where you want to list stack instances.
lsiNextToken :: Lens' ListStackInstances (Maybe Text) Source #
If the previous request didn't return all of the remaining results, the response's NextToken
parameter value is set to a token. To retrieve the next set of results, call ListStackInstances
again and assign that token to the request object's NextToken
parameter. If there are no remaining results, the previous response object's NextToken
parameter is set to null
.
lsiStackInstanceAccount :: Lens' ListStackInstances (Maybe Text) Source #
The name of the AWS account that you want to list stack instances for.
lsiMaxResults :: Lens' ListStackInstances (Maybe Natural) Source #
The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken
value that you can assign to the NextToken
request parameter to get the next set of results.
lsiStackSetName :: Lens' ListStackInstances Text Source #
The name or unique ID of the stack set that you want to list stack instances for.
Destructuring the Response
listStackInstancesResponse Source #
Creates a value of ListStackInstancesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsirsNextToken
- If the request doesn't return all of the remaining results,NextToken
is set to a token. To retrieve the next set of results, callListStackInstances
again and assign that token to the request object'sNextToken
parameter. If the request returns all results,NextToken
is set tonull
.lsirsSummaries
- A list ofStackInstanceSummary
structures that contain information about the specified stack instances.lsirsResponseStatus
- -- | The response status code.
data ListStackInstancesResponse Source #
See: listStackInstancesResponse
smart constructor.
Response Lenses
lsirsNextToken :: Lens' ListStackInstancesResponse (Maybe Text) Source #
If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve the next set of results, call ListStackInstances
again and assign that token to the request object's NextToken
parameter. If the request returns all results, NextToken
is set to null
.
lsirsSummaries :: Lens' ListStackInstancesResponse [StackInstanceSummary] Source #
A list of StackInstanceSummary
structures that contain information about the specified stack instances.
lsirsResponseStatus :: Lens' ListStackInstancesResponse Int Source #
- - | The response status code.