update_revision
¶
update_revision(
data_set_id: Id,
revision_id: Id,
*,
config_overrides: Optional[DataExchangeClientConfig] = None,
comment: Optional[__stringMin0Max16384] = None,
finalized: Optional[__boolean] = None,
) -> UpdateRevisionResponse
This operation updates a revision.
Parameters:
-
comment(Optional[__stringMin0Max16384], default:None) –An optional comment about the revision.
-
data_set_id(Id) –The unique identifier for a data set.
-
finalized(Optional[__boolean], default:None) –Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products.
-
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.
Source code in docs_src/capo_dataexchange/_services/data_exchange.py
2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 | |