list_endpoints
async
¶
list_endpoints(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
sort_by: Optional[EndpointSortKey] = None,
sort_order: Optional[OrderKey] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
name_contains: Optional[EndpointNameContains] = 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[EndpointStatus] = None,
) -> ListEndpointsOutput
Lists endpoints.
Parameters:
-
sort_by(Optional[EndpointSortKey], default:None) –Sorts the list of results. 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) –If the result of a
ListEndpointsrequest was truncated, the response includes aNextToken. To retrieve the next set of endpoints, use the token in the next request. -
max_results(Optional[MaxResults], default:None) –The maximum number of endpoints to return in the response. This value defaults to 10.
-
name_contains(Optional[EndpointNameContains], default:None) –A string in endpoint names. This filter returns only endpoints whose name contains the specified string.
-
creation_time_before(Optional[Timestamp], default:None) –A filter that returns only endpoints that were created before the specified time (timestamp).
-
creation_time_after(Optional[Timestamp], default:None) –A filter that returns only endpoints with a creation time greater than or equal to the specified time (timestamp).
-
last_modified_time_before(Optional[Timestamp], default:None) –A filter that returns only endpoints that were modified before the specified timestamp.
-
last_modified_time_after(Optional[Timestamp], default:None) –A filter that returns only endpoints that were modified after the specified timestamp.
-
status_equals(Optional[EndpointStatus], default:None) –A filter that returns only endpoints with the specified status.
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
21670 21671 21672 21673 21674 21675 21676 21677 21678 21679 21680 21681 21682 21683 21684 21685 21686 21687 21688 21689 21690 21691 21692 21693 21694 21695 21696 21697 21698 21699 21700 21701 21702 21703 21704 21705 21706 21707 21708 21709 21710 21711 21712 21713 21714 21715 21716 21717 21718 21719 21720 21721 21722 21723 21724 21725 21726 21727 21728 21729 21730 21731 21732 21733 21734 21735 21736 21737 21738 21739 21740 21741 21742 21743 21744 21745 21746 21747 21748 21749 21750 21751 21752 21753 21754 21755 21756 21757 21758 21759 21760 21761 21762 21763 21764 21765 | |