update_data_source
¶
update_data_source(
domain_identifier: DomainId,
identifier: DataSourceId,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
name: Optional[Name] = None,
description: Optional[Description] = None,
enable_setting: Optional[EnableSetting] = None,
publish_on_import: Optional[bool] = None,
asset_forms_input: Optional[FormInputList] = None,
schedule: Optional[ScheduleConfiguration] = None,
configuration: Optional[DataSourceConfigurationInput] = None,
recommendation: Optional[RecommendationConfiguration] = None,
retain_permissions_on_revoke_failure: Optional[bool] = None,
) -> UpdateDataSourceOutput
Updates the specified data source in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The identifier of the domain in which to update a data source.
-
identifier(DataSourceId) –The identifier of the data source to be updated.
-
name(Optional[Name], default:None) –The name to be updated as part of the
UpdateDataSourceaction. -
description(Optional[Description], default:None) –The description to be updated as part of the
UpdateDataSourceaction. -
enable_setting(Optional[EnableSetting], default:None) –The enable setting to be updated as part of the
UpdateDataSourceaction. -
publish_on_import(Optional[bool], default:None) –The publish on import setting to be updated as part of the
UpdateDataSourceaction. -
asset_forms_input(Optional[FormInputList], default:None) –The asset forms to be updated as part of the
UpdateDataSourceaction. -
schedule(Optional[ScheduleConfiguration], default:None) –The schedule to be updated as part of the
UpdateDataSourceaction. -
configuration(Optional[DataSourceConfigurationInput], default:None) –The configuration to be updated as part of the
UpdateDataSourceaction. -
recommendation(Optional[RecommendationConfiguration], default:None) –The recommendation to be updated as part of the
UpdateDataSourceaction. -
retain_permissions_on_revoke_failure(Optional[bool], default:None) –Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
ConflictException–There is a conflict while performing this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ServiceQuotaExceededException–The request has exceeded the specified service quota.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/data_zone.py
12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 | |