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 |
Retrieves information about a device definition version.
Synopsis
- getDeviceDefinitionVersion :: Text -> Text -> GetDeviceDefinitionVersion
- data GetDeviceDefinitionVersion
- gddvDeviceDefinitionVersionId :: Lens' GetDeviceDefinitionVersion Text
- gddvDeviceDefinitionId :: Lens' GetDeviceDefinitionVersion Text
- getDeviceDefinitionVersionResponse :: Int -> GetDeviceDefinitionVersionResponse
- data GetDeviceDefinitionVersionResponse
- gddvrsDefinition :: Lens' GetDeviceDefinitionVersionResponse (Maybe DeviceDefinitionVersion)
- gddvrsARN :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text)
- gddvrsCreationTimestamp :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text)
- gddvrsVersion :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text)
- gddvrsId :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text)
- gddvrsResponseStatus :: Lens' GetDeviceDefinitionVersionResponse Int
Creating a Request
getDeviceDefinitionVersion Source #
Creates a value of GetDeviceDefinitionVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gddvDeviceDefinitionVersionId
- The ID of the device definition version.gddvDeviceDefinitionId
- The ID of the device definition.
data GetDeviceDefinitionVersion Source #
See: getDeviceDefinitionVersion
smart constructor.
Instances
Request Lenses
gddvDeviceDefinitionVersionId :: Lens' GetDeviceDefinitionVersion Text Source #
The ID of the device definition version.
gddvDeviceDefinitionId :: Lens' GetDeviceDefinitionVersion Text Source #
The ID of the device definition.
Destructuring the Response
getDeviceDefinitionVersionResponse Source #
Creates a value of GetDeviceDefinitionVersionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gddvrsDefinition
- Information about the device definition version.gddvrsARN
- The ARN of the device definition version.gddvrsCreationTimestamp
- The time, in milliseconds since the epoch, when the device definition version was created.gddvrsVersion
- The version of the device definition version.gddvrsId
- The ID of the device definition version.gddvrsResponseStatus
- -- | The response status code.
data GetDeviceDefinitionVersionResponse Source #
See: getDeviceDefinitionVersionResponse
smart constructor.
Instances
Response Lenses
gddvrsDefinition :: Lens' GetDeviceDefinitionVersionResponse (Maybe DeviceDefinitionVersion) Source #
Information about the device definition version.
gddvrsARN :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text) Source #
The ARN of the device definition version.
gddvrsCreationTimestamp :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the device definition version was created.
gddvrsVersion :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text) Source #
The version of the device definition version.
gddvrsId :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text) Source #
The ID of the device definition version.
gddvrsResponseStatus :: Lens' GetDeviceDefinitionVersionResponse Int Source #
- - | The response status code.