Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns a list of DataSource
that match the search criteria in the request.
This operation returns paginated results.
- describeDataSources :: DescribeDataSources
- data DescribeDataSources
- ddsEQ :: Lens' DescribeDataSources (Maybe Text)
- ddsGE :: Lens' DescribeDataSources (Maybe Text)
- ddsPrefix :: Lens' DescribeDataSources (Maybe Text)
- ddsGT :: Lens' DescribeDataSources (Maybe Text)
- ddsNE :: Lens' DescribeDataSources (Maybe Text)
- ddsNextToken :: Lens' DescribeDataSources (Maybe Text)
- ddsSortOrder :: Lens' DescribeDataSources (Maybe SortOrder)
- ddsLimit :: Lens' DescribeDataSources (Maybe Natural)
- ddsLT :: Lens' DescribeDataSources (Maybe Text)
- ddsFilterVariable :: Lens' DescribeDataSources (Maybe DataSourceFilterVariable)
- ddsLE :: Lens' DescribeDataSources (Maybe Text)
- describeDataSourcesResponse :: Int -> DescribeDataSourcesResponse
- data DescribeDataSourcesResponse
- ddssrsResults :: Lens' DescribeDataSourcesResponse [DataSource]
- ddssrsNextToken :: Lens' DescribeDataSourcesResponse (Maybe Text)
- ddssrsResponseStatus :: Lens' DescribeDataSourcesResponse Int
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.
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 toDataSource
creation dates.Status
- Sets the search criteria toDataSource
statuses.Name
- Sets the search criteria to the contents ofDataSource
____Name
.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 theDataSource
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.
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.
ddssrsResponseStatus :: Lens' DescribeDataSourcesResponse Int Source #
The response status code.