/AWS1/IF_SD2=>GETEXPORT()¶
About GetExport¶
Returns information for an existing domain export.
Method Signature¶
METHODS /AWS1/IF_SD2~GETEXPORT
IMPORTING
!IV_EXPORTARN TYPE /AWS1/SD2EXPORTARN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_sd2getexportresponse
RAISING
/AWS1/CX_SD2INVPARAMVALUEEX
/AWS1/CX_SD2NOSUCHEXPORTEX
/AWS1/CX_SD2CLIENTEXC
/AWS1/CX_SD2SERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_exportarn TYPE /AWS1/SD2EXPORTARN /AWS1/SD2EXPORTARN¶
Unique ARN identifier of the export.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_sd2getexportresponse /AWS1/CL_SD2GETEXPORTRESPONSE¶
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->getexport( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_exportarn = lo_result->get_exportarn( ).
lv_idempotencytoken = lo_result->get_clienttoken( ).
lv_exportstatus = lo_result->get_exportstatus( ).
lv_domainname = lo_result->get_domainname( ).
lv_requestedat = lo_result->get_requestedat( ).
lv_s3bucketname = lo_result->get_s3bucket( ).
lv_s3keyprefix = lo_result->get_s3keyprefix( ).
lv_s3ssealgorithm = lo_result->get_s3ssealgorithm( ).
lv_s3ssekmskeyid = lo_result->get_s3ssekmskeyid( ).
lv_awsaccountid = lo_result->get_s3bucketowner( ).
lv_failurecode = lo_result->get_failurecode( ).
lv_failuremessage = lo_result->get_failuremessage( ).
lv_exportmanifestsummary = lo_result->get_exportmanifest( ).
lv_itemscount = lo_result->get_itemscount( ).
lv_exportdatacutofftime = lo_result->get_exportdatacutofftime( ).
ENDIF.
Get export details¶
Get export details
DATA(lo_result) = lo_client->getexport( |arn:aws:sdb:us-east-1:123456789012:export/abc123| ).