amazonka-ml-1.4.4: Amazon Machine Learning SDK.

Copyright(c) 2013-2016 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.

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:

data DescribeDataSources Source #

See: describeDataSources smart constructor.

Instances

Eq DescribeDataSources Source # 
Data DescribeDataSources Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeDataSources -> c DescribeDataSources #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeDataSources #

toConstr :: DescribeDataSources -> Constr #

dataTypeOf :: DescribeDataSources -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeDataSources) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeDataSources) #

gmapT :: (forall b. Data b => b -> b) -> DescribeDataSources -> DescribeDataSources #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDataSources -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDataSources -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeDataSources -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeDataSources -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeDataSources -> m DescribeDataSources #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDataSources -> m DescribeDataSources #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDataSources -> m DescribeDataSources #

Read DescribeDataSources Source # 
Show DescribeDataSources Source # 
Generic DescribeDataSources Source # 
Hashable DescribeDataSources Source # 
NFData DescribeDataSources Source # 

Methods

rnf :: DescribeDataSources -> () #

AWSPager DescribeDataSources Source # 
AWSRequest DescribeDataSources Source # 
ToPath DescribeDataSources Source # 
ToHeaders DescribeDataSources Source # 
ToQuery DescribeDataSources Source # 
ToJSON DescribeDataSources Source # 
type Rep DescribeDataSources Source # 
type Rep DescribeDataSources = D1 (MetaData "DescribeDataSources" "Network.AWS.MachineLearning.DescribeDataSources" "amazonka-ml-1.4.4-2yA9Z7arOzvng1YYT0XHX" False) (C1 (MetaCons "DescribeDataSources'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ddsEQ") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ddsGE") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ddsPrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ddsGT") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ddsNE") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ddsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ddsSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SortOrder))) (S1 (MetaSel (Just Symbol "_ddsLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))) ((:*:) (S1 (MetaSel (Just Symbol "_ddsLT") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ddsFilterVariable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DataSourceFilterVariable))) (S1 (MetaSel (Just Symbol "_ddsLE") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Rs DescribeDataSources Source # 

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:

data DescribeDataSourcesResponse Source #

Represents the query results from a DescribeDataSources operation. The content is essentially a list of DataSource.

See: describeDataSourcesResponse smart constructor.

Instances

Eq DescribeDataSourcesResponse Source # 
Data DescribeDataSourcesResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeDataSourcesResponse -> c DescribeDataSourcesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeDataSourcesResponse #

toConstr :: DescribeDataSourcesResponse -> Constr #

dataTypeOf :: DescribeDataSourcesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeDataSourcesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeDataSourcesResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeDataSourcesResponse -> DescribeDataSourcesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDataSourcesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDataSourcesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeDataSourcesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeDataSourcesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeDataSourcesResponse -> m DescribeDataSourcesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDataSourcesResponse -> m DescribeDataSourcesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDataSourcesResponse -> m DescribeDataSourcesResponse #

Read DescribeDataSourcesResponse Source # 
Show DescribeDataSourcesResponse Source # 
Generic DescribeDataSourcesResponse Source # 
NFData DescribeDataSourcesResponse Source # 
type Rep DescribeDataSourcesResponse Source # 
type Rep DescribeDataSourcesResponse = D1 (MetaData "DescribeDataSourcesResponse" "Network.AWS.MachineLearning.DescribeDataSources" "amazonka-ml-1.4.4-2yA9Z7arOzvng1YYT0XHX" False) (C1 (MetaCons "DescribeDataSourcesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ddssrsResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DataSource]))) ((:*:) (S1 (MetaSel (Just Symbol "_ddssrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ddssrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

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.