| 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.GreengrassV2.Types.InstalledComponent
Description
Synopsis
- data InstalledComponent = InstalledComponent' {
- componentName :: Maybe Text
- componentVersion :: Maybe Text
- isRoot :: Maybe Bool
- lastInstallationSource :: Maybe Text
- lastReportedTimestamp :: Maybe POSIX
- lastStatusChangeTimestamp :: Maybe POSIX
- lifecycleState :: Maybe InstalledComponentLifecycleState
- lifecycleStateDetails :: Maybe Text
- lifecycleStatusCodes :: Maybe [Text]
- newInstalledComponent :: InstalledComponent
- installedComponent_componentName :: Lens' InstalledComponent (Maybe Text)
- installedComponent_componentVersion :: Lens' InstalledComponent (Maybe Text)
- installedComponent_isRoot :: Lens' InstalledComponent (Maybe Bool)
- installedComponent_lastInstallationSource :: Lens' InstalledComponent (Maybe Text)
- installedComponent_lastReportedTimestamp :: Lens' InstalledComponent (Maybe UTCTime)
- installedComponent_lastStatusChangeTimestamp :: Lens' InstalledComponent (Maybe UTCTime)
- installedComponent_lifecycleState :: Lens' InstalledComponent (Maybe InstalledComponentLifecycleState)
- installedComponent_lifecycleStateDetails :: Lens' InstalledComponent (Maybe Text)
- installedComponent_lifecycleStatusCodes :: Lens' InstalledComponent (Maybe [Text])
Documentation
data InstalledComponent Source #
Contains information about a component on a Greengrass core device.
See: newInstalledComponent smart constructor.
Constructors
| InstalledComponent' | |
Fields
| |
Instances
newInstalledComponent :: InstalledComponent Source #
Create a value of InstalledComponent 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:componentName:InstalledComponent', installedComponent_componentName - The name of the component.
$sel:componentVersion:InstalledComponent', installedComponent_componentVersion - The version of the component.
$sel:isRoot:InstalledComponent', installedComponent_isRoot - Whether or not the component is a root component.
$sel:lastInstallationSource:InstalledComponent', installedComponent_lastInstallationSource - The most recent deployment source that brought the component to the
Greengrass core device. For a thing group deployment or thing
deployment, the source will be the The ID of the deployment. and for
local deployments it will be LOCAL.
$sel:lastReportedTimestamp:InstalledComponent', installedComponent_lastReportedTimestamp - The last time the Greengrass core device sent a message containing a
certain component to the Amazon Web Services Cloud.
A component does not need to see a state change for this field to update.
$sel:lastStatusChangeTimestamp:InstalledComponent', installedComponent_lastStatusChangeTimestamp - The status of how current the data is.
This response is based off of component state changes. The status reflects component disruptions and deployments. If a component only sees a configuration update during a deployment, it might not undergo a state change and this status would not be updated.
$sel:lifecycleState:InstalledComponent', installedComponent_lifecycleState - The lifecycle state of the component.
$sel:lifecycleStateDetails:InstalledComponent', installedComponent_lifecycleStateDetails - A detailed response about the lifecycle state of the component that
explains the reason why a component has an error or is broken.
$sel:lifecycleStatusCodes:InstalledComponent', installedComponent_lifecycleStatusCodes - The status codes that indicate the reason for failure whenever the
lifecycleState has an error or is in a broken state.
Greengrass nucleus v2.8.0 or later is required to get an accurate
lifecycleStatusCodes response. This response can be inaccurate in
earlier Greengrass nucleus versions.
installedComponent_componentName :: Lens' InstalledComponent (Maybe Text) Source #
The name of the component.
installedComponent_componentVersion :: Lens' InstalledComponent (Maybe Text) Source #
The version of the component.
installedComponent_isRoot :: Lens' InstalledComponent (Maybe Bool) Source #
Whether or not the component is a root component.
installedComponent_lastInstallationSource :: Lens' InstalledComponent (Maybe Text) Source #
The most recent deployment source that brought the component to the
Greengrass core device. For a thing group deployment or thing
deployment, the source will be the The ID of the deployment. and for
local deployments it will be LOCAL.
installedComponent_lastReportedTimestamp :: Lens' InstalledComponent (Maybe UTCTime) Source #
The last time the Greengrass core device sent a message containing a certain component to the Amazon Web Services Cloud.
A component does not need to see a state change for this field to update.
installedComponent_lastStatusChangeTimestamp :: Lens' InstalledComponent (Maybe UTCTime) Source #
The status of how current the data is.
This response is based off of component state changes. The status reflects component disruptions and deployments. If a component only sees a configuration update during a deployment, it might not undergo a state change and this status would not be updated.
installedComponent_lifecycleState :: Lens' InstalledComponent (Maybe InstalledComponentLifecycleState) Source #
The lifecycle state of the component.
installedComponent_lifecycleStateDetails :: Lens' InstalledComponent (Maybe Text) Source #
A detailed response about the lifecycle state of the component that explains the reason why a component has an error or is broken.
installedComponent_lifecycleStatusCodes :: Lens' InstalledComponent (Maybe [Text]) Source #
The status codes that indicate the reason for failure whenever the
lifecycleState has an error or is in a broken state.
Greengrass nucleus v2.8.0 or later is required to get an accurate
lifecycleStatusCodes response. This response can be inaccurate in
earlier Greengrass nucleus versions.