amazonka-iottwinmaker-2.0: Amazon IoT TwinMaker 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.IotTwinMaker.Types.ComponentRequest

Description

 
Synopsis

Documentation

data ComponentRequest Source #

An object that sets information about a component type create or update request.

See: newComponentRequest smart constructor.

Constructors

ComponentRequest' 

Fields

Instances

Instances details
ToJSON ComponentRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.ComponentRequest

Generic ComponentRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.ComponentRequest

Associated Types

type Rep ComponentRequest :: Type -> Type #

Read ComponentRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.ComponentRequest

Show ComponentRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.ComponentRequest

NFData ComponentRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.ComponentRequest

Methods

rnf :: ComponentRequest -> () #

Eq ComponentRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.ComponentRequest

Hashable ComponentRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.ComponentRequest

type Rep ComponentRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.ComponentRequest

type Rep ComponentRequest = D1 ('MetaData "ComponentRequest" "Amazonka.IotTwinMaker.Types.ComponentRequest" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "ComponentRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "componentTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text PropertyRequest))) :*: S1 ('MetaSel ('Just "propertyGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ComponentPropertyGroupRequest))))))

newComponentRequest :: ComponentRequest Source #

Create a value of ComponentRequest 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:componentTypeId:ComponentRequest', componentRequest_componentTypeId - The ID of the component type.

$sel:description:ComponentRequest', componentRequest_description - The description of the component request.

$sel:properties:ComponentRequest', componentRequest_properties - An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.

$sel:propertyGroups:ComponentRequest', componentRequest_propertyGroups - The property groups.

componentRequest_description :: Lens' ComponentRequest (Maybe Text) Source #

The description of the component request.

componentRequest_properties :: Lens' ComponentRequest (Maybe (HashMap Text PropertyRequest)) Source #

An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.