update_asset
async
¶
update_asset(
asset_id: Id,
data_set_id: Id,
name: AssetName,
revision_id: Id,
*,
config_overrides: Optional[AsyncDataExchangeClientConfig] = None,
) -> UpdateAssetResponse
This operation updates an asset.
Parameters:
-
asset_id(Id) –The unique identifier for an asset.
-
data_set_id(Id) –The unique identifier for a data set.
-
name(AssetName) –The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of "Database(s) included in the LF-tag policy" or "Table(s) included in LF-tag policy" are used as the name.
-
revision_id(Id) –The unique identifier for a revision.
Raises:
-
AccessDeniedException–Access to the resource is denied.
-
ConflictException–The request couldn't be completed because it conflicted with the current state of the resource.
-
InternalServerException–An exception occurred with the service.
-
ResourceNotFoundException–The resource couldn't be found.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The request was invalid.
-
UnknownServiceError–The service returned an error code this client does not model.