get_data_source
async
¶
get_data_source(
domain_name: DomainName,
name: DataSourceName,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
) -> GetDataSourceResponse
Retrieves information about a direct query data source.
Parameters:
-
domain_name(DomainName) –The name of the domain.
-
name(DataSourceName) –The name of the data source to get information about.
Raises:
-
BaseException–An error occurred while processing the request.
-
DependencyFailureException–An exception for when a failure in one of the dependencies results in the service being unable to fetch details about the resource.
-
DisabledOperationException–An error occured because the client wanted to access an unsupported operation.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that doesn't exist.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.