aws_sdk_sagemaker/client/list_inference_components.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`ListInferenceComponents`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`sort_by(InferenceComponentSortKey)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::sort_by) / [`set_sort_by(Option<InferenceComponentSortKey>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::set_sort_by):<br>required: **false**<br><p>The field by which to sort the inference components in the response. The default is <code>CreationTime</code>.</p><br>
8 /// - [`sort_order(OrderKey)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::sort_order) / [`set_sort_order(Option<OrderKey>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::set_sort_order):<br>required: **false**<br><p>The sort order for results. The default is <code>Descending</code>.</p><br>
9 /// - [`next_token(impl Into<String>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::set_next_token):<br>required: **false**<br><p>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.</p><br>
10 /// - [`max_results(i32)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of inference components to return in the response. This value defaults to 10.</p><br>
11 /// - [`name_contains(impl Into<String>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::name_contains) / [`set_name_contains(Option<String>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::set_name_contains):<br>required: **false**<br><p>Filters the results to only those inference components with a name that contains the specified string.</p><br>
12 /// - [`creation_time_before(DateTime)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::creation_time_before) / [`set_creation_time_before(Option<DateTime>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::set_creation_time_before):<br>required: **false**<br><p>Filters the results to only those inference components that were created before the specified time.</p><br>
13 /// - [`creation_time_after(DateTime)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::creation_time_after) / [`set_creation_time_after(Option<DateTime>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::set_creation_time_after):<br>required: **false**<br><p>Filters the results to only those inference components that were created after the specified time.</p><br>
14 /// - [`last_modified_time_before(DateTime)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::last_modified_time_before) / [`set_last_modified_time_before(Option<DateTime>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::set_last_modified_time_before):<br>required: **false**<br><p>Filters the results to only those inference components that were updated before the specified time.</p><br>
15 /// - [`last_modified_time_after(DateTime)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::last_modified_time_after) / [`set_last_modified_time_after(Option<DateTime>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::set_last_modified_time_after):<br>required: **false**<br><p>Filters the results to only those inference components that were updated after the specified time.</p><br>
16 /// - [`status_equals(InferenceComponentStatus)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::status_equals) / [`set_status_equals(Option<InferenceComponentStatus>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::set_status_equals):<br>required: **false**<br><p>Filters the results to only those inference components with the specified status.</p><br>
17 /// - [`endpoint_name_equals(impl Into<String>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::endpoint_name_equals) / [`set_endpoint_name_equals(Option<String>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::set_endpoint_name_equals):<br>required: **false**<br><p>An endpoint name to filter the listed inference components. The response includes only those inference components that are hosted at the specified endpoint.</p><br>
18 /// - [`variant_name_equals(impl Into<String>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::variant_name_equals) / [`set_variant_name_equals(Option<String>)`](crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::set_variant_name_equals):<br>required: **false**<br><p>A production variant name to filter the listed inference components. The response includes only those inference components that are hosted at the specified variant.</p><br>
19 /// - On success, responds with [`ListInferenceComponentsOutput`](crate::operation::list_inference_components::ListInferenceComponentsOutput) with field(s):
20 /// - [`inference_components(Option<Vec::<InferenceComponentSummary>>)`](crate::operation::list_inference_components::ListInferenceComponentsOutput::inference_components): <p>A list of inference components and their properties that matches any of the filters you specified in the request.</p>
21 /// - [`next_token(Option<String>)`](crate::operation::list_inference_components::ListInferenceComponentsOutput::next_token): <p>The token to use in a subsequent request to get the next set of results following a truncated response.</p>
22 /// - On failure, responds with [`SdkError<ListInferenceComponentsError>`](crate::operation::list_inference_components::ListInferenceComponentsError)
23 pub fn list_inference_components(&self) -> crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder {
24 crate::operation::list_inference_components::builders::ListInferenceComponentsFluentBuilder::new(self.handle.clone())
25 }
26}