put_catalog_discovery
async
¶
put_catalog_discovery(
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
mode: Optional[CatalogDiscoveryMode] = None,
) -> PutCatalogDiscoveryOutput
Turns business context and search on or off for the Glue Data Catalog in your account. Set Mode to OPTED_IN to turn it on, or to OPTED_OUT to turn it off.
A call with the mode that is already set has no effect, unless the last change failed. In that case the call runs the change again. If an earlier change is still in progress, the call fails with a ConflictException.
Parameters:
-
mode(Optional[CatalogDiscoveryMode], default:None) –The catalog discovery mode to set. Valid values are
OPTED_INandOPTED_OUT. This field is required.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
ConflictException–The
CreatePartitionsAPI was called on a table that has indexes enabled. -
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
ThrottlingException–The throttling threshhold was exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 | |