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 |
Retrieves information about a device definition.
Synopsis
- data GetDeviceDefinition = GetDeviceDefinition' {}
- newGetDeviceDefinition :: Text -> GetDeviceDefinition
- getDeviceDefinition_deviceDefinitionId :: Lens' GetDeviceDefinition Text
- data GetDeviceDefinitionResponse = GetDeviceDefinitionResponse' {}
- newGetDeviceDefinitionResponse :: Int -> GetDeviceDefinitionResponse
- getDeviceDefinitionResponse_latestVersionArn :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- getDeviceDefinitionResponse_arn :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- getDeviceDefinitionResponse_name :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- getDeviceDefinitionResponse_creationTimestamp :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- getDeviceDefinitionResponse_id :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- getDeviceDefinitionResponse_latestVersion :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- getDeviceDefinitionResponse_lastUpdatedTimestamp :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- getDeviceDefinitionResponse_tags :: Lens' GetDeviceDefinitionResponse (Maybe (HashMap Text Text))
- getDeviceDefinitionResponse_httpStatus :: Lens' GetDeviceDefinitionResponse Int
Creating a Request
data GetDeviceDefinition Source #
See: newGetDeviceDefinition
smart constructor.
GetDeviceDefinition' | |
|
Instances
newGetDeviceDefinition Source #
Create a value of GetDeviceDefinition
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:deviceDefinitionId:GetDeviceDefinition'
, getDeviceDefinition_deviceDefinitionId
- The ID of the device definition.
Request Lenses
getDeviceDefinition_deviceDefinitionId :: Lens' GetDeviceDefinition Text Source #
The ID of the device definition.
Destructuring the Response
data GetDeviceDefinitionResponse Source #
See: newGetDeviceDefinitionResponse
smart constructor.
GetDeviceDefinitionResponse' | |
|
Instances
newGetDeviceDefinitionResponse Source #
Create a value of GetDeviceDefinitionResponse
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:latestVersionArn:GetDeviceDefinitionResponse'
, getDeviceDefinitionResponse_latestVersionArn
- The ARN of the latest version associated with the definition.
$sel:arn:GetDeviceDefinitionResponse'
, getDeviceDefinitionResponse_arn
- The ARN of the definition.
$sel:name:GetDeviceDefinitionResponse'
, getDeviceDefinitionResponse_name
- The name of the definition.
$sel:creationTimestamp:GetDeviceDefinitionResponse'
, getDeviceDefinitionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the definition was
created.
$sel:id:GetDeviceDefinitionResponse'
, getDeviceDefinitionResponse_id
- The ID of the definition.
$sel:latestVersion:GetDeviceDefinitionResponse'
, getDeviceDefinitionResponse_latestVersion
- The ID of the latest version associated with the definition.
$sel:lastUpdatedTimestamp:GetDeviceDefinitionResponse'
, getDeviceDefinitionResponse_lastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last
updated.
$sel:tags:GetDeviceDefinitionResponse'
, getDeviceDefinitionResponse_tags
- Tag(s) attached to the resource arn.
$sel:httpStatus:GetDeviceDefinitionResponse'
, getDeviceDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
getDeviceDefinitionResponse_latestVersionArn :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
The ARN of the latest version associated with the definition.
getDeviceDefinitionResponse_arn :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
The ARN of the definition.
getDeviceDefinitionResponse_name :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
The name of the definition.
getDeviceDefinitionResponse_creationTimestamp :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
getDeviceDefinitionResponse_id :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
The ID of the definition.
getDeviceDefinitionResponse_latestVersion :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
The ID of the latest version associated with the definition.
getDeviceDefinitionResponse_lastUpdatedTimestamp :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
getDeviceDefinitionResponse_tags :: Lens' GetDeviceDefinitionResponse (Maybe (HashMap Text Text)) Source #
Tag(s) attached to the resource arn.
getDeviceDefinitionResponse_httpStatus :: Lens' GetDeviceDefinitionResponse Int Source #
The response's http status code.