update_lakehouse_configuration
async
¶
update_lakehouse_configuration(
namespace_name: NamespaceName,
*,
config_overrides: Optional[AsyncRedshiftServerlessClientConfig] = 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/async_redshift_serverless.py
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 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 | |