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 fleet that is associated with the specified stack.
This operation returns paginated results.
Synopsis
- data ListAssociatedFleets = ListAssociatedFleets' {}
- newListAssociatedFleets :: Text -> ListAssociatedFleets
- listAssociatedFleets_nextToken :: Lens' ListAssociatedFleets (Maybe Text)
- listAssociatedFleets_stackName :: Lens' ListAssociatedFleets Text
- data ListAssociatedFleetsResponse = ListAssociatedFleetsResponse' {}
- newListAssociatedFleetsResponse :: Int -> ListAssociatedFleetsResponse
- listAssociatedFleetsResponse_nextToken :: Lens' ListAssociatedFleetsResponse (Maybe Text)
- listAssociatedFleetsResponse_names :: Lens' ListAssociatedFleetsResponse (Maybe [Text])
- listAssociatedFleetsResponse_httpStatus :: Lens' ListAssociatedFleetsResponse Int
Creating a Request
data ListAssociatedFleets Source #
See: newListAssociatedFleets
smart constructor.
Instances
newListAssociatedFleets Source #
Create a value of ListAssociatedFleets
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:ListAssociatedFleets'
, listAssociatedFleets_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:stackName:ListAssociatedFleets'
, listAssociatedFleets_stackName
- The name of the stack.
Request Lenses
listAssociatedFleets_nextToken :: Lens' ListAssociatedFleets (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.
listAssociatedFleets_stackName :: Lens' ListAssociatedFleets Text Source #
The name of the stack.
Destructuring the Response
data ListAssociatedFleetsResponse Source #
See: newListAssociatedFleetsResponse
smart constructor.
Instances
newListAssociatedFleetsResponse Source #
Create a value of ListAssociatedFleetsResponse
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:ListAssociatedFleets'
, listAssociatedFleetsResponse_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:ListAssociatedFleetsResponse'
, listAssociatedFleetsResponse_names
- The name of the fleet.
$sel:httpStatus:ListAssociatedFleetsResponse'
, listAssociatedFleetsResponse_httpStatus
- The response's http status code.
Response Lenses
listAssociatedFleetsResponse_nextToken :: Lens' ListAssociatedFleetsResponse (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.
listAssociatedFleetsResponse_names :: Lens' ListAssociatedFleetsResponse (Maybe [Text]) Source #
The name of the fleet.
listAssociatedFleetsResponse_httpStatus :: Lens' ListAssociatedFleetsResponse Int Source #
The response's http status code.