/AWS1/IF_RSS=>UPDATELAKEHOUSECONFIGURATION()¶
About UpdateLakehouseConfiguration¶
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.
Method Signature¶
METHODS /AWS1/IF_RSS~UPDATELAKEHOUSECONFIGURATION
IMPORTING
!IV_NAMESPACENAME TYPE /AWS1/RSSNAMESPACENAME OPTIONAL
!IV_LAKEHOUSEREGISTRATION TYPE /AWS1/RSSLAKEHOUSEREGISTRATION OPTIONAL
!IV_CATALOGNAME TYPE /AWS1/RSSCATALOGNAMESTRING OPTIONAL
!IV_LAKEHOUSEIDCREGISTRATION TYPE /AWS1/RSSLAKEHOUSEIDCREG OPTIONAL
!IV_LAKEHOUSEIDCAPPARN TYPE /AWS1/RSSSTRING OPTIONAL
!IV_DRYRUN TYPE /AWS1/RSSBOOLEAN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_rssuplakehouseconfrsp
RAISING
/AWS1/CX_RSSCONFLICTEXCEPTION
/AWS1/CX_RSSDRYRUNEXCEPTION
/AWS1/CX_RSSINTERNALSERVEREX
/AWS1/CX_RSSRESOURCENOTFOUNDEX
/AWS1/CX_RSSVALIDATIONEX
/AWS1/CX_RSSCLIENTEXC
/AWS1/CX_RSSSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_namespacename TYPE /AWS1/RSSNAMESPACENAME /AWS1/RSSNAMESPACENAME¶
The name of the namespace whose lakehouse configuration you want to modify.
Optional arguments:¶
iv_lakehouseregistration TYPE /AWS1/RSSLAKEHOUSEREGISTRATION /AWS1/RSSLAKEHOUSEREGISTRATION¶
Specifies whether to register or deregister the namespace with Amazon Redshift federated permissions. Valid values are
RegisterorDeregister.
iv_catalogname TYPE /AWS1/RSSCATALOGNAMESTRING /AWS1/RSSCATALOGNAMESTRING¶
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_-]$
iv_lakehouseidcregistration TYPE /AWS1/RSSLAKEHOUSEIDCREG /AWS1/RSSLAKEHOUSEIDCREG¶
Modifies the Amazon Web Services IAM Identity Center trusted identity propagation on a namespace enabled with Amazon Redshift federated permissions. Valid values are
AssociateorDisassociate.
iv_lakehouseidcapparn TYPE /AWS1/RSSSTRING /AWS1/RSSSTRING¶
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.
iv_dryrun TYPE /AWS1/RSSBOOLEAN /AWS1/RSSBOOLEAN¶
A boolean value that, if
true, validates the request without actually updating the lakehouse configuration. Use this to check for errors before making changes.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_rssuplakehouseconfrsp /AWS1/CL_RSSUPLAKEHOUSECONFRSP¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->updatelakehouseconfiguration(
iv_catalogname = |string|
iv_dryrun = ABAP_TRUE
iv_lakehouseidcapparn = |string|
iv_lakehouseidcregistration = |string|
iv_lakehouseregistration = |string|
iv_namespacename = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_namespacename = lo_result->get_namespacename( ).
lv_string = lo_result->get_lakehouseidcapparn( ).
lv_string = lo_result->get_lakehouseregstatus( ).
lv_string = lo_result->get_catalogarn( ).
ENDIF.