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
20575 20576 20577 20578 20579 20580 20581 20582 20583 20584 20585 20586 20587 20588 20589 20590 20591 20592 20593 20594 20595 20596 20597 20598 20599 20600 20601 20602 20603 20604 20605 20606 20607 20608 20609 20610 20611 20612 20613 20614 20615 20616 20617 20618 20619 20620 20621 20622 20623 20624 20625 20626 20627 20628 20629 20630 20631 20632 20633 20634 20635 20636 20637 20638 20639 20640 20641 20642 20643 20644 20645 20646 20647 20648 20649 20650 20651 20652 | |