get_data_source
¶
get_data_source(
api_id: String,
name: ResourceName,
*,
config_overrides: Optional[AppSyncClientConfig] = None,
) -> GetDataSourceResponse
Retrieves a DataSource object.
Parameters:
-
api_id(String) –The API ID.
-
name(ResourceName) –The name of the data source.
Raises:
-
BadRequestException–The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
-
ConcurrentModificationException–Another modification is in progress at this time and it must complete before you can make your change.
-
InternalFailureException–An internal AppSync error occurred. Try your request again.
-
NotFoundException–The resource specified in the request was not found. Check the resource, and then try again.
-
UnauthorizedException–You aren't authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.