describe_data_sources
async
¶
describe_data_sources(
*,
config_overrides: Optional[AsyncMachineLearningClientConfig] = None,
filter_variable: Optional[DataSourceFilterVariable] = None,
eq: Optional[ComparatorValue] = None,
gt: Optional[ComparatorValue] = None,
lt: Optional[ComparatorValue] = None,
ge: Optional[ComparatorValue] = None,
le: Optional[ComparatorValue] = None,
ne: Optional[ComparatorValue] = None,
prefix: Optional[ComparatorValue] = None,
sort_order: Optional[SortOrder] = None,
next_token: Optional[StringType] = None,
limit: Optional[PageLimit] = None,
) -> DescribeDataSourcesOutput
Returns a list of DataSource that match the search criteria in the request.
Parameters:
-
filter_variable(Optional[DataSourceFilterVariable], default:None) –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.
-
-
eq(Optional[ComparatorValue], default:None) –The equal to operator. The
DataSourceresults will haveFilterVariablevalues that exactly match the value specified withEQ. -
gt(Optional[ComparatorValue], default:None) –The greater than operator. The
DataSourceresults will haveFilterVariablevalues that are greater than the value specified withGT. -
lt(Optional[ComparatorValue], default:None) –The less than operator. The
DataSourceresults will haveFilterVariablevalues that are less than the value specified withLT. -
ge(Optional[ComparatorValue], default:None) –The greater than or equal to operator. The
DataSourceresults will haveFilterVariablevalues that are greater than or equal to the value specified withGE. -
le(Optional[ComparatorValue], default:None) –The less than or equal to operator. The
DataSourceresults will haveFilterVariablevalues that are less than or equal to the value specified withLE. -
ne(Optional[ComparatorValue], default:None) –The not equal to operator. The
DataSourceresults will haveFilterVariablevalues not equal to the value specified withNE. -
prefix(Optional[ComparatorValue], default:None) –A string that is found at the beginning of a variable, such as
NameorId.For example, a
DataSourcecould have theName2014-09-09-HolidayGiftMailer. To search for thisDataSource, selectNamefor theFilterVariableand any of the following strings for thePrefix:-
2014-09
-
2014-09-09
-
2014-09-09-Holiday
-
-
sort_order(Optional[SortOrder], default:None) –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. -
-
next_token(Optional[StringType], default:None) –The ID of the page in the paginated results.
-
limit(Optional[PageLimit], default:None) –The maximum number of
DataSourceto include in the result.
Raises:
-
InternalServerException–An error on the server occurred when trying to process a request.
-
InvalidInputException–An error on the client occurred. Typically, the cause is an invalid input value.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_machine_learning/_services/async_machine_learning.py
1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 | |