Copyright | (c) 2013-2017 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.
- getDeviceDefinition :: Text -> GetDeviceDefinition
- data GetDeviceDefinition
- gddDeviceDefinitionId :: Lens' GetDeviceDefinition Text
- getDeviceDefinitionResponse :: Int -> GetDeviceDefinitionResponse
- data GetDeviceDefinitionResponse
- gddrsLatestVersionARN :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- gddrsARN :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- gddrsName :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- gddrsCreationTimestamp :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- gddrsId :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- gddrsLatestVersion :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- gddrsLastUpdatedTimestamp :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- gddrsResponseStatus :: Lens' GetDeviceDefinitionResponse Int
Creating a Request
Creates a value of GetDeviceDefinition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gddDeviceDefinitionId
- device definition Id
data GetDeviceDefinition Source #
See: getDeviceDefinition
smart constructor.
Request Lenses
gddDeviceDefinitionId :: Lens' GetDeviceDefinition Text Source #
device definition Id
Destructuring the Response
getDeviceDefinitionResponse Source #
Creates a value of GetDeviceDefinitionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gddrsLatestVersionARN
- Latest version arn of the definition.gddrsARN
- Arn of the definition.gddrsName
- Name of the definition.gddrsCreationTimestamp
- Timestamp of when the definition was created.gddrsId
- Id of the definition.gddrsLatestVersion
- Last version of the definition.gddrsLastUpdatedTimestamp
- Last updated timestamp of the definition.gddrsResponseStatus
- -- | The response status code.
data GetDeviceDefinitionResponse Source #
See: getDeviceDefinitionResponse
smart constructor.
Response Lenses
gddrsLatestVersionARN :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
Latest version arn of the definition.
gddrsCreationTimestamp :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
Timestamp of when the definition was created.
gddrsLatestVersion :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
Last version of the definition.
gddrsLastUpdatedTimestamp :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
Last updated timestamp of the definition.
gddrsResponseStatus :: Lens' GetDeviceDefinitionResponse Int Source #
- - | The response status code.