batch_disassociate_project_assets
(**kwargs)¶Disassociates a group (batch) of assets from an IoT SiteWise Monitor project.
See also: AWS API Documentation
Request Syntax
response = client.batch_disassociate_project_assets(
projectId='string',
assetIds=[
'string',
],
clientToken='string'
)
[REQUIRED]
The ID of the project from which to disassociate the assets.
[REQUIRED]
The IDs of the assets to be disassociated from the project.
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.
This field is autopopulated if not provided.
dict
Response Syntax
{
'errors': [
{
'assetId': 'string',
'code': 'INTERNAL_FAILURE',
'message': 'string'
},
]
}
Response Structure
(dict) --
errors (list) --
A list of associated error information, if any.
(dict) --
Contains error details for the requested associate project asset action.
assetId (string) --
The ID of the asset.
code (string) --
The error code.
message (string) --
The error message.
Exceptions
IoTSiteWise.Client.exceptions.InvalidRequestException
IoTSiteWise.Client.exceptions.ResourceNotFoundException
IoTSiteWise.Client.exceptions.InternalFailureException
IoTSiteWise.Client.exceptions.ThrottlingException