DataZone / Client / create_listing_change_set
create_listing_change_set#
- DataZone.Client.create_listing_change_set(**kwargs)#
- Publishes a listing (a record of an asset at a given time) or removes a listing from the catalog. - See also: AWS API Documentation - Request Syntax- response = client.create_listing_change_set( action='PUBLISH'|'UNPUBLISH', clientToken='string', domainIdentifier='string', entityIdentifier='string', entityRevision='string', entityType='ASSET'|'DATA_PRODUCT' ) - Parameters:
- action (string) – - [REQUIRED] - Specifies whether to publish or unpublish a listing. 
- clientToken (string) – - A unique, case-sensitive identifier that is provided to ensure the idempotency of the request. - This field is autopopulated if not provided. 
- domainIdentifier (string) – - [REQUIRED] - The ID of the Amazon DataZone domain. 
- entityIdentifier (string) – - [REQUIRED] - The ID of the asset. 
- entityRevision (string) – The revision of an asset. 
- entityType (string) – - [REQUIRED] - The type of an entity. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'listingId': 'string', 'listingRevision': 'string', 'status': 'CREATING'|'ACTIVE'|'INACTIVE' } - Response Structure- (dict) – - listingId (string) – - The ID of the listing (a record of an asset at a given time). 
- listingRevision (string) – - The revision of a listing. 
- status (string) – - Specifies the status of the listing. 
 
 
 - Exceptions- DataZone.Client.exceptions.InternalServerException
- DataZone.Client.exceptions.ResourceNotFoundException
- DataZone.Client.exceptions.AccessDeniedException
- DataZone.Client.exceptions.ThrottlingException
- DataZone.Client.exceptions.ServiceQuotaExceededException
- DataZone.Client.exceptions.ConflictException
- DataZone.Client.exceptions.ValidationException
- DataZone.Client.exceptions.UnauthorizedException