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

Description

 
Synopsis

Documentation

data ComponentConfigurationUpdate Source #

Contains information about a deployment's update to a component's configuration on Greengrass core devices. For more information, see Update component configurations in the IoT Greengrass V2 Developer Guide.

See: newComponentConfigurationUpdate smart constructor.

Constructors

ComponentConfigurationUpdate' 

Fields

  • reset :: Maybe [Text]

    The list of configuration nodes to reset to default values on target devices. Use JSON pointers to specify each node to reset. JSON pointers start with a forward slash (/) and use forward slashes to separate the key for each level in the object. For more information, see the JSON pointer specification and Reset configuration updates in the IoT Greengrass V2 Developer Guide.

  • merge :: Maybe Text

    A serialized JSON string that contains the configuration object to merge to target devices. The core device merges this configuration with the component's existing configuration. If this is the first time a component deploys on a device, the core device merges this configuration with the component's default configuration. This means that the core device keeps it's existing configuration for keys and values that you don't specify in this object. For more information, see Merge configuration updates in the IoT Greengrass V2 Developer Guide.

Instances

Instances details
Eq ComponentConfigurationUpdate Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentConfigurationUpdate

Read ComponentConfigurationUpdate Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentConfigurationUpdate

Show ComponentConfigurationUpdate Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentConfigurationUpdate

Generic ComponentConfigurationUpdate Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentConfigurationUpdate

Associated Types

type Rep ComponentConfigurationUpdate :: Type -> Type #

NFData ComponentConfigurationUpdate Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentConfigurationUpdate

Hashable ComponentConfigurationUpdate Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentConfigurationUpdate

ToJSON ComponentConfigurationUpdate Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentConfigurationUpdate

FromJSON ComponentConfigurationUpdate Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentConfigurationUpdate

type Rep ComponentConfigurationUpdate Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentConfigurationUpdate

type Rep ComponentConfigurationUpdate = D1 ('MetaData "ComponentConfigurationUpdate" "Amazonka.GreengrassV2.Types.ComponentConfigurationUpdate" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "ComponentConfigurationUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "merge") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newComponentConfigurationUpdate :: ComponentConfigurationUpdate Source #

Create a value of ComponentConfigurationUpdate 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:reset:ComponentConfigurationUpdate', componentConfigurationUpdate_reset - The list of configuration nodes to reset to default values on target devices. Use JSON pointers to specify each node to reset. JSON pointers start with a forward slash (/) and use forward slashes to separate the key for each level in the object. For more information, see the JSON pointer specification and Reset configuration updates in the IoT Greengrass V2 Developer Guide.

$sel:merge:ComponentConfigurationUpdate', componentConfigurationUpdate_merge - A serialized JSON string that contains the configuration object to merge to target devices. The core device merges this configuration with the component's existing configuration. If this is the first time a component deploys on a device, the core device merges this configuration with the component's default configuration. This means that the core device keeps it's existing configuration for keys and values that you don't specify in this object. For more information, see Merge configuration updates in the IoT Greengrass V2 Developer Guide.

componentConfigurationUpdate_reset :: Lens' ComponentConfigurationUpdate (Maybe [Text]) Source #

The list of configuration nodes to reset to default values on target devices. Use JSON pointers to specify each node to reset. JSON pointers start with a forward slash (/) and use forward slashes to separate the key for each level in the object. For more information, see the JSON pointer specification and Reset configuration updates in the IoT Greengrass V2 Developer Guide.

componentConfigurationUpdate_merge :: Lens' ComponentConfigurationUpdate (Maybe Text) Source #

A serialized JSON string that contains the configuration object to merge to target devices. The core device merges this configuration with the component's existing configuration. If this is the first time a component deploys on a device, the core device merges this configuration with the component's default configuration. This means that the core device keeps it's existing configuration for keys and values that you don't specify in this object. For more information, see Merge configuration updates in the IoT Greengrass V2 Developer Guide.