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

Description

Disassociates a group (batch) of assets from an IoT SiteWise Monitor project.

Synopsis

Creating a Request

data BatchDisassociateProjectAssets Source #

See: newBatchDisassociateProjectAssets smart constructor.

Constructors

BatchDisassociateProjectAssets' 

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.

  • projectId :: Text

    The ID of the project from which to disassociate the assets.

  • assetIds :: NonEmpty Text

    The IDs of the assets to be disassociated from the project.

Instances

Instances details
Eq BatchDisassociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

Read BatchDisassociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

Show BatchDisassociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

Generic BatchDisassociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

Associated Types

type Rep BatchDisassociateProjectAssets :: Type -> Type #

NFData BatchDisassociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

Hashable BatchDisassociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

ToJSON BatchDisassociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

AWSRequest BatchDisassociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

ToHeaders BatchDisassociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

ToPath BatchDisassociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

ToQuery BatchDisassociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

type Rep BatchDisassociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

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

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

newBatchDisassociateProjectAssets Source #

Create a value of BatchDisassociateProjectAssets 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:BatchDisassociateProjectAssets', batchDisassociateProjectAssets_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:projectId:BatchDisassociateProjectAssets', batchDisassociateProjectAssets_projectId - The ID of the project from which to disassociate the assets.

$sel:assetIds:BatchDisassociateProjectAssets', batchDisassociateProjectAssets_assetIds - The IDs of the assets to be disassociated from the project.

Request Lenses

batchDisassociateProjectAssets_clientToken :: Lens' BatchDisassociateProjectAssets (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.

batchDisassociateProjectAssets_projectId :: Lens' BatchDisassociateProjectAssets Text Source #

The ID of the project from which to disassociate the assets.

batchDisassociateProjectAssets_assetIds :: Lens' BatchDisassociateProjectAssets (NonEmpty Text) Source #

The IDs of the assets to be disassociated from the project.

Destructuring the Response

data BatchDisassociateProjectAssetsResponse Source #

Constructors

BatchDisassociateProjectAssetsResponse' 

Fields

Instances

Instances details
Eq BatchDisassociateProjectAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

Read BatchDisassociateProjectAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

Show BatchDisassociateProjectAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

Generic BatchDisassociateProjectAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

NFData BatchDisassociateProjectAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

type Rep BatchDisassociateProjectAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchDisassociateProjectAssets

type Rep BatchDisassociateProjectAssetsResponse = D1 ('MetaData "BatchDisassociateProjectAssetsResponse" "Amazonka.IoTSiteWise.BatchDisassociateProjectAssets" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "BatchDisassociateProjectAssetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AssetErrorDetails])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchDisassociateProjectAssetsResponse Source #

Create a value of BatchDisassociateProjectAssetsResponse 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:errors:BatchDisassociateProjectAssetsResponse', batchDisassociateProjectAssetsResponse_errors - A list of associated error information, if any.

$sel:httpStatus:BatchDisassociateProjectAssetsResponse', batchDisassociateProjectAssetsResponse_httpStatus - The response's http status code.

Response Lenses