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 |
Retrieves the name of the stack with which the specified fleet is associated.
This operation returns paginated results.
Synopsis
- data ListAssociatedStacks = ListAssociatedStacks' {}
- newListAssociatedStacks :: Text -> ListAssociatedStacks
- listAssociatedStacks_nextToken :: Lens' ListAssociatedStacks (Maybe Text)
- listAssociatedStacks_fleetName :: Lens' ListAssociatedStacks Text
- data ListAssociatedStacksResponse = ListAssociatedStacksResponse' {}
- newListAssociatedStacksResponse :: Int -> ListAssociatedStacksResponse
- listAssociatedStacksResponse_nextToken :: Lens' ListAssociatedStacksResponse (Maybe Text)
- listAssociatedStacksResponse_names :: Lens' ListAssociatedStacksResponse (Maybe [Text])
- listAssociatedStacksResponse_httpStatus :: Lens' ListAssociatedStacksResponse Int
Creating a Request
data ListAssociatedStacks Source #
See: newListAssociatedStacks
smart constructor.
Instances
newListAssociatedStacks Source #
Create a value of ListAssociatedStacks
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:ListAssociatedStacks'
, listAssociatedStacks_nextToken
- The pagination token to use to retrieve the next page of results for
this operation. If this value is null, it retrieves the first page.
$sel:fleetName:ListAssociatedStacks'
, listAssociatedStacks_fleetName
- The name of the fleet.
Request Lenses
listAssociatedStacks_nextToken :: Lens' ListAssociatedStacks (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
listAssociatedStacks_fleetName :: Lens' ListAssociatedStacks Text Source #
The name of the fleet.
Destructuring the Response
data ListAssociatedStacksResponse Source #
See: newListAssociatedStacksResponse
smart constructor.
Instances
newListAssociatedStacksResponse Source #
Create a value of ListAssociatedStacksResponse
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:ListAssociatedStacks'
, listAssociatedStacksResponse_nextToken
- The pagination token to use to retrieve the next page of results for
this operation. If there are no more pages, this value is null.
$sel:names:ListAssociatedStacksResponse'
, listAssociatedStacksResponse_names
- The name of the stack.
$sel:httpStatus:ListAssociatedStacksResponse'
, listAssociatedStacksResponse_httpStatus
- The response's http status code.
Response Lenses
listAssociatedStacksResponse_nextToken :: Lens' ListAssociatedStacksResponse (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
listAssociatedStacksResponse_names :: Lens' ListAssociatedStacksResponse (Maybe [Text]) Source #
The name of the stack.
listAssociatedStacksResponse_httpStatus :: Lens' ListAssociatedStacksResponse Int Source #
The response's http status code.