| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Greengrass.GetDeviceDefinition
Description
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_arn :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- getDeviceDefinitionResponse_creationTimestamp :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- getDeviceDefinitionResponse_id :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- getDeviceDefinitionResponse_lastUpdatedTimestamp :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- getDeviceDefinitionResponse_latestVersion :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- getDeviceDefinitionResponse_latestVersionArn :: Lens' GetDeviceDefinitionResponse (Maybe Text)
- getDeviceDefinitionResponse_name :: 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.
Constructors
| GetDeviceDefinition' | |
Fields
| |
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.
Constructors
| GetDeviceDefinitionResponse' | |
Fields
| |
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:
GetDeviceDefinitionResponse, getDeviceDefinitionResponse_arn - The ARN of the definition.
GetDeviceDefinitionResponse, getDeviceDefinitionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the definition was
created.
GetDeviceDefinitionResponse, getDeviceDefinitionResponse_id - The ID of the definition.
GetDeviceDefinitionResponse, getDeviceDefinitionResponse_lastUpdatedTimestamp - The time, in milliseconds since the epoch, when the definition was last
updated.
GetDeviceDefinitionResponse, getDeviceDefinitionResponse_latestVersion - The ID of the latest version associated with the definition.
GetDeviceDefinitionResponse, getDeviceDefinitionResponse_latestVersionArn - The ARN of the latest version associated with the definition.
GetDeviceDefinitionResponse, getDeviceDefinitionResponse_name - The name of the definition.
GetDeviceDefinitionResponse, getDeviceDefinitionResponse_tags - Tag(s) attached to the resource arn.
$sel:httpStatus:GetDeviceDefinitionResponse', getDeviceDefinitionResponse_httpStatus - The response's http status code.
Response Lenses
getDeviceDefinitionResponse_arn :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
The ARN 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_lastUpdatedTimestamp :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
getDeviceDefinitionResponse_latestVersion :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
The ID of the latest version associated with the definition.
getDeviceDefinitionResponse_latestVersionArn :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
The ARN of the latest version associated with the definition.
getDeviceDefinitionResponse_name :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #
The name of the definition.
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.