/AWS1/IF_CGP=>DELETEUSERPOOLCLIENTSECRET()¶
About DeleteUserPoolClientSecret¶
Deletes a specific client secret from a user pool app client. You cannot delete the last remaining secret for an app client.
Method Signature¶
METHODS /AWS1/IF_CGP~DELETEUSERPOOLCLIENTSECRET
IMPORTING
!IV_USERPOOLID TYPE /AWS1/CGPUSERPOOLIDTYPE OPTIONAL
!IV_CLIENTID TYPE /AWS1/CGPCLIENTIDTYPE OPTIONAL
!IV_CLIENTSECRETID TYPE /AWS1/CGPCLIENTSECRETIDTYPE OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_cgpdeluserpoolclise01
RAISING
/AWS1/CX_CGPINTERNALSERVEREX
/AWS1/CX_CGPINVALIDPARAMETEREX
/AWS1/CX_CGPLIMITEXCEEDEDEX
/AWS1/CX_CGPRESOURCENOTFOUNDEX
/AWS1/CX_CGPTOOMANYREQUESTSEX
/AWS1/CX_CGPCLIENTEXC
/AWS1/CX_CGPSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_userpoolid TYPE /AWS1/CGPUSERPOOLIDTYPE /AWS1/CGPUSERPOOLIDTYPE¶
The ID of the user pool that contains the app client.
iv_clientid TYPE /AWS1/CGPCLIENTIDTYPE /AWS1/CGPCLIENTIDTYPE¶
The ID of the app client from which you want to delete the secret.
iv_clientsecretid TYPE /AWS1/CGPCLIENTSECRETIDTYPE /AWS1/CGPCLIENTSECRETIDTYPE¶
The unique identifier of the client secret you want to delete.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_cgpdeluserpoolclise01 /AWS1/CL_CGPDELUSERPOOLCLISE01¶
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->deleteuserpoolclientsecret(
iv_clientid = |string|
iv_clientsecretid = |string|
iv_userpoolid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.