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
19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 19401 19402 19403 19404 19405 19406 19407 19408 19409 19410 19411 19412 19413 19414 19415 19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 19426 19427 19428 19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 19442 19443 19444 19445 19446 19447 19448 19449 19450 19451 19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 19475 19476 19477 | |