amazonka-ml-1.0.1: Amazon Machine Learning SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.MachineLearning.DescribeDataSources

Contents

Description

Returns a list of DataSource that match the search criteria in the request.

See: AWS API Reference for DescribeDataSources.

This operation returns paginated results.

Synopsis

Creating a Request

describeDataSources :: DescribeDataSources Source

Creates a value of DescribeDataSources with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ddsEQ :: Lens' DescribeDataSources (Maybe Text) Source

The equal to operator. The DataSource results will have FilterVariable values that exactly match the value specified with EQ.

ddsGE :: 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.

ddsPrefix :: 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

ddsGT :: 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.

ddsNE :: 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.

ddsNextToken :: Lens' DescribeDataSources (Maybe Text) Source

The ID of the page in the paginated results.

ddsSortOrder :: 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.

ddsLimit :: Lens' DescribeDataSources (Maybe Natural) Source

The maximum number of DataSource to include in the result.

ddsLT :: 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.

ddsFilterVariable :: Lens' DescribeDataSources (Maybe DataSourceFilterVariable) Source

Use one of the following variables to filter a list of DataSource:

  • CreatedAt - Sets the search criteria to DataSource creation dates.
  • Status - Sets the search criteria to DataSource statuses.
  • Name - Sets the search criteria to the contents of DataSource ____ Name.
  • DataUri - Sets the search criteria to the URI of data files used to create the DataSource. 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 the DataSource creation.

ddsLE :: 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.

Destructuring the Response

describeDataSourcesResponse Source

Creates a value of DescribeDataSourcesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

ddssrsResults :: Lens' DescribeDataSourcesResponse [DataSource] Source

A list of DataSource that meet the search criteria.

ddssrsNextToken :: Lens' DescribeDataSourcesResponse (Maybe Text) Source

An ID of the next page in the paginated results that indicates at least one more page follows.