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 all versions for a component. Greater versions are listed first.
This operation returns paginated results.
Synopsis
- data ListComponentVersions = ListComponentVersions' {}
- newListComponentVersions :: Text -> ListComponentVersions
- listComponentVersions_nextToken :: Lens' ListComponentVersions (Maybe Text)
- listComponentVersions_maxResults :: Lens' ListComponentVersions (Maybe Natural)
- listComponentVersions_arn :: Lens' ListComponentVersions Text
- data ListComponentVersionsResponse = ListComponentVersionsResponse' {}
- newListComponentVersionsResponse :: Int -> ListComponentVersionsResponse
- listComponentVersionsResponse_nextToken :: Lens' ListComponentVersionsResponse (Maybe Text)
- listComponentVersionsResponse_componentVersions :: Lens' ListComponentVersionsResponse (Maybe [ComponentVersionListItem])
- listComponentVersionsResponse_httpStatus :: Lens' ListComponentVersionsResponse Int
Creating a Request
data ListComponentVersions Source #
See: newListComponentVersions
smart constructor.
Instances
newListComponentVersions Source #
Create a value of ListComponentVersions
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:ListComponentVersions'
, listComponentVersions_nextToken
- The token to be used for the next set of paginated results.
$sel:maxResults:ListComponentVersions'
, listComponentVersions_maxResults
- The maximum number of results to be returned per paginated request.
$sel:arn:ListComponentVersions'
, listComponentVersions_arn
- The
ARN
of the component version.
Request Lenses
listComponentVersions_nextToken :: Lens' ListComponentVersions (Maybe Text) Source #
The token to be used for the next set of paginated results.
listComponentVersions_maxResults :: Lens' ListComponentVersions (Maybe Natural) Source #
The maximum number of results to be returned per paginated request.
listComponentVersions_arn :: Lens' ListComponentVersions Text Source #
The ARN of the component version.
Destructuring the Response
data ListComponentVersionsResponse Source #
See: newListComponentVersionsResponse
smart constructor.
ListComponentVersionsResponse' | |
|
Instances
newListComponentVersionsResponse Source #
Create a value of ListComponentVersionsResponse
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:ListComponentVersions'
, listComponentVersionsResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:componentVersions:ListComponentVersionsResponse'
, listComponentVersionsResponse_componentVersions
- A list of versions that exist for the component.
$sel:httpStatus:ListComponentVersionsResponse'
, listComponentVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listComponentVersionsResponse_nextToken :: Lens' ListComponentVersionsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
listComponentVersionsResponse_componentVersions :: Lens' ListComponentVersionsResponse (Maybe [ComponentVersionListItem]) Source #
A list of versions that exist for the component.
listComponentVersionsResponse_httpStatus :: Lens' ListComponentVersionsResponse Int Source #
The response's http status code.