list_compute_quotas
async
¶
list_compute_quotas(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
18287 18288 18289 18290 18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302 18303 18304 18305 18306 18307 18308 18309 18310 18311 18312 18313 18314 18315 18316 18317 18318 18319 18320 18321 18322 18323 18324 18325 18326 18327 18328 18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 18361 18362 18363 18364 | |