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

Description

Updates information in a component type.

Synopsis

Creating a Request

data UpdateComponentType Source #

See: newUpdateComponentType smart constructor.

Constructors

UpdateComponentType' 

Fields

Instances

Instances details
ToJSON UpdateComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

ToHeaders UpdateComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

ToPath UpdateComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

ToQuery UpdateComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

AWSRequest UpdateComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

Associated Types

type AWSResponse UpdateComponentType #

Generic UpdateComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

Associated Types

type Rep UpdateComponentType :: Type -> Type #

Read UpdateComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

Show UpdateComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

NFData UpdateComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

Methods

rnf :: UpdateComponentType -> () #

Eq UpdateComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

Hashable UpdateComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

type AWSResponse UpdateComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

type Rep UpdateComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

newUpdateComponentType Source #

Create a value of UpdateComponentType 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:

UpdateComponentType, updateComponentType_componentTypeName - The component type name.

UpdateComponentType, updateComponentType_description - The description of the component type.

UpdateComponentType, updateComponentType_extendsFrom - Specifies the component type that this component type extends.

$sel:functions:UpdateComponentType', updateComponentType_functions - An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.

$sel:isSingleton:UpdateComponentType', updateComponentType_isSingleton - A Boolean value that specifies whether an entity can have more than one component of this type.

$sel:propertyDefinitions:UpdateComponentType', updateComponentType_propertyDefinitions - An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.

UpdateComponentType, updateComponentType_propertyGroups - The property groups

UpdateComponentType, updateComponentType_workspaceId - The ID of the workspace.

UpdateComponentType, updateComponentType_componentTypeId - The ID of the component type.

Request Lenses

updateComponentType_description :: Lens' UpdateComponentType (Maybe Text) Source #

The description of the component type.

updateComponentType_extendsFrom :: Lens' UpdateComponentType (Maybe [Text]) Source #

Specifies the component type that this component type extends.

updateComponentType_functions :: Lens' UpdateComponentType (Maybe (HashMap Text FunctionRequest)) Source #

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

updateComponentType_isSingleton :: Lens' UpdateComponentType (Maybe Bool) Source #

A Boolean value that specifies whether an entity can have more than one component of this type.

updateComponentType_propertyDefinitions :: Lens' UpdateComponentType (Maybe (HashMap Text PropertyDefinitionRequest)) Source #

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

Destructuring the Response

data UpdateComponentTypeResponse Source #

See: newUpdateComponentTypeResponse smart constructor.

Constructors

UpdateComponentTypeResponse' 

Fields

Instances

Instances details
Generic UpdateComponentTypeResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

Associated Types

type Rep UpdateComponentTypeResponse :: Type -> Type #

Read UpdateComponentTypeResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

Show UpdateComponentTypeResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

NFData UpdateComponentTypeResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

Eq UpdateComponentTypeResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

type Rep UpdateComponentTypeResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.UpdateComponentType

type Rep UpdateComponentTypeResponse = D1 ('MetaData "UpdateComponentTypeResponse" "Amazonka.IotTwinMaker.UpdateComponentType" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "UpdateComponentTypeResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "componentTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 State)))))

newUpdateComponentTypeResponse Source #

Create a value of UpdateComponentTypeResponse 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:httpStatus:UpdateComponentTypeResponse', updateComponentTypeResponse_httpStatus - The response's http status code.

UpdateComponentType, updateComponentTypeResponse_workspaceId - The ID of the workspace that contains the component type.

UpdateComponentTypeResponse, updateComponentTypeResponse_arn - The ARN of the component type.

UpdateComponentType, updateComponentTypeResponse_componentTypeId - The ID of the component type.

UpdateComponentTypeResponse, updateComponentTypeResponse_state - The current state of the component type.

Response Lenses

updateComponentTypeResponse_workspaceId :: Lens' UpdateComponentTypeResponse Text Source #

The ID of the workspace that contains the component type.