list_data_sources
¶
list_data_sources(
domain_identifier: DomainId,
project_identifier: str,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 | |