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 |
Lists the StudioComponents in a studio.
This operation returns paginated results.
Synopsis
- data ListStudioComponents = ListStudioComponents' {}
- newListStudioComponents :: Text -> ListStudioComponents
- listStudioComponents_states :: Lens' ListStudioComponents (Maybe [Text])
- listStudioComponents_types :: Lens' ListStudioComponents (Maybe [Text])
- listStudioComponents_nextToken :: Lens' ListStudioComponents (Maybe Text)
- listStudioComponents_maxResults :: Lens' ListStudioComponents (Maybe Natural)
- listStudioComponents_studioId :: Lens' ListStudioComponents Text
- data ListStudioComponentsResponse = ListStudioComponentsResponse' {}
- newListStudioComponentsResponse :: Int -> ListStudioComponentsResponse
- listStudioComponentsResponse_studioComponents :: Lens' ListStudioComponentsResponse (Maybe [StudioComponent])
- listStudioComponentsResponse_nextToken :: Lens' ListStudioComponentsResponse (Maybe Text)
- listStudioComponentsResponse_httpStatus :: Lens' ListStudioComponentsResponse Int
Creating a Request
data ListStudioComponents Source #
See: newListStudioComponents
smart constructor.
Instances
newListStudioComponents Source #
Create a value of ListStudioComponents
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:states:ListStudioComponents'
, listStudioComponents_states
- A list of states.
$sel:types:ListStudioComponents'
, listStudioComponents_types
- The types.
$sel:nextToken:ListStudioComponents'
, listStudioComponents_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:maxResults:ListStudioComponents'
, listStudioComponents_maxResults
- The maximum number of results to be returned per request.
$sel:studioId:ListStudioComponents'
, listStudioComponents_studioId
- The studio ID.
Request Lenses
listStudioComponents_states :: Lens' ListStudioComponents (Maybe [Text]) Source #
A list of states.
listStudioComponents_types :: Lens' ListStudioComponents (Maybe [Text]) Source #
The types.
listStudioComponents_nextToken :: Lens' ListStudioComponents (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listStudioComponents_maxResults :: Lens' ListStudioComponents (Maybe Natural) Source #
The maximum number of results to be returned per request.
listStudioComponents_studioId :: Lens' ListStudioComponents Text Source #
The studio ID.
Destructuring the Response
data ListStudioComponentsResponse Source #
See: newListStudioComponentsResponse
smart constructor.
ListStudioComponentsResponse' | |
|
Instances
newListStudioComponentsResponse Source #
Create a value of ListStudioComponentsResponse
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:studioComponents:ListStudioComponentsResponse'
, listStudioComponentsResponse_studioComponents
- A collection of studio components.
$sel:nextToken:ListStudioComponents'
, listStudioComponentsResponse_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:httpStatus:ListStudioComponentsResponse'
, listStudioComponentsResponse_httpStatus
- The response's http status code.
Response Lenses
listStudioComponentsResponse_studioComponents :: Lens' ListStudioComponentsResponse (Maybe [StudioComponent]) Source #
A collection of studio components.
listStudioComponentsResponse_nextToken :: Lens' ListStudioComponentsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listStudioComponentsResponse_httpStatus :: Lens' ListStudioComponentsResponse Int Source #
The response's http status code.