| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppStream.ListAssociatedFleets
Description
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_names :: Lens' ListAssociatedFleetsResponse (Maybe [Text])
- listAssociatedFleetsResponse_nextToken :: Lens' ListAssociatedFleetsResponse (Maybe Text)
- listAssociatedFleetsResponse_httpStatus :: Lens' ListAssociatedFleetsResponse Int
Creating a Request
data ListAssociatedFleets Source #
See: newListAssociatedFleets smart constructor.
Constructors
| ListAssociatedFleets' | |
Instances
newListAssociatedFleets Source #
Arguments
| :: Text | |
| -> ListAssociatedFleets |
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:
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.
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.
Constructors
| ListAssociatedFleetsResponse' | |
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:names:ListAssociatedFleetsResponse', listAssociatedFleetsResponse_names - The name of the fleet.
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:httpStatus:ListAssociatedFleetsResponse', listAssociatedFleetsResponse_httpStatus - The response's http status code.
Response Lenses
listAssociatedFleetsResponse_names :: Lens' ListAssociatedFleetsResponse (Maybe [Text]) Source #
The name of the fleet.
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_httpStatus :: Lens' ListAssociatedFleetsResponse Int Source #
The response's http status code.