libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
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.IoTSiteWise.DescribeAssetModel

Description

Retrieves information about an asset model.

Synopsis

Creating a Request

data DescribeAssetModel Source #

See: newDescribeAssetModel smart constructor.

Constructors

DescribeAssetModel' 

Fields

Instances

Instances details
Eq DescribeAssetModel Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

Read DescribeAssetModel Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

Show DescribeAssetModel Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

Generic DescribeAssetModel Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

Associated Types

type Rep DescribeAssetModel :: Type -> Type #

NFData DescribeAssetModel Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

Methods

rnf :: DescribeAssetModel -> () #

Hashable DescribeAssetModel Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

AWSRequest DescribeAssetModel Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

Associated Types

type AWSResponse DescribeAssetModel #

ToHeaders DescribeAssetModel Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

ToPath DescribeAssetModel Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

ToQuery DescribeAssetModel Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

type Rep DescribeAssetModel Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

type Rep DescribeAssetModel = D1 ('MetaData "DescribeAssetModel" "Amazonka.IoTSiteWise.DescribeAssetModel" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "DescribeAssetModel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assetModelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeAssetModel Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

newDescribeAssetModel Source #

Create a value of DescribeAssetModel 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:assetModelId:DescribeAssetModel', describeAssetModel_assetModelId - The ID of the asset model.

Request Lenses

Destructuring the Response

data DescribeAssetModelResponse Source #

See: newDescribeAssetModelResponse smart constructor.

Constructors

DescribeAssetModelResponse' 

Fields

Instances

Instances details
Eq DescribeAssetModelResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

Read DescribeAssetModelResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

Show DescribeAssetModelResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

Generic DescribeAssetModelResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

Associated Types

type Rep DescribeAssetModelResponse :: Type -> Type #

NFData DescribeAssetModelResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

type Rep DescribeAssetModelResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAssetModel

type Rep DescribeAssetModelResponse = D1 ('MetaData "DescribeAssetModelResponse" "Amazonka.IoTSiteWise.DescribeAssetModel" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "DescribeAssetModelResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "assetModelCompositeModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AssetModelCompositeModel])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "assetModelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "assetModelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "assetModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "assetModelDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "assetModelProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [AssetModelProperty]) :*: S1 ('MetaSel ('Just "assetModelHierarchies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [AssetModelHierarchy]))) :*: (S1 ('MetaSel ('Just "assetModelCreationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: (S1 ('MetaSel ('Just "assetModelLastUpdateDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "assetModelStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AssetModelStatus))))))

newDescribeAssetModelResponse Source #

Create a value of DescribeAssetModelResponse 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:assetModelCompositeModels:DescribeAssetModelResponse', describeAssetModelResponse_assetModelCompositeModels - The list of composite asset models for the asset model.

$sel:httpStatus:DescribeAssetModelResponse', describeAssetModelResponse_httpStatus - The response's http status code.

$sel:assetModelId:DescribeAssetModel', describeAssetModelResponse_assetModelId - The ID of the asset model.

$sel:assetModelArn:DescribeAssetModelResponse', describeAssetModelResponse_assetModelArn - The ARN of the asset model, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}

$sel:assetModelName:DescribeAssetModelResponse', describeAssetModelResponse_assetModelName - The name of the asset model.

$sel:assetModelDescription:DescribeAssetModelResponse', describeAssetModelResponse_assetModelDescription - The asset model's description.

$sel:assetModelProperties:DescribeAssetModelResponse', describeAssetModelResponse_assetModelProperties - The list of asset properties for the asset model.

This object doesn't include properties that you define in composite models. You can find composite model properties in the assetModelCompositeModels object.

$sel:assetModelHierarchies:DescribeAssetModelResponse', describeAssetModelResponse_assetModelHierarchies - A list of asset model hierarchies that each contain a childAssetModelId and a hierarchyId (named id). A hierarchy specifies allowed parent/child asset relationships for an asset model.

$sel:assetModelCreationDate:DescribeAssetModelResponse', describeAssetModelResponse_assetModelCreationDate - The date the asset model was created, in Unix epoch time.

$sel:assetModelLastUpdateDate:DescribeAssetModelResponse', describeAssetModelResponse_assetModelLastUpdateDate - The date the asset model was last updated, in Unix epoch time.

$sel:assetModelStatus:DescribeAssetModelResponse', describeAssetModelResponse_assetModelStatus - The current status of the asset model, which contains a state and any error message.

Response Lenses

describeAssetModelResponse_assetModelArn :: Lens' DescribeAssetModelResponse Text Source #

The ARN of the asset model, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}

describeAssetModelResponse_assetModelProperties :: Lens' DescribeAssetModelResponse [AssetModelProperty] Source #

The list of asset properties for the asset model.

This object doesn't include properties that you define in composite models. You can find composite model properties in the assetModelCompositeModels object.

describeAssetModelResponse_assetModelHierarchies :: Lens' DescribeAssetModelResponse [AssetModelHierarchy] Source #

A list of asset model hierarchies that each contain a childAssetModelId and a hierarchyId (named id). A hierarchy specifies allowed parent/child asset relationships for an asset model.

describeAssetModelResponse_assetModelCreationDate :: Lens' DescribeAssetModelResponse UTCTime Source #

The date the asset model was created, in Unix epoch time.

describeAssetModelResponse_assetModelLastUpdateDate :: Lens' DescribeAssetModelResponse UTCTime Source #

The date the asset model was last updated, in Unix epoch time.

describeAssetModelResponse_assetModelStatus :: Lens' DescribeAssetModelResponse AssetModelStatus Source #

The current status of the asset model, which contains a state and any error message.