update_subscription_target
¶
update_subscription_target(
domain_identifier: DomainId,
environment_identifier: EnvironmentId,
identifier: SubscriptionTargetId,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
name: Optional[SubscriptionTargetName] = None,
authorized_principals: Optional[AuthorizedPrincipalIdentifiers] = None,
applicable_asset_types: Optional[ApplicableAssetTypes] = None,
subscription_target_config: Optional[SubscriptionTargetForms] = None,
manage_access_role: Optional[IamRoleArn] = None,
provider: Optional[str] = None,
subscription_grant_creation_mode: Optional[SubscriptionGrantCreationMode] = None,
) -> UpdateSubscriptionTargetOutput
Updates the specified subscription target in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain in which a subscription target is to be updated.
-
environment_identifier(EnvironmentId) –The identifier of the environment in which a subscription target is to be updated.
-
identifier(SubscriptionTargetId) –Identifier of the subscription target that is to be updated.
-
name(Optional[SubscriptionTargetName], default:None) –The name to be updated as part of the
UpdateSubscriptionTargetaction. -
authorized_principals(Optional[AuthorizedPrincipalIdentifiers], default:None) –The authorized principals to be updated as part of the
UpdateSubscriptionTargetaction. -
applicable_asset_types(Optional[ApplicableAssetTypes], default:None) –The applicable asset types to be updated as part of the
UpdateSubscriptionTargetaction. -
subscription_target_config(Optional[SubscriptionTargetForms], default:None) –The configuration to be updated as part of the
UpdateSubscriptionTargetaction. -
manage_access_role(Optional[IamRoleArn], default:None) –The manage access role to be updated as part of the
UpdateSubscriptionTargetaction. -
provider(Optional[str], default:None) –The provider to be updated as part of the
UpdateSubscriptionTargetaction. -
subscription_grant_creation_mode(Optional[SubscriptionGrantCreationMode], default:None) –Determines the subscription grant creation mode for this target, defining if grants are auto-created upon subscription approval or managed manually.
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.
-
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
11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 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 | |