Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Lists the versions of a device definition.
- listDeviceDefinitionVersions :: Text -> ListDeviceDefinitionVersions
- data ListDeviceDefinitionVersions
- lddvNextToken :: Lens' ListDeviceDefinitionVersions (Maybe Text)
- lddvMaxResults :: Lens' ListDeviceDefinitionVersions (Maybe Text)
- lddvDeviceDefinitionId :: Lens' ListDeviceDefinitionVersions Text
- listDeviceDefinitionVersionsResponse :: Int -> ListDeviceDefinitionVersionsResponse
- data ListDeviceDefinitionVersionsResponse
- lddvrsVersions :: Lens' ListDeviceDefinitionVersionsResponse [VersionInformation]
- lddvrsNextToken :: Lens' ListDeviceDefinitionVersionsResponse (Maybe Text)
- lddvrsResponseStatus :: Lens' ListDeviceDefinitionVersionsResponse Int
Creating a Request
listDeviceDefinitionVersions Source #
Creates a value of ListDeviceDefinitionVersions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lddvNextToken
- The token for the next set of results, or 'null'
if there are no additional results.lddvMaxResults
- The maximum number of results to be returned per request.lddvDeviceDefinitionId
- The ID of the device definition.
data ListDeviceDefinitionVersions Source #
See: listDeviceDefinitionVersions
smart constructor.
Request Lenses
lddvNextToken :: Lens' ListDeviceDefinitionVersions (Maybe Text) Source #
The token for the next set of results, or 'null'
if there are no additional results.
lddvMaxResults :: Lens' ListDeviceDefinitionVersions (Maybe Text) Source #
The maximum number of results to be returned per request.
lddvDeviceDefinitionId :: Lens' ListDeviceDefinitionVersions Text Source #
The ID of the device definition.
Destructuring the Response
listDeviceDefinitionVersionsResponse Source #
Creates a value of ListDeviceDefinitionVersionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lddvrsVersions
- Information about a version.lddvrsNextToken
- The token for the next set of results, or 'null'
if there are no additional results.lddvrsResponseStatus
- -- | The response status code.
data ListDeviceDefinitionVersionsResponse Source #
See: listDeviceDefinitionVersionsResponse
smart constructor.
Response Lenses
lddvrsVersions :: Lens' ListDeviceDefinitionVersionsResponse [VersionInformation] Source #
Information about a version.
lddvrsNextToken :: Lens' ListDeviceDefinitionVersionsResponse (Maybe Text) Source #
The token for the next set of results, or 'null'
if there are no additional results.
lddvrsResponseStatus :: Lens' ListDeviceDefinitionVersionsResponse Int Source #
- - | The response status code.