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
12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 | |