list_data_sources
async
¶
list_data_sources(
domain_identifier: DomainId,
project_identifier: str,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
environment_identifier: Optional[str] = None,
connection_identifier: Optional[str] = None,
type: Optional[DataSourceType] = None,
status: Optional[DataSourceStatus] = None,
name: Optional[Name] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListDataSourcesOutput
Lists data sources in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain in which to list the data sources.
-
project_identifier(str) –The identifier of the project in which to list data sources.
-
environment_identifier(Optional[str], default:None) –The identifier of the environment in which to list the data sources.
-
connection_identifier(Optional[str], default:None) –The ID of the connection.
-
type(Optional[DataSourceType], default:None) –The type of the data source.
-
status(Optional[DataSourceStatus], default:None) –The status of the data source.
-
name(Optional[Name], default:None) –The name of the data source.
-
next_token(Optional[PaginationToken], default:None) –When the number of data sources is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of data sources, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListDataSourcesto list the next set of data sources. -
max_results(Optional[MaxResults], default:None) –The maximum number of data sources to return in a single call to
ListDataSources. When the number of data sources to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListDataSourcesto list the next set of data sources.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
ConflictException–There is a conflict while performing this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ServiceQuotaExceededException–The request has exceeded the specified service quota.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/async_data_zone.py
13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 | |