list_endpoints
¶
list_endpoints(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
21374 21375 21376 21377 21378 21379 21380 21381 21382 21383 21384 21385 21386 21387 21388 21389 21390 21391 21392 21393 21394 21395 21396 21397 21398 21399 21400 21401 21402 21403 21404 21405 21406 21407 21408 21409 21410 21411 21412 21413 21414 21415 21416 21417 21418 21419 21420 21421 21422 21423 21424 21425 21426 21427 21428 21429 21430 21431 21432 21433 21434 21435 21436 21437 21438 21439 21440 21441 21442 21443 21444 21445 21446 21447 21448 21449 21450 21451 21452 21453 21454 21455 21456 21457 21458 21459 21460 21461 21462 21463 21464 21465 21466 21467 21468 | |