/AWS1/IF_FNT=>CREATETRUSTSTORE()¶
About CreateTrustStore¶
Creates a trust store.
Method Signature¶
METHODS /AWS1/IF_FNT~CREATETRUSTSTORE
IMPORTING
!IV_NAME TYPE /AWS1/FNTSTRING OPTIONAL
!IO_CACERTSBUNDLESOURCE TYPE REF TO /AWS1/CL_FNTCACERTSBNDLSOURCE OPTIONAL
!IO_TAGS TYPE REF TO /AWS1/CL_FNTTAGS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_fntcretruststorerslt
RAISING
/AWS1/CX_FNTACCESSDENIED
/AWS1/CX_FNTENTITYALRDYEXISTS
/AWS1/CX_FNTENTITYLIMITEXCD
/AWS1/CX_FNTENTITYNOTFOUND
/AWS1/CX_FNTINVALIDARGUMENT
/AWS1/CX_FNTINVALIDTAGGING
/AWS1/CX_FNTCLIENTEXC
/AWS1/CX_FNTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_name TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING¶
A name for the trust store.
io_cacertsbundlesource TYPE REF TO /AWS1/CL_FNTCACERTSBNDLSOURCE /AWS1/CL_FNTCACERTSBNDLSOURCE¶
The CA certificates bundle source for the trust store.
Optional arguments:¶
io_tags TYPE REF TO /AWS1/CL_FNTTAGS /AWS1/CL_FNTTAGS¶
Tags
RETURNING¶
oo_output TYPE REF TO /aws1/cl_fntcretruststorerslt /AWS1/CL_FNTCRETRUSTSTORERSLT¶
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->createtruststore(
io_cacertsbundlesource = new /aws1/cl_fntcacertsbndlsource(
io_cacertsbundles3location = new /aws1/cl_fntcacertsbundles3loc(
iv_bucket = |string|
iv_key = |string|
iv_region = |string|
iv_version = |string|
)
)
io_tags = new /aws1/cl_fnttags(
it_items = VALUE /aws1/cl_fnttag=>tt_taglist(
(
new /aws1/cl_fnttag(
iv_key = |string|
iv_value = |string|
)
)
)
)
iv_name = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_truststore = lo_result->get_truststore( ).
IF lo_truststore IS NOT INITIAL.
lv_string = lo_truststore->get_id( ).
lv_string = lo_truststore->get_arn( ).
lv_string = lo_truststore->get_name( ).
lv_truststorestatus = lo_truststore->get_status( ).
lv_integer = lo_truststore->get_numberofcacertificates( ).
lv_timestamp = lo_truststore->get_lastmodifiedtime( ).
lv_string = lo_truststore->get_reason( ).
ENDIF.
lv_string = lo_result->get_etag( ).
ENDIF.