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

Description

Associates a group (batch) of assets with an IoT SiteWise Monitor project.

Synopsis

Creating a Request

data BatchAssociateProjectAssets Source #

See: newBatchAssociateProjectAssets smart constructor.

Constructors

BatchAssociateProjectAssets' 

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 to which to associate the assets.

  • assetIds :: NonEmpty Text

    The IDs of the assets to be associated to the project.

Instances

Instances details
Eq BatchAssociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

Read BatchAssociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

Show BatchAssociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

Generic BatchAssociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

Associated Types

type Rep BatchAssociateProjectAssets :: Type -> Type #

NFData BatchAssociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

Hashable BatchAssociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

ToJSON BatchAssociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

AWSRequest BatchAssociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

ToHeaders BatchAssociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

ToPath BatchAssociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

ToQuery BatchAssociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

type Rep BatchAssociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

type Rep BatchAssociateProjectAssets = D1 ('MetaData "BatchAssociateProjectAssets" "Amazonka.IoTSiteWise.BatchAssociateProjectAssets" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "BatchAssociateProjectAssets'" '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 BatchAssociateProjectAssets Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

newBatchAssociateProjectAssets Source #

Create a value of BatchAssociateProjectAssets 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:BatchAssociateProjectAssets', batchAssociateProjectAssets_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:BatchAssociateProjectAssets', batchAssociateProjectAssets_projectId - The ID of the project to which to associate the assets.

$sel:assetIds:BatchAssociateProjectAssets', batchAssociateProjectAssets_assetIds - The IDs of the assets to be associated to the project.

Request Lenses

batchAssociateProjectAssets_clientToken :: Lens' BatchAssociateProjectAssets (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.

batchAssociateProjectAssets_projectId :: Lens' BatchAssociateProjectAssets Text Source #

The ID of the project to which to associate the assets.

batchAssociateProjectAssets_assetIds :: Lens' BatchAssociateProjectAssets (NonEmpty Text) Source #

The IDs of the assets to be associated to the project.

Destructuring the Response

data BatchAssociateProjectAssetsResponse Source #

Constructors

BatchAssociateProjectAssetsResponse' 

Fields

Instances

Instances details
Eq BatchAssociateProjectAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

Read BatchAssociateProjectAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

Show BatchAssociateProjectAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

Generic BatchAssociateProjectAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

NFData BatchAssociateProjectAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

type Rep BatchAssociateProjectAssetsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchAssociateProjectAssets

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

newBatchAssociateProjectAssetsResponse Source #

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

$sel:httpStatus:BatchAssociateProjectAssetsResponse', batchAssociateProjectAssetsResponse_httpStatus - The response's http status code.

Response Lenses