modify_lakehouse_configuration
¶
modify_lakehouse_configuration(
*,
config_overrides: Optional[RedshiftClientConfig] = None,
cluster_identifier: Optional[String] = None,
lakehouse_registration: Optional[LakehouseRegistration] = None,
catalog_name: Optional[CatalogNameString] = None,
lakehouse_idc_registration: Optional[LakehouseIdcRegistration] = None,
lakehouse_idc_application_arn: Optional[String] = None,
dry_run: Optional[BooleanOptional] = None,
) -> LakehouseConfiguration
Modifies the lakehouse configuration for a cluster. This operation allows you to manage Amazon Redshift federated permissions and Amazon Web Services IAM Identity Center trusted identity propagation.
Parameters:
-
cluster_identifier(Optional[String], default:None) –The unique identifier of the cluster whose lakehouse configuration you want to modify.
-
lakehouse_registration(Optional[LakehouseRegistration], default:None) –Specifies whether to register or deregister the cluster 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 cluster enabled with Amazon Redshift federated permissions.
Constraints:
-
Must contain at least one lowercase letter.
-
Can only contain lowercase letters (a-z), numbers (0-9), underscores (_), and hyphens (-).
Pattern:
^[a-z0-9_-]*[a-z]+[a-z0-9_-]*$Example:
my-catalog_01 -
-
lakehouse_idc_registration(Optional[LakehouseIdcRegistration], default:None) –Modifies the Amazon Web Services IAM Identity Center trusted identity propagation on a cluster enabled with Amazon Redshift federated permissions. Valid values are
AssociateorDisassociate. -
lakehouse_idc_application_arn(Optional[String], 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 cluster enabled with Amazon Redshift federated permissions.
-
dry_run(Optional[BooleanOptional], default:None) –A boolean value that, if
true, validates the request without actually modifying the lakehouse configuration. Use this to check for errors before making changes.
Raises:
-
ClusterNotFoundFault–The
ClusterIdentifierparameter does not refer to an existing cluster. -
DependentServiceAccessDeniedFault–A dependent service denied access for the integration.
-
DependentServiceUnavailableFault–Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.
-
InvalidClusterStateFault–The specified cluster is not in the
availablestate. -
RedshiftIdcApplicationNotExistsFault–The application you attempted to find doesn't exist.
-
UnauthorizedOperation–Your account is not authorized to perform the requested operation.
-
UnsupportedOperationFault–The requested operation isn't supported.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift/_services/redshift.py
9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 | |