/AWS1/IF_DPL=>CREATEAPPLICATION()¶
About CreateApplication¶
Creates an application.
Method Signature¶
METHODS /AWS1/IF_DPL~CREATEAPPLICATION
IMPORTING
!IV_APPLICATIONNAME TYPE /AWS1/DPLAPPLICATIONNAME OPTIONAL
!IV_COMPUTEPLATFORM TYPE /AWS1/DPLCOMPUTEPLATFORM OPTIONAL
!IT_TAGS TYPE /AWS1/CL_DPLTAG=>TT_TAGLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_dplcreapplicationout
RAISING
/AWS1/CX_DPLAPPLICATIONALREXEX
/AWS1/CX_DPLAPPLICATIONLMTEX00
/AWS1/CX_DPLAPPLICATIONNAMER00
/AWS1/CX_DPLINVAPPLICATIONNA00
/AWS1/CX_DPLINVCOMPUTEPLATFO00
/AWS1/CX_DPLINVALIDTAGSTOADDEX
/AWS1/CX_DPLCLIENTEXC
/AWS1/CX_DPLSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_applicationname TYPE /AWS1/DPLAPPLICATIONNAME /AWS1/DPLAPPLICATIONNAME¶
The name of the application. This name must be unique with the applicable user or Amazon Web Services account.
Optional arguments:¶
iv_computeplatform TYPE /AWS1/DPLCOMPUTEPLATFORM /AWS1/DPLCOMPUTEPLATFORM¶
The destination platform type for the deployment (
Lambda,Server, orECS).
it_tags TYPE /AWS1/CL_DPLTAG=>TT_TAGLIST TT_TAGLIST¶
The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_dplcreapplicationout /AWS1/CL_DPLCREAPPLICATIONOUT¶
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->createapplication(
it_tags = VALUE /aws1/cl_dpltag=>tt_taglist(
(
new /aws1/cl_dpltag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_applicationname = |string|
iv_computeplatform = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_applicationid = lo_result->get_applicationid( ).
ENDIF.