list_batch
async
¶
list_batch(
*,
config_overrides: Optional[AsyncOmicsClientConfig] = 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/async_omics.py
2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 | |