/AWS1/IF_BDD=>CREATEDATAAUTOMATIONPROJECT()¶
About CreateDataAutomationProject¶
Creates an Amazon Bedrock Data Automation Project
Method Signature¶
METHODS /AWS1/IF_BDD~CREATEDATAAUTOMATIONPROJECT
IMPORTING
!IV_PROJECTNAME TYPE /AWS1/BDDDATAAUTOMATIONPROJE02 OPTIONAL
!IV_PROJECTDESCRIPTION TYPE /AWS1/BDDDATAAUTOMATIONPROJE03 OPTIONAL
!IV_PROJECTSTAGE TYPE /AWS1/BDDDATAAUTOMATIONPROJE01 OPTIONAL
!IV_PROJECTTYPE TYPE /AWS1/BDDDATAAUTOPROJECTTYPE OPTIONAL
!IO_STANDARDOUTPUTCONF TYPE REF TO /AWS1/CL_BDDSTANDARDOUTPUTCONF OPTIONAL
!IO_CUSTOMOUTPUTCONFIGURATION TYPE REF TO /AWS1/CL_BDDCUSTOMOUTPUTCONF OPTIONAL
!IO_OVERRIDECONFIGURATION TYPE REF TO /AWS1/CL_BDDOVERRIDECONF OPTIONAL
!IO_DATAAUTOMATIONLIBRARYCONF TYPE REF TO /AWS1/CL_BDDDATAAUTOLIBCONF OPTIONAL
!IV_CLIENTTOKEN TYPE /AWS1/BDDCLIENTTOKEN 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_bddcredataautomatio01
RAISING
/AWS1/CX_BDDACCESSDENIEDEX
/AWS1/CX_BDDCONFLICTEXCEPTION
/AWS1/CX_BDDINTERNALSERVEREX
/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:¶
iv_projectname TYPE /AWS1/BDDDATAAUTOMATIONPROJE02 /AWS1/BDDDATAAUTOMATIONPROJE02¶
Name of the DataAutomationProject
io_standardoutputconf TYPE REF TO /AWS1/CL_BDDSTANDARDOUTPUTCONF /AWS1/CL_BDDSTANDARDOUTPUTCONF¶
Standard output configuration
Optional arguments:¶
iv_projectdescription TYPE /AWS1/BDDDATAAUTOMATIONPROJE03 /AWS1/BDDDATAAUTOMATIONPROJE03¶
Description of the DataAutomationProject
iv_projectstage TYPE /AWS1/BDDDATAAUTOMATIONPROJE01 /AWS1/BDDDATAAUTOMATIONPROJE01¶
Stage of the Project
iv_projecttype TYPE /AWS1/BDDDATAAUTOPROJECTTYPE /AWS1/BDDDATAAUTOPROJECTTYPE¶
Type of the DataAutomationProject
io_customoutputconfiguration TYPE REF TO /AWS1/CL_BDDCUSTOMOUTPUTCONF /AWS1/CL_BDDCUSTOMOUTPUTCONF¶
Custom output configuration
io_overrideconfiguration TYPE REF TO /AWS1/CL_BDDOVERRIDECONF /AWS1/CL_BDDOVERRIDECONF¶
Override configuration
io_dataautomationlibraryconf TYPE REF TO /AWS1/CL_BDDDATAAUTOLIBCONF /AWS1/CL_BDDDATAAUTOLIBCONF¶
DataAutomation Library configuration
iv_clienttoken TYPE /AWS1/BDDCLIENTTOKEN /AWS1/BDDCLIENTTOKEN¶
Client specified token used for idempotency checks
io_encryptionconfiguration TYPE REF TO /AWS1/CL_BDDENCRYPTIONCONF /AWS1/CL_BDDENCRYPTIONCONF¶
KMS Encryption Configuration
it_tags TYPE /AWS1/CL_BDDTAG=>TT_TAGLIST TT_TAGLIST¶
List of tags
RETURNING¶
oo_output TYPE REF TO /aws1/cl_bddcredataautomatio01 /AWS1/CL_BDDCREDATAAUTOMATIO01¶
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->createdataautomationproject(
io_customoutputconfiguration = new /aws1/cl_bddcustomoutputconf(
it_blueprints = VALUE /aws1/cl_bddblueprintitem=>tt_blueprintitems(
(
new /aws1/cl_bddblueprintitem(
iv_blueprintarn = |string|
iv_blueprintstage = |string|
iv_blueprintversion = |string|
)
)
)
)
io_dataautomationlibraryconf = new /aws1/cl_bdddataautolibconf(
it_libraries = VALUE /aws1/cl_bdddataautolibitem=>tt_dataautomationlibraryitems(
( new /aws1/cl_bdddataautolibitem( |string| ) )
)
)
io_encryptionconfiguration = new /aws1/cl_bddencryptionconf(
it_kmsencryptioncontext = VALUE /aws1/cl_bddkmsenccontext_w=>tt_kmsencryptioncontext(
(
VALUE /aws1/cl_bddkmsenccontext_w=>ts_kmsencryptioncontext_maprow(
value = new /aws1/cl_bddkmsenccontext_w( |string| )
key = |string|
)
)
)
iv_kmskeyid = |string|
)
io_overrideconfiguration = new /aws1/cl_bddoverrideconf(
io_audio = new /aws1/cl_bddaudiooverrideconf(
io_languageconfiguration = new /aws1/cl_bddaudiolanguageconf(
it_inputlanguages = VALUE /aws1/cl_bddaudioinputlangs_w=>tt_audioinputlanguages(
( new /aws1/cl_bddaudioinputlangs_w( |string| ) )
)
iv_generativeoutputlanguage = |string|
iv_identifymultiplelanguages = ABAP_TRUE
)
io_modalityprocessing = new /aws1/cl_bddmodalityprocingc00( |string| )
io_sensitivedataconf = new /aws1/cl_bddsensitivedataconf(
io_piientitiesconfiguration = new /aws1/cl_bddpiientitiesconf(
it_piientitytypes = VALUE /aws1/cl_bddpiientitytypes_w=>tt_piientitytypes(
( new /aws1/cl_bddpiientitytypes_w( |string| ) )
)
iv_redactionmaskmode = |string|
)
it_detectionscope = VALUE /aws1/cl_bddsendatadetscope_w=>tt_sensitivedatadetectionscope(
( new /aws1/cl_bddsendatadetscope_w( |string| ) )
)
iv_detectionmode = |string|
)
)
io_document = new /aws1/cl_bdddocoverrideconf(
io_modalityprocessing = new /aws1/cl_bddmodalityprocingc00( |string| )
io_sensitivedataconf = new /aws1/cl_bddsensitivedataconf(
io_piientitiesconfiguration = new /aws1/cl_bddpiientitiesconf(
it_piientitytypes = VALUE /aws1/cl_bddpiientitytypes_w=>tt_piientitytypes(
( new /aws1/cl_bddpiientitytypes_w( |string| ) )
)
iv_redactionmaskmode = |string|
)
it_detectionscope = VALUE /aws1/cl_bddsendatadetscope_w=>tt_sensitivedatadetectionscope(
( new /aws1/cl_bddsendatadetscope_w( |string| ) )
)
iv_detectionmode = |string|
)
io_splitter = new /aws1/cl_bddsplitterconf( |string| )
)
io_image = new /aws1/cl_bddimageoverrideconf(
io_modalityprocessing = new /aws1/cl_bddmodalityprocingc00( |string| )
io_sensitivedataconf = new /aws1/cl_bddsensitivedataconf(
io_piientitiesconfiguration = new /aws1/cl_bddpiientitiesconf(
it_piientitytypes = VALUE /aws1/cl_bddpiientitytypes_w=>tt_piientitytypes(
( new /aws1/cl_bddpiientitytypes_w( |string| ) )
)
iv_redactionmaskmode = |string|
)
it_detectionscope = VALUE /aws1/cl_bddsendatadetscope_w=>tt_sensitivedatadetectionscope(
( new /aws1/cl_bddsendatadetscope_w( |string| ) )
)
iv_detectionmode = |string|
)
)
io_modalityrouting = new /aws1/cl_bddmodalityroutingc00(
iv_jpeg = |string|
iv_mov = |string|
iv_mp4 = |string|
iv_png = |string|
)
io_video = new /aws1/cl_bddvideooverrideconf(
io_modalityprocessing = new /aws1/cl_bddmodalityprocingc00( |string| )
io_sensitivedataconf = new /aws1/cl_bddsensitivedataconf(
io_piientitiesconfiguration = new /aws1/cl_bddpiientitiesconf(
it_piientitytypes = VALUE /aws1/cl_bddpiientitytypes_w=>tt_piientitytypes(
( new /aws1/cl_bddpiientitytypes_w( |string| ) )
)
iv_redactionmaskmode = |string|
)
it_detectionscope = VALUE /aws1/cl_bddsendatadetscope_w=>tt_sensitivedatadetectionscope(
( new /aws1/cl_bddsendatadetscope_w( |string| ) )
)
iv_detectionmode = |string|
)
)
)
io_standardoutputconf = new /aws1/cl_bddstandardoutputconf(
io_audio = new /aws1/cl_bddaudiostandardout00(
io_extraction = new /aws1/cl_bddaudiostandardext00(
io_category = new /aws1/cl_bddaudioextractioncat(
io_typeconfiguration = new /aws1/cl_bddaudioextcattypec00(
io_transcript = new /aws1/cl_bddtranscriptconf(
io_channellabeling = new /aws1/cl_bddchnllabelingconf( |string| )
io_speakerlabeling = new /aws1/cl_bddspeakerlabelingc00( |string| )
)
)
it_types = VALUE /aws1/cl_bddaudioextractcatt00=>tt_audioextractioncattypes(
( new /aws1/cl_bddaudioextractcatt00( |string| ) )
)
iv_state = |string|
)
)
io_generativefield = new /aws1/cl_bddaudiostandardgen00(
it_types = VALUE /aws1/cl_bddaudiostandardgen01=>tt_audiostandardgenerativefi00(
( new /aws1/cl_bddaudiostandardgen01( |string| ) )
)
iv_state = |string|
)
)
io_document = new /aws1/cl_bdddocstandardoutconf(
io_extraction = new /aws1/cl_bdddocstandardextract(
io_boundingbox = new /aws1/cl_bdddocboundingbox( |string| )
io_granularity = new /aws1/cl_bdddocextractgranul00(
it_types = VALUE /aws1/cl_bdddocextractgranul01=>tt_docextractgranularitytypes(
( new /aws1/cl_bdddocextractgranul01( |string| ) )
)
)
)
io_generativefield = new /aws1/cl_bdddocstandardgener00( |string| )
io_outputformat = new /aws1/cl_bdddocoutputformat(
io_additionalfileformat = new /aws1/cl_bdddocoutaddlfilefmt( |string| )
io_textformat = new /aws1/cl_bdddocouttextformat(
it_types = VALUE /aws1/cl_bdddocouttxtfmttype00=>tt_docoutputtextformattypes(
( new /aws1/cl_bdddocouttxtfmttype00( |string| ) )
)
)
)
)
io_image = new /aws1/cl_bddimagestandardout00(
io_extraction = new /aws1/cl_bddimagestandardext00(
io_boundingbox = new /aws1/cl_bddimageboundingbox( |string| )
io_category = new /aws1/cl_bddimageextractioncat(
it_types = VALUE /aws1/cl_bddimageextractcatt00=>tt_imageextractioncattypes(
( new /aws1/cl_bddimageextractcatt00( |string| ) )
)
iv_state = |string|
)
)
io_generativefield = new /aws1/cl_bddimagestandardgen00(
it_types = VALUE /aws1/cl_bddimagestandardgen01=>tt_imagestandardgenerativefi00(
( new /aws1/cl_bddimagestandardgen01( |string| ) )
)
iv_state = |string|
)
)
io_video = new /aws1/cl_bddvideostandardout00(
io_extraction = new /aws1/cl_bddvideostandardext00(
io_boundingbox = new /aws1/cl_bddvideoboundingbox( |string| )
io_category = new /aws1/cl_bddvideoextractioncat(
it_types = VALUE /aws1/cl_bddvideoextractcatt00=>tt_videoextractioncattypes(
( new /aws1/cl_bddvideoextractcatt00( |string| ) )
)
iv_state = |string|
)
)
io_generativefield = new /aws1/cl_bddvideostandardgen00(
it_types = VALUE /aws1/cl_bddvideostandardgen01=>tt_videostandardgenerativefi00(
( new /aws1/cl_bddvideostandardgen01( |string| ) )
)
iv_state = |string|
)
)
)
it_tags = VALUE /aws1/cl_bddtag=>tt_taglist(
(
new /aws1/cl_bddtag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_clienttoken = |string|
iv_projectdescription = |string|
iv_projectname = |string|
iv_projectstage = |string|
iv_projecttype = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_dataautomationprojectar = lo_result->get_projectarn( ).
lv_dataautomationprojectst = lo_result->get_projectstage( ).
lv_dataautomationprojectst_1 = lo_result->get_status( ).
ENDIF.