| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MachineLearning.DescribeDataSources
Description
Returns a list of DataSource that match the search criteria in the
request.
This operation returns paginated results.
Synopsis
- data DescribeDataSources = DescribeDataSources' {}
- newDescribeDataSources :: DescribeDataSources
- describeDataSources_eq :: Lens' DescribeDataSources (Maybe Text)
- describeDataSources_filterVariable :: Lens' DescribeDataSources (Maybe DataSourceFilterVariable)
- describeDataSources_ge :: Lens' DescribeDataSources (Maybe Text)
- describeDataSources_gt :: Lens' DescribeDataSources (Maybe Text)
- describeDataSources_le :: Lens' DescribeDataSources (Maybe Text)
- describeDataSources_lt :: Lens' DescribeDataSources (Maybe Text)
- describeDataSources_limit :: Lens' DescribeDataSources (Maybe Natural)
- describeDataSources_ne :: Lens' DescribeDataSources (Maybe Text)
- describeDataSources_nextToken :: Lens' DescribeDataSources (Maybe Text)
- describeDataSources_prefix :: Lens' DescribeDataSources (Maybe Text)
- describeDataSources_sortOrder :: Lens' DescribeDataSources (Maybe SortOrder)
- data DescribeDataSourcesResponse = DescribeDataSourcesResponse' {
- nextToken :: Maybe Text
- results :: Maybe [DataSource]
- httpStatus :: Int
- newDescribeDataSourcesResponse :: Int -> DescribeDataSourcesResponse
- describeDataSourcesResponse_nextToken :: Lens' DescribeDataSourcesResponse (Maybe Text)
- describeDataSourcesResponse_results :: Lens' DescribeDataSourcesResponse (Maybe [DataSource])
- describeDataSourcesResponse_httpStatus :: Lens' DescribeDataSourcesResponse Int
Creating a Request
data DescribeDataSources Source #
See: newDescribeDataSources smart constructor.
Constructors
| DescribeDataSources' | |
Fields
| |
Instances
newDescribeDataSources :: DescribeDataSources Source #
Create a value of DescribeDataSources with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eq:DescribeDataSources', describeDataSources_eq - The equal to operator. The DataSource results will have
FilterVariable values that exactly match the value specified with
EQ.
$sel:filterVariable:DescribeDataSources', describeDataSources_filterVariable - Use one of the following variables to filter a list of DataSource:
CreatedAt- Sets the search criteria toDataSourcecreation dates.Status- Sets the search criteria toDataSourcestatuses.Name- Sets the search criteria to the contents ofDataSourceName.DataUri- Sets the search criteria to the URI of data files used to create theDataSource. The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.IAMUser- Sets the search criteria to the user account that invoked theDataSourcecreation.
$sel:ge:DescribeDataSources', describeDataSources_ge - The greater than or equal to operator. The DataSource results will
have FilterVariable values that are greater than or equal to the value
specified with GE.
$sel:gt:DescribeDataSources', describeDataSources_gt - The greater than operator. The DataSource results will have
FilterVariable values that are greater than the value specified with
GT.
$sel:le:DescribeDataSources', describeDataSources_le - The less than or equal to operator. The DataSource results will have
FilterVariable values that are less than or equal to the value
specified with LE.
$sel:lt:DescribeDataSources', describeDataSources_lt - The less than operator. The DataSource results will have
FilterVariable values that are less than the value specified with
LT.
$sel:limit:DescribeDataSources', describeDataSources_limit - The maximum number of DataSource to include in the result.
$sel:ne:DescribeDataSources', describeDataSources_ne - The not equal to operator. The DataSource results will have
FilterVariable values not equal to the value specified with NE.
DescribeDataSources, describeDataSources_nextToken - The ID of the page in the paginated results.
$sel:prefix:DescribeDataSources', describeDataSources_prefix - A string that is found at the beginning of a variable, such as Name or
Id.
For example, a DataSource could have the Name
2014-09-09-HolidayGiftMailer. To search for this DataSource, select
Name for the FilterVariable and any of the following strings for the
Prefix:
- 2014-09
- 2014-09-09
- 2014-09-09-Holiday
$sel:sortOrder:DescribeDataSources', describeDataSources_sortOrder - A two-value parameter that determines the sequence of the resulting list
of DataSource.
asc- Arranges the list in ascending order (A-Z, 0-9).dsc- Arranges the list in descending order (Z-A, 9-0).
Results are sorted by FilterVariable.
Request Lenses
describeDataSources_eq :: Lens' DescribeDataSources (Maybe Text) Source #
The equal to operator. The DataSource results will have
FilterVariable values that exactly match the value specified with
EQ.
describeDataSources_filterVariable :: Lens' DescribeDataSources (Maybe DataSourceFilterVariable) Source #
Use one of the following variables to filter a list of DataSource:
CreatedAt- Sets the search criteria toDataSourcecreation dates.Status- Sets the search criteria toDataSourcestatuses.Name- Sets the search criteria to the contents ofDataSourceName.DataUri- Sets the search criteria to the URI of data files used to create theDataSource. The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.IAMUser- Sets the search criteria to the user account that invoked theDataSourcecreation.
describeDataSources_ge :: Lens' DescribeDataSources (Maybe Text) Source #
The greater than or equal to operator. The DataSource results will
have FilterVariable values that are greater than or equal to the value
specified with GE.
describeDataSources_gt :: Lens' DescribeDataSources (Maybe Text) Source #
The greater than operator. The DataSource results will have
FilterVariable values that are greater than the value specified with
GT.
describeDataSources_le :: Lens' DescribeDataSources (Maybe Text) Source #
The less than or equal to operator. The DataSource results will have
FilterVariable values that are less than or equal to the value
specified with LE.
describeDataSources_lt :: Lens' DescribeDataSources (Maybe Text) Source #
The less than operator. The DataSource results will have
FilterVariable values that are less than the value specified with
LT.
describeDataSources_limit :: Lens' DescribeDataSources (Maybe Natural) Source #
The maximum number of DataSource to include in the result.
describeDataSources_ne :: Lens' DescribeDataSources (Maybe Text) Source #
The not equal to operator. The DataSource results will have
FilterVariable values not equal to the value specified with NE.
describeDataSources_nextToken :: Lens' DescribeDataSources (Maybe Text) Source #
The ID of the page in the paginated results.
describeDataSources_prefix :: Lens' DescribeDataSources (Maybe Text) Source #
A string that is found at the beginning of a variable, such as Name or
Id.
For example, a DataSource could have the Name
2014-09-09-HolidayGiftMailer. To search for this DataSource, select
Name for the FilterVariable and any of the following strings for the
Prefix:
- 2014-09
- 2014-09-09
- 2014-09-09-Holiday
describeDataSources_sortOrder :: Lens' DescribeDataSources (Maybe SortOrder) Source #
A two-value parameter that determines the sequence of the resulting list
of DataSource.
asc- Arranges the list in ascending order (A-Z, 0-9).dsc- Arranges the list in descending order (Z-A, 9-0).
Results are sorted by FilterVariable.
Destructuring the Response
data DescribeDataSourcesResponse Source #
Represents the query results from a DescribeDataSources operation. The
content is essentially a list of DataSource.
See: newDescribeDataSourcesResponse smart constructor.
Constructors
| DescribeDataSourcesResponse' | |
Fields
| |
Instances
newDescribeDataSourcesResponse Source #
Create a value of DescribeDataSourcesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeDataSources, describeDataSourcesResponse_nextToken - An ID of the next page in the paginated results that indicates at least
one more page follows.
$sel:results:DescribeDataSourcesResponse', describeDataSourcesResponse_results - A list of DataSource that meet the search criteria.
$sel:httpStatus:DescribeDataSourcesResponse', describeDataSourcesResponse_httpStatus - The response's http status code.
Response Lenses
describeDataSourcesResponse_nextToken :: Lens' DescribeDataSourcesResponse (Maybe Text) Source #
An ID of the next page in the paginated results that indicates at least one more page follows.
describeDataSourcesResponse_results :: Lens' DescribeDataSourcesResponse (Maybe [DataSource]) Source #
A list of DataSource that meet the search criteria.
describeDataSourcesResponse_httpStatus :: Lens' DescribeDataSourcesResponse Int Source #
The response's http status code.