update_portal_publish_status
async
¶
update_portal_publish_status(
portal_id: PortalId,
status: DesiredPublishStatus,
*,
config_overrides: Optional[AsyncAPIPortalClientConfig] = None,
description: Optional[PublishDescription] = None,
) -> None
Publishes or disables a portal. The change runs asynchronously. Use GetPortal to track publishStatus.
Parameters:
-
portal_id(PortalId) –The identifier of the portal.
-
description(Optional[PublishDescription], default:None) –A description of this publish request, up to 1024 characters.
Raises:
-
AccessDeniedException–You do not have permission to perform this operation.
-
BadRequestException–The request is not valid. The message identifies the field or value that failed validation.
-
ConflictException–The request conflicts with the current state of the resource, for example because another operation on it is still in progress.
-
LimitExceededException–The request rate or a service quota was exceeded. Reduce the request rate or the number of resources and try again.
-
ResourceNotFoundException–The requested resource does not exist, or you do not have access to it.
-
UnknownServiceError–The service returned an error code this client does not model.