list_training_plans
async
¶
list_training_plans(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
start_time_after: Optional[Timestamp] = None,
start_time_before: Optional[Timestamp] = None,
sort_by: Optional[TrainingPlanSortBy] = None,
sort_order: Optional[TrainingPlanSortOrder] = None,
filters: Optional[TrainingPlanFilters] = None,
) -> ListTrainingPlansResponse
Retrieves a list of training plans for the current account.
Parameters:
-
next_token(Optional[NextToken], default:None) –A token to continue pagination if more results are available.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in the response.
-
start_time_after(Optional[Timestamp], default:None) –Filter to list only training plans with an actual start time after this date.
-
start_time_before(Optional[Timestamp], default:None) –Filter to list only training plans with an actual start time before this date.
-
sort_by(Optional[TrainingPlanSortBy], default:None) –The training plan field to sort the results by (e.g., StartTime, Status).
-
sort_order(Optional[TrainingPlanSortOrder], default:None) –The order to sort the results (Ascending or Descending).
-
filters(Optional[TrainingPlanFilters], default:None) –Additional filters to apply to the list of training plans.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
26123 26124 26125 26126 26127 26128 26129 26130 26131 26132 26133 26134 26135 26136 26137 26138 26139 26140 26141 26142 26143 26144 26145 26146 26147 26148 26149 26150 26151 26152 26153 26154 26155 26156 26157 26158 26159 26160 26161 26162 26163 26164 26165 26166 26167 26168 26169 26170 26171 26172 26173 26174 26175 26176 26177 26178 26179 26180 26181 26182 26183 26184 26185 26186 26187 26188 26189 26190 26191 26192 26193 26194 26195 26196 | |