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
2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 | |