modify_lakehouse_configuration
async
¶
modify_lakehouse_configuration(
*,
config_overrides: Optional[AsyncRedshiftClientConfig] = 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/async_redshift.py
9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 | |