amazonka-greengrassv2-2.0: Amazon IoT Greengrass V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.GreengrassV2.Types.InstalledComponent

Description

 
Synopsis

Documentation

data InstalledComponent Source #

Contains information about a component on a Greengrass core device.

See: newInstalledComponent smart constructor.

Constructors

InstalledComponent' 

Fields

  • componentName :: Maybe Text

    The name of the component.

  • componentVersion :: Maybe Text

    The version of the component.

  • isRoot :: Maybe Bool

    Whether or not the component is a root component.

  • lastInstallationSource :: Maybe Text

    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.

  • lastReportedTimestamp :: Maybe POSIX

    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.

  • lastStatusChangeTimestamp :: Maybe POSIX

    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.

  • lifecycleState :: Maybe InstalledComponentLifecycleState

    The lifecycle state of the component.

  • lifecycleStateDetails :: Maybe Text

    A detailed response about the lifecycle state of the component that explains the reason why a component has an error or is broken.

  • lifecycleStatusCodes :: Maybe [Text]

    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.

Instances

Instances details
FromJSON InstalledComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.InstalledComponent

Generic InstalledComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.InstalledComponent

Associated Types

type Rep InstalledComponent :: Type -> Type #

Read InstalledComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.InstalledComponent

Show InstalledComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.InstalledComponent

NFData InstalledComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.InstalledComponent

Methods

rnf :: InstalledComponent -> () #

Eq InstalledComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.InstalledComponent

Hashable InstalledComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.InstalledComponent

type Rep InstalledComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.InstalledComponent

type Rep InstalledComponent = D1 ('MetaData "InstalledComponent" "Amazonka.GreengrassV2.Types.InstalledComponent" "amazonka-greengrassv2-2.0-CXiJQl197i43YI1Cz5IpiZ" 'False) (C1 ('MetaCons "InstalledComponent'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "componentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "componentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "isRoot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "lastInstallationSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "lastReportedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastStatusChangeTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "lifecycleState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstalledComponentLifecycleState)) :*: (S1 ('MetaSel ('Just "lifecycleStateDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lifecycleStatusCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))))

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_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_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.