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
2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 | |