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 version.
Synopsis
- data GetDeviceDefinitionVersion = GetDeviceDefinitionVersion' {}
- newGetDeviceDefinitionVersion :: Text -> Text -> GetDeviceDefinitionVersion
- getDeviceDefinitionVersion_nextToken :: Lens' GetDeviceDefinitionVersion (Maybe Text)
- getDeviceDefinitionVersion_deviceDefinitionVersionId :: Lens' GetDeviceDefinitionVersion Text
- getDeviceDefinitionVersion_deviceDefinitionId :: Lens' GetDeviceDefinitionVersion Text
- data GetDeviceDefinitionVersionResponse = GetDeviceDefinitionVersionResponse' {
- definition :: Maybe DeviceDefinitionVersion
- arn :: Maybe Text
- nextToken :: Maybe Text
- creationTimestamp :: Maybe Text
- version :: Maybe Text
- id :: Maybe Text
- httpStatus :: Int
- newGetDeviceDefinitionVersionResponse :: Int -> GetDeviceDefinitionVersionResponse
- getDeviceDefinitionVersionResponse_definition :: Lens' GetDeviceDefinitionVersionResponse (Maybe DeviceDefinitionVersion)
- getDeviceDefinitionVersionResponse_arn :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text)
- getDeviceDefinitionVersionResponse_nextToken :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text)
- getDeviceDefinitionVersionResponse_creationTimestamp :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text)
- getDeviceDefinitionVersionResponse_version :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text)
- getDeviceDefinitionVersionResponse_id :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text)
- getDeviceDefinitionVersionResponse_httpStatus :: Lens' GetDeviceDefinitionVersionResponse Int
Creating a Request
data GetDeviceDefinitionVersion Source #
See: newGetDeviceDefinitionVersion
smart constructor.
GetDeviceDefinitionVersion' | |
|
Instances
newGetDeviceDefinitionVersion Source #
:: Text | |
-> Text | |
-> GetDeviceDefinitionVersion |
Create a value of GetDeviceDefinitionVersion
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:GetDeviceDefinitionVersion'
, getDeviceDefinitionVersion_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:deviceDefinitionVersionId:GetDeviceDefinitionVersion'
, getDeviceDefinitionVersion_deviceDefinitionVersionId
- The ID of the device definition version. This value maps to the
''Version'' property of the corresponding ''VersionInformation''
object, which is returned by ''ListDeviceDefinitionVersions''
requests. If the version is the last one that was associated with a
device definition, the value also maps to the ''LatestVersion''
property of the corresponding ''DefinitionInformation'' object.
$sel:deviceDefinitionId:GetDeviceDefinitionVersion'
, getDeviceDefinitionVersion_deviceDefinitionId
- The ID of the device definition.
Request Lenses
getDeviceDefinitionVersion_nextToken :: Lens' GetDeviceDefinitionVersion (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
getDeviceDefinitionVersion_deviceDefinitionVersionId :: Lens' GetDeviceDefinitionVersion Text Source #
The ID of the device definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListDeviceDefinitionVersions'' requests. If the version is the last one that was associated with a device definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.
getDeviceDefinitionVersion_deviceDefinitionId :: Lens' GetDeviceDefinitionVersion Text Source #
The ID of the device definition.
Destructuring the Response
data GetDeviceDefinitionVersionResponse Source #
See: newGetDeviceDefinitionVersionResponse
smart constructor.
GetDeviceDefinitionVersionResponse' | |
|
Instances
newGetDeviceDefinitionVersionResponse Source #
Create a value of GetDeviceDefinitionVersionResponse
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:definition:GetDeviceDefinitionVersionResponse'
, getDeviceDefinitionVersionResponse_definition
- Information about the device definition version.
$sel:arn:GetDeviceDefinitionVersionResponse'
, getDeviceDefinitionVersionResponse_arn
- The ARN of the device definition version.
$sel:nextToken:GetDeviceDefinitionVersion'
, getDeviceDefinitionVersionResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:creationTimestamp:GetDeviceDefinitionVersionResponse'
, getDeviceDefinitionVersionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the device definition
version was created.
$sel:version:GetDeviceDefinitionVersionResponse'
, getDeviceDefinitionVersionResponse_version
- The version of the device definition version.
$sel:id:GetDeviceDefinitionVersionResponse'
, getDeviceDefinitionVersionResponse_id
- The ID of the device definition version.
$sel:httpStatus:GetDeviceDefinitionVersionResponse'
, getDeviceDefinitionVersionResponse_httpStatus
- The response's http status code.
Response Lenses
getDeviceDefinitionVersionResponse_definition :: Lens' GetDeviceDefinitionVersionResponse (Maybe DeviceDefinitionVersion) Source #
Information about the device definition version.
getDeviceDefinitionVersionResponse_arn :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text) Source #
The ARN of the device definition version.
getDeviceDefinitionVersionResponse_nextToken :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
getDeviceDefinitionVersionResponse_creationTimestamp :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the device definition version was created.
getDeviceDefinitionVersionResponse_version :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text) Source #
The version of the device definition version.
getDeviceDefinitionVersionResponse_id :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text) Source #
The ID of the device definition version.
getDeviceDefinitionVersionResponse_httpStatus :: Lens' GetDeviceDefinitionVersionResponse Int Source #
The response's http status code.