list_cluster_scheduler_configs
async
¶
list_cluster_scheduler_configs(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
created_after: Optional[Timestamp] = None,
created_before: Optional[Timestamp] = None,
name_contains: Optional[EntityName] = None,
cluster_arn: Optional[ClusterArn] = None,
status: Optional[SchedulerResourceStatus] = None,
sort_by: Optional[SortClusterSchedulerConfigBy] = None,
sort_order: Optional[SortOrder] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListClusterSchedulerConfigsResponse
List the cluster policy configurations.
Parameters:
-
created_after(Optional[Timestamp], default:None) –Filter for after this creation time. The input for this parameter is a Unix timestamp. To convert a date and time into a Unix timestamp, see EpochConverter.
-
created_before(Optional[Timestamp], default:None) –Filter for before this creation time. The input for this parameter is a Unix timestamp. To convert a date and time into a Unix timestamp, see EpochConverter.
-
name_contains(Optional[EntityName], default:None) –Filter for name containing this string.
-
cluster_arn(Optional[ClusterArn], default:None) –Filter for ARN of the cluster.
-
status(Optional[SchedulerResourceStatus], default:None) –Filter for status.
-
sort_by(Optional[SortClusterSchedulerConfigBy], default:None) –Filter for sorting the list by a given value. For example, sort by name, creation time, or status.
-
sort_order(Optional[SortOrder], default:None) –The order of the list. By default, listed in
Descendingorder according to bySortBy. To change the list order, you can specifySortOrderto beAscending. -
next_token(Optional[NextToken], default:None) –If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of cluster policies to list.
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
20167 20168 20169 20170 20171 20172 20173 20174 20175 20176 20177 20178 20179 20180 20181 20182 20183 20184 20185 20186 20187 20188 20189 20190 20191 20192 20193 20194 20195 20196 20197 20198 20199 20200 20201 20202 20203 20204 20205 20206 20207 20208 20209 20210 20211 20212 20213 20214 20215 20216 20217 20218 20219 20220 20221 20222 20223 20224 20225 20226 20227 20228 20229 20230 20231 20232 20233 20234 20235 20236 20237 20238 20239 20240 20241 20242 20243 20244 20245 20246 | |