update_lakehouse_configuration
¶
update_lakehouse_configuration(
namespace_name: NamespaceName,
*,
config_overrides: Optional[RedshiftServerlessClientConfig] = None,
lakehouse_registration: Optional[LakehouseRegistration] = None,
catalog_name: Optional[CatalogNameString] = None,
lakehouse_idc_registration: Optional[LakehouseIdcRegistration] = None,
lakehouse_idc_application_arn: Optional[str] = None,
dry_run: Optional[bool] = None,
) -> UpdateLakehouseConfigurationResponse
Modifies the lakehouse configuration for a namespace. This operation allows you to manage Amazon Redshift federated permissions and Amazon Web Services IAM Identity Center trusted identity propagation.
Parameters:
-
namespace_name(NamespaceName) –The name of the namespace whose lakehouse configuration you want to modify.
-
lakehouse_registration(Optional[LakehouseRegistration], default:None) –Specifies whether to register or deregister the namespace with Amazon Redshift federated permissions. Valid values are
RegisterorDeregister. -
catalog_name(Optional[CatalogNameString], default:None) –The name of the Glue Data Catalog that will be associated with the namespace enabled with Amazon Redshift federated permissions.
Pattern:
^[a-z0-9_-]*[a-z]+[a-z0-9_-]*$ -
lakehouse_idc_registration(Optional[LakehouseIdcRegistration], default:None) –Modifies the Amazon Web Services IAM Identity Center trusted identity propagation on a namespace enabled with Amazon Redshift federated permissions. Valid values are
AssociateorDisassociate. -
lakehouse_idc_application_arn(Optional[str], default:None) –The Amazon Resource Name (ARN) of the IAM Identity Center application used for enabling Amazon Web Services IAM Identity Center trusted identity propagation on a namespace enabled with Amazon Redshift federated permissions.
-
dry_run(Optional[bool], default:None) –A boolean value that, if
true, validates the request without actually updating the lakehouse configuration. Use this to check for errors before making changes.
Raises:
-
ConflictException–The submitted action has conflicts.
-
DryRunException–This exception is thrown when the request was successful, but dry run was enabled so no action was taken.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The resource could not be found.
-
ValidationException–The input failed to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift_serverless/_services/redshift_serverless.py
2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 | |