update_dataset
async
¶
update_dataset(
dataset_id: ID,
dataset_name: RestrictedName,
dataset_source: DatasetSource,
*,
config_overrides: Optional[AsyncIoTSiteWiseClientConfig] = None,
workspace_name: Optional[WorkspaceName] = None,
dataset_description: Optional[Description] = None,
dataset_config: Optional[DatasetConfig] = None,
metadata: Optional[Metadata] = None,
client_token: Optional[ClientToken] = None,
) -> UpdateDatasetResponse
Updates a dataset.
Parameters:
-
dataset_id(ID) –The ID of the dataset.
-
workspace_name(Optional[WorkspaceName], default:None) –The name of the workspace that contains the dataset.
-
dataset_name(RestrictedName) –The name of the dataset.
-
dataset_description(Optional[Description], default:None) –A description about the dataset, and its functionality.
-
dataset_config(Optional[DatasetConfig], default:None) –The updated configuration for the dataset.
-
metadata(Optional[Metadata], default:None) –The updated metadata for the dataset.
-
dataset_source(DatasetSource) –The data source for the dataset.
-
client_token(Optional[ClientToken], default:None) –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.
Raises:
-
ConflictingOperationException–Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.
-
InternalFailureException–IoT SiteWise can't process your request right now. Try again later.
-
InvalidRequestException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.
-
LimitExceededException–You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.
For more information, see Quotas in the IoT SiteWise User Guide.
-
ResourceAlreadyExistsException–The resource already exists.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.
For more information, see Quotas in the IoT SiteWise User Guide.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iotsitewise/_services/async_io_t_site_wise.py
11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 | |