get_session
async
¶
get_session(
farm_id: FarmId,
queue_id: QueueId,
job_id: JobId,
session_id: SessionId,
*,
config_overrides: Optional[AsyncdeadlineClientConfig] = None,
) -> GetSessionResponse
Gets a session.
Parameters:
-
farm_id(FarmId) –The farm ID for the session.
-
queue_id(QueueId) –The queue ID for the session.
-
job_id(JobId) –The job ID for the session.
-
session_id(SessionId) –The session ID.
Raises:
-
AccessDeniedException–You don't have permission to perform the action.
-
InternalServerErrorException–Deadline Cloud can't process your request right now. Try again later.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a request rate quota.
-
ValidationException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.
-
UnknownServiceError–The service returned an error code this client does not model.