list_inference_components
async
¶
list_inference_components(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
sort_by: Optional[InferenceComponentSortKey] = None,
sort_order: Optional[OrderKey] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
name_contains: Optional[InferenceComponentNameContains] = None,
creation_time_before: Optional[Timestamp] = None,
creation_time_after: Optional[Timestamp] = None,
last_modified_time_before: Optional[Timestamp] = None,
last_modified_time_after: Optional[Timestamp] = None,
status_equals: Optional[InferenceComponentStatus] = None,
endpoint_name_equals: Optional[EndpointName] = None,
variant_name_equals: Optional[VariantName] = None,
) -> ListInferenceComponentsOutput
Lists the inference components in your account and their properties.
Parameters:
-
sort_by(Optional[InferenceComponentSortKey], default:None) –The field by which to sort the inference components in the response. The default is
CreationTime. -
sort_order(Optional[OrderKey], default:None) –The sort order for results. The default is
Descending. -
next_token(Optional[PaginationToken], default:None) –A token that you use to get the next set of results following a truncated response. If the response to the previous request was truncated, that response provides the value for this token.
-
max_results(Optional[MaxResults], default:None) –The maximum number of inference components to return in the response. This value defaults to 10.
-
name_contains(Optional[InferenceComponentNameContains], default:None) –Filters the results to only those inference components with a name that contains the specified string.
-
creation_time_before(Optional[Timestamp], default:None) –Filters the results to only those inference components that were created before the specified time.
-
creation_time_after(Optional[Timestamp], default:None) –Filters the results to only those inference components that were created after the specified time.
-
last_modified_time_before(Optional[Timestamp], default:None) –Filters the results to only those inference components that were updated before the specified time.
-
last_modified_time_after(Optional[Timestamp], default:None) –Filters the results to only those inference components that were updated after the specified time.
-
status_equals(Optional[InferenceComponentStatus], default:None) –Filters the results to only those inference components with the specified status.
-
endpoint_name_equals(Optional[EndpointName], default:None) –An endpoint name to filter the listed inference components. The response includes only those inference components that are hosted at the specified endpoint.
-
variant_name_equals(Optional[VariantName], default:None) –A production variant name to filter the listed inference components. The response includes only those inference components that are hosted at the specified variant.
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
23044 23045 23046 23047 23048 23049 23050 23051 23052 23053 23054 23055 23056 23057 23058 23059 23060 23061 23062 23063 23064 23065 23066 23067 23068 23069 23070 23071 23072 23073 23074 23075 23076 23077 23078 23079 23080 23081 23082 23083 23084 23085 23086 23087 23088 23089 23090 23091 23092 23093 23094 23095 23096 23097 23098 23099 23100 23101 23102 23103 23104 23105 23106 23107 23108 23109 23110 23111 23112 23113 23114 23115 23116 23117 23118 23119 23120 23121 23122 23123 23124 23125 23126 23127 23128 23129 23130 23131 23132 23133 23134 23135 23136 23137 23138 23139 23140 23141 23142 23143 23144 23145 23146 23147 23148 23149 23150 23151 | |