| 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 |
Amazonka.Nimble.ListStudios
Description
List studios in your Amazon Web Services account in the requested Amazon Web Services Region.
This operation returns paginated results.
Synopsis
- data ListStudios = ListStudios' {}
- newListStudios :: ListStudios
- listStudios_nextToken :: Lens' ListStudios (Maybe Text)
- data ListStudiosResponse = ListStudiosResponse' {}
- newListStudiosResponse :: Int -> ListStudiosResponse
- listStudiosResponse_studios :: Lens' ListStudiosResponse (Maybe [Studio])
- listStudiosResponse_nextToken :: Lens' ListStudiosResponse (Maybe Text)
- listStudiosResponse_httpStatus :: Lens' ListStudiosResponse Int
Creating a Request
data ListStudios Source #
See: newListStudios smart constructor.
Constructors
| ListStudios' | |
Instances
newListStudios :: ListStudios Source #
Create a value of ListStudios 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:ListStudios', listStudios_nextToken - The token for the next set of results, or null if there are no more
results.
Request Lenses
listStudios_nextToken :: Lens' ListStudios (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
Destructuring the Response
data ListStudiosResponse Source #
See: newListStudiosResponse smart constructor.
Constructors
| ListStudiosResponse' | |
Instances
newListStudiosResponse Source #
Arguments
| :: Int | |
| -> ListStudiosResponse |
Create a value of ListStudiosResponse 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:studios:ListStudiosResponse', listStudiosResponse_studios - A collection of studios.
$sel:nextToken:ListStudios', listStudiosResponse_nextToken - The token for the next set of results, or null if there are no more
results.
$sel:httpStatus:ListStudiosResponse', listStudiosResponse_httpStatus - The response's http status code.
Response Lenses
listStudiosResponse_studios :: Lens' ListStudiosResponse (Maybe [Studio]) Source #
A collection of studios.
listStudiosResponse_nextToken :: Lens' ListStudiosResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listStudiosResponse_httpStatus :: Lens' ListStudiosResponse Int Source #
The response's http status code.