list_batch
¶
list_batch(
*,
config_overrides: Optional[OmicsClientConfig] = None,
max_items: Optional[int] = None,
starting_token: Optional[ListToken] = None,
status: Optional[BatchStatus] = None,
name: Optional[BatchName] = None,
run_group_id: Optional[RunGroupId] = None,
) -> ListBatchResponse
Returns a list of run batches in your account, with optional filtering by status, name, or run group. Results are paginated. Only one filter per call is supported.
Parameters:
-
max_items(Optional[int], default:None) –The maximum number of batches to return. If not specified, defaults to 100.
-
starting_token(Optional[ListToken], default:None) –A pagination token returned from a prior
ListBatchcall. -
status(Optional[BatchStatus], default:None) –Filter batches by status.
-
name(Optional[BatchName], default:None) –Filter batches by name.
-
run_group_id(Optional[RunGroupId], default:None) –Filter batches by run group ID.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–An unexpected error occurred. Try the request again.
-
RequestTimeoutException–The request timed out.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_omics/_services/omics.py
2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 | |