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
20668 20669 20670 20671 20672 20673 20674 20675 20676 20677 20678 20679 20680 20681 20682 20683 20684 20685 20686 20687 20688 20689 20690 20691 20692 20693 20694 20695 20696 20697 20698 20699 20700 20701 20702 20703 20704 20705 20706 20707 20708 20709 20710 20711 20712 20713 20714 20715 20716 20717 20718 20719 20720 20721 20722 20723 20724 20725 20726 20727 20728 20729 20730 20731 20732 20733 20734 20735 20736 20737 20738 20739 20740 20741 20742 20743 20744 20745 20746 20747 20748 20749 20750 20751 20752 20753 20754 20755 20756 20757 20758 20759 20760 20761 20762 20763 20764 20765 20766 20767 20768 20769 20770 20771 20772 20773 20774 20775 | |