create_listing_change_set
async
¶
create_listing_change_set(
domain_identifier: DomainId,
entity_identifier: EntityIdentifier,
entity_type: EntityType,
action: ChangeAction,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
entity_revision: Optional[Revision] = None,
client_token: Optional[ClientToken] = None,
) -> CreateListingChangeSetOutput
Publishes a listing (a record of an asset at a given time) or removes a listing from the catalog.
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain.
-
entity_identifier(EntityIdentifier) –The ID of the asset.
-
entity_type(EntityType) –The type of an entity.
-
entity_revision(Optional[Revision], default:None) –The revision of an asset.
-
action(ChangeAction) –Specifies whether to publish or unpublish a listing.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
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/async_data_zone.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 2436 2437 2438 2439 2440 2441 2442 2443 | |