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 versions of a group.
This operation returns paginated results.
Synopsis
- data ListGroupVersions = ListGroupVersions' {}
- newListGroupVersions :: Text -> ListGroupVersions
- listGroupVersions_nextToken :: Lens' ListGroupVersions (Maybe Text)
- listGroupVersions_maxResults :: Lens' ListGroupVersions (Maybe Text)
- listGroupVersions_groupId :: Lens' ListGroupVersions Text
- data ListGroupVersionsResponse = ListGroupVersionsResponse' {
- versions :: Maybe [VersionInformation]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListGroupVersionsResponse :: Int -> ListGroupVersionsResponse
- listGroupVersionsResponse_versions :: Lens' ListGroupVersionsResponse (Maybe [VersionInformation])
- listGroupVersionsResponse_nextToken :: Lens' ListGroupVersionsResponse (Maybe Text)
- listGroupVersionsResponse_httpStatus :: Lens' ListGroupVersionsResponse Int
Creating a Request
data ListGroupVersions Source #
See: newListGroupVersions
smart constructor.
Instances
Create a value of ListGroupVersions
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:ListGroupVersions'
, listGroupVersions_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:maxResults:ListGroupVersions'
, listGroupVersions_maxResults
- The maximum number of results to be returned per request.
$sel:groupId:ListGroupVersions'
, listGroupVersions_groupId
- The ID of the Greengrass group.
Request Lenses
listGroupVersions_nextToken :: Lens' ListGroupVersions (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listGroupVersions_maxResults :: Lens' ListGroupVersions (Maybe Text) Source #
The maximum number of results to be returned per request.
listGroupVersions_groupId :: Lens' ListGroupVersions Text Source #
The ID of the Greengrass group.
Destructuring the Response
data ListGroupVersionsResponse Source #
See: newListGroupVersionsResponse
smart constructor.
ListGroupVersionsResponse' | |
|
Instances
newListGroupVersionsResponse Source #
Create a value of ListGroupVersionsResponse
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:versions:ListGroupVersionsResponse'
, listGroupVersionsResponse_versions
- Information about a version.
$sel:nextToken:ListGroupVersions'
, listGroupVersionsResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:httpStatus:ListGroupVersionsResponse'
, listGroupVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listGroupVersionsResponse_versions :: Lens' ListGroupVersionsResponse (Maybe [VersionInformation]) Source #
Information about a version.
listGroupVersionsResponse_nextToken :: Lens' ListGroupVersionsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listGroupVersionsResponse_httpStatus :: Lens' ListGroupVersionsResponse Int Source #
The response's http status code.