libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GreengrassV2.Types.CloudComponentStatus

Description

 
Synopsis

Documentation

data CloudComponentStatus Source #

Contains the status of a component in the IoT Greengrass service.

See: newCloudComponentStatus smart constructor.

Constructors

CloudComponentStatus' 

Fields

  • componentState :: Maybe CloudComponentState

    The state of the component.

  • message :: Maybe Text

    A message that communicates details, such as errors, about the status of the component.

  • errors :: Maybe (HashMap Text Text)

    A dictionary of errors that communicate why the component is in an error state. For example, if IoT Greengrass can't access an artifact for the component, then errors contains the artifact's URI as a key, and the error message as the value for that key.

Instances

Instances details
Eq CloudComponentStatus Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.CloudComponentStatus

Read CloudComponentStatus Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.CloudComponentStatus

Show CloudComponentStatus Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.CloudComponentStatus

Generic CloudComponentStatus Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.CloudComponentStatus

Associated Types

type Rep CloudComponentStatus :: Type -> Type #

NFData CloudComponentStatus Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.CloudComponentStatus

Methods

rnf :: CloudComponentStatus -> () #

Hashable CloudComponentStatus Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.CloudComponentStatus

FromJSON CloudComponentStatus Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.CloudComponentStatus

type Rep CloudComponentStatus Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.CloudComponentStatus

type Rep CloudComponentStatus = D1 ('MetaData "CloudComponentStatus" "Amazonka.GreengrassV2.Types.CloudComponentStatus" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "CloudComponentStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "componentState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudComponentState)) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))

newCloudComponentStatus :: CloudComponentStatus Source #

Create a value of CloudComponentStatus 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:componentState:CloudComponentStatus', cloudComponentStatus_componentState - The state of the component.

$sel:message:CloudComponentStatus', cloudComponentStatus_message - A message that communicates details, such as errors, about the status of the component.

$sel:errors:CloudComponentStatus', cloudComponentStatus_errors - A dictionary of errors that communicate why the component is in an error state. For example, if IoT Greengrass can't access an artifact for the component, then errors contains the artifact's URI as a key, and the error message as the value for that key.

cloudComponentStatus_message :: Lens' CloudComponentStatus (Maybe Text) Source #

A message that communicates details, such as errors, about the status of the component.

cloudComponentStatus_errors :: Lens' CloudComponentStatus (Maybe (HashMap Text Text)) Source #

A dictionary of errors that communicate why the component is in an error state. For example, if IoT Greengrass can't access an artifact for the component, then errors contains the artifact's URI as a key, and the error message as the value for that key.