/AWS1/IF_BDD=>INVOKEBLUEPRINTOPTMZTNASYNC()¶
About InvokeBlueprintOptimizationAsync¶
Invoke an async job to perform Blueprint Optimization
Method Signature¶
METHODS /AWS1/IF_BDD~INVOKEBLUEPRINTOPTMZTNASYNC
IMPORTING
!IO_BLUEPRINT TYPE REF TO /AWS1/CL_BDDBLUEPRINTOPTMZOBJ OPTIONAL
!IT_SAMPLES TYPE /AWS1/CL_BDDBLUEPRINTOPTMZSAMP=>TT_BLUEPRINTOPTMZTNSAMPLES OPTIONAL
!IO_OUTPUTCONFIGURATION TYPE REF TO /AWS1/CL_BDDBLUEPRINTOPTOUTC00 OPTIONAL
!IV_DATAAUTOMATIONPROFILEARN TYPE /AWS1/BDDDATAAUTOPROFILEARN OPTIONAL
!IO_ENCRYPTIONCONFIGURATION TYPE REF TO /AWS1/CL_BDDENCRYPTIONCONF OPTIONAL
!IT_TAGS TYPE /AWS1/CL_BDDTAG=>TT_TAGLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_bddinvblueprintopta01
RAISING
/AWS1/CX_BDDACCESSDENIEDEX
/AWS1/CX_BDDINTERNALSERVEREX
/AWS1/CX_BDDRESOURCENOTFOUNDEX
/AWS1/CX_BDDSERVICEQUOTAEXCDEX
/AWS1/CX_BDDTHROTTLINGEX
/AWS1/CX_BDDVALIDATIONEX
/AWS1/CX_BDDCLIENTEXC
/AWS1/CX_BDDSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
io_blueprint TYPE REF TO /AWS1/CL_BDDBLUEPRINTOPTMZOBJ /AWS1/CL_BDDBLUEPRINTOPTMZOBJ¶
Blueprint to be optimized
it_samples TYPE /AWS1/CL_BDDBLUEPRINTOPTMZSAMP=>TT_BLUEPRINTOPTMZTNSAMPLES TT_BLUEPRINTOPTMZTNSAMPLES¶
List of Blueprint Optimization Samples
io_outputconfiguration TYPE REF TO /AWS1/CL_BDDBLUEPRINTOPTOUTC00 /AWS1/CL_BDDBLUEPRINTOPTOUTC00¶
Output configuration where the results should be placed
iv_dataautomationprofilearn TYPE /AWS1/BDDDATAAUTOPROFILEARN /AWS1/BDDDATAAUTOPROFILEARN¶
Data automation profile ARN
Optional arguments:¶
io_encryptionconfiguration TYPE REF TO /AWS1/CL_BDDENCRYPTIONCONF /AWS1/CL_BDDENCRYPTIONCONF¶
Encryption configuration.
it_tags TYPE /AWS1/CL_BDDTAG=>TT_TAGLIST TT_TAGLIST¶
List of tags.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_bddinvblueprintopta01 /AWS1/CL_BDDINVBLUEPRINTOPTA01¶
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->invokeblueprintoptmztnasync(
io_blueprint = new /aws1/cl_bddblueprintoptmzobj(
iv_blueprintarn = |string|
iv_stage = |string|
)
io_encryptionconfiguration = new /aws1/cl_bddencryptionconf(
it_kmsencryptioncontext = VALUE /aws1/cl_bddkmsenccontext_w=>tt_kmsencryptioncontext(
(
VALUE /aws1/cl_bddkmsenccontext_w=>ts_kmsencryptioncontext_maprow(
key = |string|
value = new /aws1/cl_bddkmsenccontext_w( |string| )
)
)
)
iv_kmskeyid = |string|
)
io_outputconfiguration = new /aws1/cl_bddblueprintoptoutc00(
io_s3object = new /aws1/cl_bdds3object(
iv_s3uri = |string|
iv_version = |string|
)
)
it_samples = VALUE /aws1/cl_bddblueprintoptmzsamp=>tt_blueprintoptmztnsamples(
(
new /aws1/cl_bddblueprintoptmzsamp(
io_assets3object = new /aws1/cl_bdds3object(
iv_s3uri = |string|
iv_version = |string|
)
io_groundtruths3object = new /aws1/cl_bdds3object(
iv_s3uri = |string|
iv_version = |string|
)
)
)
)
it_tags = VALUE /aws1/cl_bddtag=>tt_taglist(
(
new /aws1/cl_bddtag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_dataautomationprofilearn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_blueprintoptimizationin = lo_result->get_invocationarn( ).
ENDIF.