aws_sdk_machinelearning/client/describe_data_sources.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 [`DescribeDataSources`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`filter_variable(DataSourceFilterVariable)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::filter_variable) / [`set_filter_variable(Option<DataSourceFilterVariable>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::set_filter_variable):<br>required: **false**<br><p>Use one of the following variables to filter a list of <code>DataSource</code>:</p> <ul> <li> <p><code>CreatedAt</code> - Sets the search criteria to <code>DataSource</code> creation dates.</p></li> <li> <p><code>Status</code> - Sets the search criteria to <code>DataSource</code> statuses.</p></li> <li> <p><code>Name</code> - Sets the search criteria to the contents of <code>DataSource</code> <code>Name</code>.</p></li> <li> <p><code>DataUri</code> - Sets the search criteria to the URI of data files used to create the <code>DataSource</code>. The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.</p></li> <li> <p><code>IAMUser</code> - Sets the search criteria to the user account that invoked the <code>DataSource</code> creation.</p></li> </ul><br>
8 /// - [`eq(impl Into<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::eq) / [`set_eq(Option<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::set_eq):<br>required: **false**<br><p>The equal to operator. The <code>DataSource</code> results will have <code>FilterVariable</code> values that exactly match the value specified with <code>EQ</code>.</p><br>
9 /// - [`gt(impl Into<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::gt) / [`set_gt(Option<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::set_gt):<br>required: **false**<br><p>The greater than operator. The <code>DataSource</code> results will have <code>FilterVariable</code> values that are greater than the value specified with <code>GT</code>.</p><br>
10 /// - [`lt(impl Into<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::lt) / [`set_lt(Option<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::set_lt):<br>required: **false**<br><p>The less than operator. The <code>DataSource</code> results will have <code>FilterVariable</code> values that are less than the value specified with <code>LT</code>.</p><br>
11 /// - [`ge(impl Into<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::ge) / [`set_ge(Option<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::set_ge):<br>required: **false**<br><p>The greater than or equal to operator. The <code>DataSource</code> results will have <code>FilterVariable</code> values that are greater than or equal to the value specified with <code>GE</code>.</p><br>
12 /// - [`le(impl Into<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::le) / [`set_le(Option<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::set_le):<br>required: **false**<br><p>The less than or equal to operator. The <code>DataSource</code> results will have <code>FilterVariable</code> values that are less than or equal to the value specified with <code>LE</code>.</p><br>
13 /// - [`ne(impl Into<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::ne) / [`set_ne(Option<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::set_ne):<br>required: **false**<br><p>The not equal to operator. The <code>DataSource</code> results will have <code>FilterVariable</code> values not equal to the value specified with <code>NE</code>.</p><br>
14 /// - [`prefix(impl Into<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::prefix) / [`set_prefix(Option<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::set_prefix):<br>required: **false**<br><p>A string that is found at the beginning of a variable, such as <code>Name</code> or <code>Id</code>.</p> <p>For example, a <code>DataSource</code> could have the <code>Name</code> <code>2014-09-09-HolidayGiftMailer</code>. To search for this <code>DataSource</code>, select <code>Name</code> for the <code>FilterVariable</code> and any of the following strings for the <code>Prefix</code>:</p> <ul> <li> <p>2014-09</p></li> <li> <p>2014-09-09</p></li> <li> <p>2014-09-09-Holiday</p></li> </ul><br>
15 /// - [`sort_order(SortOrder)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::sort_order) / [`set_sort_order(Option<SortOrder>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::set_sort_order):<br>required: **false**<br><p>A two-value parameter that determines the sequence of the resulting list of <code>DataSource</code>.</p> <ul> <li> <p><code>asc</code> - Arranges the list in ascending order (A-Z, 0-9).</p></li> <li> <p><code>dsc</code> - Arranges the list in descending order (Z-A, 9-0).</p></li> </ul> <p>Results are sorted by <code>FilterVariable</code>.</p><br>
16 /// - [`next_token(impl Into<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::set_next_token):<br>required: **false**<br><p>The ID of the page in the paginated results.</p><br>
17 /// - [`limit(i32)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::set_limit):<br>required: **false**<br><p>The maximum number of <code>DataSource</code> to include in the result.</p><br>
18 /// - On success, responds with [`DescribeDataSourcesOutput`](crate::operation::describe_data_sources::DescribeDataSourcesOutput) with field(s):
19 /// - [`results(Option<Vec::<DataSource>>)`](crate::operation::describe_data_sources::DescribeDataSourcesOutput::results): <p>A list of <code>DataSource</code> that meet the search criteria.</p>
20 /// - [`next_token(Option<String>)`](crate::operation::describe_data_sources::DescribeDataSourcesOutput::next_token): <p>An ID of the next page in the paginated results that indicates at least one more page follows.</p>
21 /// - On failure, responds with [`SdkError<DescribeDataSourcesError>`](crate::operation::describe_data_sources::DescribeDataSourcesError)
22 pub fn describe_data_sources(&self) -> crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder {
23 crate::operation::describe_data_sources::builders::DescribeDataSourcesFluentBuilder::new(self.handle.clone())
24 }
25}