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

Description

Disassociates a child asset from the given parent asset through a hierarchy defined in the parent asset's model.

Synopsis

Creating a Request

data DisassociateAssets Source #

See: newDisassociateAssets smart constructor.

Constructors

DisassociateAssets' 

Fields

  • clientToken :: Maybe Text

    A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

  • assetId :: Text

    The ID of the parent asset from which to disassociate the child asset.

  • hierarchyId :: Text

    The ID of a hierarchy in the parent asset's model. Hierarchies allow different groupings of assets to be formed that all come from the same asset model. You can use the hierarchy ID to identify the correct asset to disassociate. For more information, see Asset hierarchies in the IoT SiteWise User Guide.

  • childAssetId :: Text

    The ID of the child asset to disassociate.

Instances

Instances details
Eq DisassociateAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

Read DisassociateAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

Show DisassociateAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

Generic DisassociateAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

Associated Types

type Rep DisassociateAssets :: Type -> Type #

NFData DisassociateAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

Methods

rnf :: DisassociateAssets -> () #

Hashable DisassociateAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

ToJSON DisassociateAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

AWSRequest DisassociateAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

Associated Types

type AWSResponse DisassociateAssets #

ToHeaders DisassociateAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

ToPath DisassociateAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

ToQuery DisassociateAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

type Rep DisassociateAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

type Rep DisassociateAssets = D1 ('MetaData "DisassociateAssets" "Amazonka.IoTSiteWise.DisassociateAssets" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "DisassociateAssets'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "assetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "hierarchyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "childAssetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DisassociateAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

newDisassociateAssets Source #

Create a value of DisassociateAssets 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:clientToken:DisassociateAssets', disassociateAssets_clientToken - A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

$sel:assetId:DisassociateAssets', disassociateAssets_assetId - The ID of the parent asset from which to disassociate the child asset.

$sel:hierarchyId:DisassociateAssets', disassociateAssets_hierarchyId - The ID of a hierarchy in the parent asset's model. Hierarchies allow different groupings of assets to be formed that all come from the same asset model. You can use the hierarchy ID to identify the correct asset to disassociate. For more information, see Asset hierarchies in the IoT SiteWise User Guide.

$sel:childAssetId:DisassociateAssets', disassociateAssets_childAssetId - The ID of the child asset to disassociate.

Request Lenses

disassociateAssets_clientToken :: Lens' DisassociateAssets (Maybe Text) Source #

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

disassociateAssets_assetId :: Lens' DisassociateAssets Text Source #

The ID of the parent asset from which to disassociate the child asset.

disassociateAssets_hierarchyId :: Lens' DisassociateAssets Text Source #

The ID of a hierarchy in the parent asset's model. Hierarchies allow different groupings of assets to be formed that all come from the same asset model. You can use the hierarchy ID to identify the correct asset to disassociate. For more information, see Asset hierarchies in the IoT SiteWise User Guide.

disassociateAssets_childAssetId :: Lens' DisassociateAssets Text Source #

The ID of the child asset to disassociate.

Destructuring the Response

data DisassociateAssetsResponse Source #

See: newDisassociateAssetsResponse smart constructor.

Instances

Instances details
Eq DisassociateAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

Read DisassociateAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

Show DisassociateAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

Generic DisassociateAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

Associated Types

type Rep DisassociateAssetsResponse :: Type -> Type #

NFData DisassociateAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

type Rep DisassociateAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DisassociateAssets

type Rep DisassociateAssetsResponse = D1 ('MetaData "DisassociateAssetsResponse" "Amazonka.IoTSiteWise.DisassociateAssets" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "DisassociateAssetsResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDisassociateAssetsResponse :: DisassociateAssetsResponse Source #

Create a value of DisassociateAssetsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.