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