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
19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 19146 19147 19148 19149 19150 19151 19152 19153 19154 19155 19156 19157 19158 19159 19160 19161 19162 19163 19164 19165 19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 19178 19179 19180 19181 19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 19197 19198 19199 19200 19201 19202 19203 19204 19205 19206 19207 19208 19209 19210 19211 | |