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 |
Retrieves a paginated list of component summaries. This list includes components that you have permission to view.
This operation returns paginated results.
Synopsis
- data ListComponents = ListComponents' {}
- newListComponents :: ListComponents
- listComponents_nextToken :: Lens' ListComponents (Maybe Text)
- listComponents_scope :: Lens' ListComponents (Maybe ComponentVisibilityScope)
- listComponents_maxResults :: Lens' ListComponents (Maybe Natural)
- data ListComponentsResponse = ListComponentsResponse' {
- components :: Maybe [Component]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListComponentsResponse :: Int -> ListComponentsResponse
- listComponentsResponse_components :: Lens' ListComponentsResponse (Maybe [Component])
- listComponentsResponse_nextToken :: Lens' ListComponentsResponse (Maybe Text)
- listComponentsResponse_httpStatus :: Lens' ListComponentsResponse Int
Creating a Request
data ListComponents Source #
See: newListComponents
smart constructor.
ListComponents' | |
|
Instances
newListComponents :: ListComponents Source #
Create a value of ListComponents
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:ListComponents'
, listComponents_nextToken
- The token to be used for the next set of paginated results.
$sel:scope:ListComponents'
, listComponents_scope
- The scope of the components to list.
Default: PRIVATE
$sel:maxResults:ListComponents'
, listComponents_maxResults
- The maximum number of results to be returned per paginated request.
Request Lenses
listComponents_nextToken :: Lens' ListComponents (Maybe Text) Source #
The token to be used for the next set of paginated results.
listComponents_scope :: Lens' ListComponents (Maybe ComponentVisibilityScope) Source #
The scope of the components to list.
Default: PRIVATE
listComponents_maxResults :: Lens' ListComponents (Maybe Natural) Source #
The maximum number of results to be returned per paginated request.
Destructuring the Response
data ListComponentsResponse Source #
See: newListComponentsResponse
smart constructor.
ListComponentsResponse' | |
|
Instances
newListComponentsResponse Source #
Create a value of ListComponentsResponse
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:components:ListComponentsResponse'
, listComponentsResponse_components
- A list that summarizes each component.
$sel:nextToken:ListComponents'
, listComponentsResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListComponentsResponse'
, listComponentsResponse_httpStatus
- The response's http status code.
Response Lenses
listComponentsResponse_components :: Lens' ListComponentsResponse (Maybe [Component]) Source #
A list that summarizes each component.
listComponentsResponse_nextToken :: Lens' ListComponentsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
listComponentsResponse_httpStatus :: Lens' ListComponentsResponse Int Source #
The response's http status code.