update_subscription_target
async
¶
update_subscription_target(
domain_identifier: DomainId,
environment_identifier: EnvironmentId,
identifier: SubscriptionTargetId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 | |