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 device definition.
This operation returns paginated results.
Synopsis
- data ListDeviceDefinitionVersions = ListDeviceDefinitionVersions' {}
- newListDeviceDefinitionVersions :: Text -> ListDeviceDefinitionVersions
- listDeviceDefinitionVersions_nextToken :: Lens' ListDeviceDefinitionVersions (Maybe Text)
- listDeviceDefinitionVersions_maxResults :: Lens' ListDeviceDefinitionVersions (Maybe Text)
- listDeviceDefinitionVersions_deviceDefinitionId :: Lens' ListDeviceDefinitionVersions Text
- data ListDeviceDefinitionVersionsResponse = ListDeviceDefinitionVersionsResponse' {
- versions :: Maybe [VersionInformation]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDeviceDefinitionVersionsResponse :: Int -> ListDeviceDefinitionVersionsResponse
- listDeviceDefinitionVersionsResponse_versions :: Lens' ListDeviceDefinitionVersionsResponse (Maybe [VersionInformation])
- listDeviceDefinitionVersionsResponse_nextToken :: Lens' ListDeviceDefinitionVersionsResponse (Maybe Text)
- listDeviceDefinitionVersionsResponse_httpStatus :: Lens' ListDeviceDefinitionVersionsResponse Int
Creating a Request
data ListDeviceDefinitionVersions Source #
See: newListDeviceDefinitionVersions
smart constructor.
ListDeviceDefinitionVersions' | |
|
Instances
newListDeviceDefinitionVersions Source #
Create a value of ListDeviceDefinitionVersions
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:ListDeviceDefinitionVersions'
, listDeviceDefinitionVersions_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:maxResults:ListDeviceDefinitionVersions'
, listDeviceDefinitionVersions_maxResults
- The maximum number of results to be returned per request.
$sel:deviceDefinitionId:ListDeviceDefinitionVersions'
, listDeviceDefinitionVersions_deviceDefinitionId
- The ID of the device definition.
Request Lenses
listDeviceDefinitionVersions_nextToken :: Lens' ListDeviceDefinitionVersions (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listDeviceDefinitionVersions_maxResults :: Lens' ListDeviceDefinitionVersions (Maybe Text) Source #
The maximum number of results to be returned per request.
listDeviceDefinitionVersions_deviceDefinitionId :: Lens' ListDeviceDefinitionVersions Text Source #
The ID of the device definition.
Destructuring the Response
data ListDeviceDefinitionVersionsResponse Source #
See: newListDeviceDefinitionVersionsResponse
smart constructor.
ListDeviceDefinitionVersionsResponse' | |
|
Instances
newListDeviceDefinitionVersionsResponse Source #
Create a value of ListDeviceDefinitionVersionsResponse
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:ListDeviceDefinitionVersionsResponse'
, listDeviceDefinitionVersionsResponse_versions
- Information about a version.
$sel:nextToken:ListDeviceDefinitionVersions'
, listDeviceDefinitionVersionsResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:httpStatus:ListDeviceDefinitionVersionsResponse'
, listDeviceDefinitionVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listDeviceDefinitionVersionsResponse_versions :: Lens' ListDeviceDefinitionVersionsResponse (Maybe [VersionInformation]) Source #
Information about a version.
listDeviceDefinitionVersionsResponse_nextToken :: Lens' ListDeviceDefinitionVersionsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listDeviceDefinitionVersionsResponse_httpStatus :: Lens' ListDeviceDefinitionVersionsResponse Int Source #
The response's http status code.