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

Description

Retrieves information about a component type.

Synopsis

Creating a Request

data GetComponentType Source #

See: newGetComponentType smart constructor.

Constructors

GetComponentType' 

Fields

Instances

Instances details
ToHeaders GetComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

ToPath GetComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

ToQuery GetComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

AWSRequest GetComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

Associated Types

type AWSResponse GetComponentType #

Generic GetComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

Associated Types

type Rep GetComponentType :: Type -> Type #

Read GetComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

Show GetComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

NFData GetComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

Methods

rnf :: GetComponentType -> () #

Eq GetComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

Hashable GetComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

type AWSResponse GetComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

type Rep GetComponentType Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

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

newGetComponentType Source #

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

GetComponentType, getComponentType_workspaceId - The ID of the workspace that contains the component type.

GetComponentType, getComponentType_componentTypeId - The ID of the component type.

Request Lenses

getComponentType_workspaceId :: Lens' GetComponentType Text Source #

The ID of the workspace that contains the component type.

Destructuring the Response

data GetComponentTypeResponse Source #

See: newGetComponentTypeResponse smart constructor.

Constructors

GetComponentTypeResponse' 

Fields

Instances

Instances details
Generic GetComponentTypeResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

Associated Types

type Rep GetComponentTypeResponse :: Type -> Type #

Read GetComponentTypeResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

Show GetComponentTypeResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

NFData GetComponentTypeResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

Eq GetComponentTypeResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

type Rep GetComponentTypeResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetComponentType

type Rep GetComponentTypeResponse = D1 ('MetaData "GetComponentTypeResponse" "Amazonka.IotTwinMaker.GetComponentType" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "GetComponentTypeResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "componentTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "extendsFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "functions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text FunctionResponse))))) :*: ((S1 ('MetaSel ('Just "isAbstract") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isSchemaInitialized") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "isSingleton") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "propertyDefinitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text PropertyDefinitionResponse)))))) :*: (((S1 ('MetaSel ('Just "propertyGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text PropertyGroupResponse))) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status))) :*: (S1 ('MetaSel ('Just "syncSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "componentTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "creationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: (S1 ('MetaSel ('Just "updateDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))))

newGetComponentTypeResponse Source #

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

GetComponentTypeResponse, getComponentTypeResponse_componentTypeName - The component type name.

GetComponentTypeResponse, getComponentTypeResponse_description - The description of the component type.

GetComponentTypeResponse, getComponentTypeResponse_extendsFrom - The name of the parent component type that this component type extends.

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

GetComponentTypeResponse, getComponentTypeResponse_isAbstract - A Boolean value that specifies whether the component type is abstract.

$sel:isSchemaInitialized:GetComponentTypeResponse', getComponentTypeResponse_isSchemaInitialized - A Boolean value that specifies whether the component type has a schema initializer and that the schema initializer has run.

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

$sel:propertyDefinitions:GetComponentTypeResponse', getComponentTypeResponse_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.

GetComponentTypeResponse, getComponentTypeResponse_propertyGroups - The maximum number of results to return at one time. The default is 25.

Valid Range: Minimum value of 1. Maximum value of 250.

GetComponentTypeResponse, getComponentTypeResponse_status - The current status of the component type.

GetComponentTypeResponse, getComponentTypeResponse_syncSource - The syncSource of the sync job, if this entity was created by a sync job.

$sel:httpStatus:GetComponentTypeResponse', getComponentTypeResponse_httpStatus - The response's http status code.

GetComponentType, getComponentTypeResponse_workspaceId - The ID of the workspace that contains the component type.

GetComponentType, getComponentTypeResponse_componentTypeId - The ID of the component type.

GetComponentTypeResponse, getComponentTypeResponse_creationDateTime - The date and time when the component type was created.

GetComponentTypeResponse, getComponentTypeResponse_updateDateTime - The date and time when the component was last updated.

GetComponentTypeResponse, getComponentTypeResponse_arn - The ARN of the component type.

Response Lenses

getComponentTypeResponse_extendsFrom :: Lens' GetComponentTypeResponse (Maybe [Text]) Source #

The name of the parent component type that this component type extends.

getComponentTypeResponse_functions :: Lens' GetComponentTypeResponse (Maybe (HashMap Text FunctionResponse)) Source #

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

getComponentTypeResponse_isAbstract :: Lens' GetComponentTypeResponse (Maybe Bool) Source #

A Boolean value that specifies whether the component type is abstract.

getComponentTypeResponse_isSchemaInitialized :: Lens' GetComponentTypeResponse (Maybe Bool) Source #

A Boolean value that specifies whether the component type has a schema initializer and that the schema initializer has run.

getComponentTypeResponse_isSingleton :: Lens' GetComponentTypeResponse (Maybe Bool) Source #

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

getComponentTypeResponse_propertyDefinitions :: Lens' GetComponentTypeResponse (Maybe (HashMap Text PropertyDefinitionResponse)) 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.

getComponentTypeResponse_propertyGroups :: Lens' GetComponentTypeResponse (Maybe (HashMap Text PropertyGroupResponse)) Source #

The maximum number of results to return at one time. The default is 25.

Valid Range: Minimum value of 1. Maximum value of 250.

getComponentTypeResponse_status :: Lens' GetComponentTypeResponse (Maybe Status) Source #

The current status of the component type.

getComponentTypeResponse_syncSource :: Lens' GetComponentTypeResponse (Maybe Text) Source #

The syncSource of the sync job, if this entity was created by a sync job.

getComponentTypeResponse_workspaceId :: Lens' GetComponentTypeResponse Text Source #

The ID of the workspace that contains the component type.

getComponentTypeResponse_creationDateTime :: Lens' GetComponentTypeResponse UTCTime Source #

The date and time when the component type was created.

getComponentTypeResponse_updateDateTime :: Lens' GetComponentTypeResponse UTCTime Source #

The date and time when the component was last updated.