/AWS1/IF_GLU=>CREATEGLUEIDENTITYCENTERCONF()¶
About CreateGlueIdentityCenterConfiguration¶
Creates a new Glue Identity Center configuration to enable integration between Glue and Amazon Web Services IAM Identity Center for authentication and authorization.
Method Signature¶
METHODS /AWS1/IF_GLU~CREATEGLUEIDENTITYCENTERCONF
IMPORTING
!IV_INSTANCEARN TYPE /AWS1/GLUIDENTITYCENTERINSTARN OPTIONAL
!IT_SCOPES TYPE /AWS1/CL_GLUIDCENSCOPESLIST_W=>TT_IDENTITYCENTERSCOPESLIST OPTIONAL
!IV_USERBACKGROUNDSESSENABLED TYPE /AWS1/GLUNULLABLEBOOLEAN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_glucreglueidcenconf01
RAISING
/AWS1/CX_GLUACCESSDENIEDEX
/AWS1/CX_GLUALREADYEXISTSEX
/AWS1/CX_GLUCONCURRENTMODEX
/AWS1/CX_GLUINTERNALSERVICEEX
/AWS1/CX_GLUINVALIDINPUTEX
/AWS1/CX_GLUOPERATIONTIMEOUTEX
/AWS1/CX_GLUCLIENTEXC
/AWS1/CX_GLUSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_instancearn TYPE /AWS1/GLUIDENTITYCENTERINSTARN /AWS1/GLUIDENTITYCENTERINSTARN¶
The Amazon Resource Name (ARN) of the Identity Center instance to be associated with the Glue configuration.
Optional arguments:¶
it_scopes TYPE /AWS1/CL_GLUIDCENSCOPESLIST_W=>TT_IDENTITYCENTERSCOPESLIST TT_IDENTITYCENTERSCOPESLIST¶
A list of Identity Center scopes that define the permissions and access levels for the Glue configuration.
iv_userbackgroundsessenabled TYPE /AWS1/GLUNULLABLEBOOLEAN /AWS1/GLUNULLABLEBOOLEAN¶
Specifies whether users can run background sessions when using Identity Center authentication with Glue services.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_glucreglueidcenconf01 /AWS1/CL_GLUCREGLUEIDCENCONF01¶
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->createglueidentitycenterconf(
it_scopes = VALUE /aws1/cl_gluidcenscopeslist_w=>tt_identitycenterscopeslist(
( new /aws1/cl_gluidcenscopeslist_w( |string| ) )
)
iv_instancearn = |string|
iv_userbackgroundsessenabled = ABAP_TRUE
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_applicationarn = lo_result->get_applicationarn( ).
ENDIF.