| 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.ListAssociatedStacks
Description
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_names :: Lens' ListAssociatedStacksResponse (Maybe [Text])
- listAssociatedStacksResponse_nextToken :: Lens' ListAssociatedStacksResponse (Maybe Text)
- listAssociatedStacksResponse_httpStatus :: Lens' ListAssociatedStacksResponse Int
Creating a Request
data ListAssociatedStacks Source #
See: newListAssociatedStacks smart constructor.
Constructors
| ListAssociatedStacks' | |
Instances
newListAssociatedStacks Source #
Arguments
| :: Text | |
| -> ListAssociatedStacks |
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:
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.
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.
Constructors
| ListAssociatedStacksResponse' | |
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:names:ListAssociatedStacksResponse', listAssociatedStacksResponse_names - The name of the stack.
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:httpStatus:ListAssociatedStacksResponse', listAssociatedStacksResponse_httpStatus - The response's http status code.
Response Lenses
listAssociatedStacksResponse_names :: Lens' ListAssociatedStacksResponse (Maybe [Text]) Source #
The name of the stack.
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_httpStatus :: Lens' ListAssociatedStacksResponse Int Source #
The response's http status code.