list_compute_quotas
¶
list_compute_quotas(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
created_after: Optional[Timestamp] = None,
created_before: Optional[Timestamp] = None,
name_contains: Optional[EntityName] = None,
status: Optional[SchedulerResourceStatus] = None,
cluster_arn: Optional[ClusterArn] = None,
sort_by: Optional[SortQuotaBy] = None,
sort_order: Optional[SortOrder] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListComputeQuotasResponse
List the resource allocation definitions.
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.
-
status(Optional[SchedulerResourceStatus], default:None) –Filter for status.
-
cluster_arn(Optional[ClusterArn], default:None) –Filter for ARN of the cluster.
-
sort_by(Optional[SortQuotaBy], 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 compute allocation definitions to list.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
20290 20291 20292 20293 20294 20295 20296 20297 20298 20299 20300 20301 20302 20303 20304 20305 20306 20307 20308 20309 20310 20311 20312 20313 20314 20315 20316 20317 20318 20319 20320 20321 20322 20323 20324 20325 20326 20327 20328 20329 20330 20331 20332 20333 20334 20335 20336 20337 20338 20339 20340 20341 20342 20343 20344 20345 20346 20347 20348 20349 20350 20351 20352 20353 20354 20355 20356 20357 20358 20359 20360 20361 20362 20363 20364 20365 20366 | |