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
18033 18034 18035 18036 18037 18038 18039 18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 18104 18105 18106 18107 18108 18109 | |