Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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.
Synopsis
- 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:
ddsEQ
- The equal to operator. TheDataSource
results will haveFilterVariable
values that exactly match the value specified withEQ
.ddsGE
- The greater than or equal to operator. TheDataSource
results will haveFilterVariable
values that are greater than or equal to the value specified withGE
.ddsPrefix
- A string that is found at the beginning of a variable, such asName
orId
. For example, aDataSource
could have theName
2014-09-09-HolidayGiftMailer
. To search for thisDataSource
, selectName
for theFilterVariable
and any of the following strings for thePrefix
: * 2014-09 * 2014-09-09 * 2014-09-09-HolidayddsGT
- The greater than operator. TheDataSource
results will haveFilterVariable
values that are greater than the value specified withGT
.ddsNE
- The not equal to operator. TheDataSource
results will haveFilterVariable
values not equal to the value specified withNE
.ddsNextToken
- The ID of the page in the paginated results.ddsSortOrder
- A two-value parameter that determines the sequence of the resulting list ofDataSource
. *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 byFilterVariable
.ddsLimit
- The maximum number ofDataSource
to include in the result.ddsLT
- The less than operator. TheDataSource
results will haveFilterVariable
values that are less than the value specified withLT
.ddsFilterVariable
- Use one of the following variables to filter a list ofDataSource
: *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
- The less than or equal to operator. TheDataSource
results will haveFilterVariable
values that are less than or equal to the value specified withLE
.
data DescribeDataSources Source #
See: describeDataSources
smart constructor.
Instances
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:
ddssrsResults
- A list ofDataSource
that meet the search criteria.ddssrsNextToken
- An ID of the next page in the paginated results that indicates at least one more page follows.ddssrsResponseStatus
- -- | The response status code.
data DescribeDataSourcesResponse Source #
Represents the query results from a DescribeDataSources
operation. The content is essentially a list of DataSource
.
See: describeDataSourcesResponse
smart constructor.
Instances
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.