/AWS1/IF_DZN=>CREATEENVIRONMENTBLUEPRINT()¶
About CreateEnvironmentBlueprint¶
Creates a Amazon DataZone blueprint.
Method Signature¶
METHODS /AWS1/IF_DZN~CREATEENVIRONMENTBLUEPRINT
IMPORTING
!IV_DOMAINIDENTIFIER TYPE /AWS1/DZNDOMAINID OPTIONAL
!IV_NAME TYPE /AWS1/DZNENVIRONMENTBLUEPRIN01 OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/DZNDESCRIPTION OPTIONAL
!IO_PROVISIONINGPROPERTIES TYPE REF TO /AWS1/CL_DZNPROVPROPERTIES OPTIONAL
!IT_USERPARAMETERS TYPE /AWS1/CL_DZNCUSTOMPARAMETER=>TT_CUSTOMPARAMETERLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_dzncreenvblueprintout
RAISING
/AWS1/CX_DZNACCESSDENIEDEX
/AWS1/CX_DZNTHROTTLINGEX
/AWS1/CX_DZNUNAUTHORIZEDEX
/AWS1/CX_DZNCONFLICTEXCEPTION
/AWS1/CX_DZNINTERNALSERVEREX
/AWS1/CX_DZNRESOURCENOTFOUNDEX
/AWS1/CX_DZNSERVICEQUOTAEXCDEX
/AWS1/CX_DZNVALIDATIONEX
/AWS1/CX_DZNCLIENTEXC
/AWS1/CX_DZNSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_domainidentifier TYPE /AWS1/DZNDOMAINID /AWS1/DZNDOMAINID¶
The identifier of the domain in which this blueprint is created.
iv_name TYPE /AWS1/DZNENVIRONMENTBLUEPRIN01 /AWS1/DZNENVIRONMENTBLUEPRIN01¶
The name of this Amazon DataZone blueprint.
io_provisioningproperties TYPE REF TO /AWS1/CL_DZNPROVPROPERTIES /AWS1/CL_DZNPROVPROPERTIES¶
The provisioning properties of this Amazon DataZone blueprint.
Optional arguments:¶
iv_description TYPE /AWS1/DZNDESCRIPTION /AWS1/DZNDESCRIPTION¶
The description of the Amazon DataZone blueprint.
it_userparameters TYPE /AWS1/CL_DZNCUSTOMPARAMETER=>TT_CUSTOMPARAMETERLIST TT_CUSTOMPARAMETERLIST¶
The user parameters of this Amazon DataZone blueprint.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_dzncreenvblueprintout /AWS1/CL_DZNCREENVBLUEPRINTOUT¶
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->createenvironmentblueprint(
io_provisioningproperties = new /aws1/cl_dznprovproperties( new /aws1/cl_dzncloudformationprps( |string| ) )
it_userparameters = VALUE /aws1/cl_dzncustomparameter=>tt_customparameterlist(
(
new /aws1/cl_dzncustomparameter(
iv_defaultvalue = |string|
iv_description = |string|
iv_fieldtype = |string|
iv_iseditable = ABAP_TRUE
iv_isoptional = ABAP_TRUE
iv_isupdatesupported = ABAP_TRUE
iv_keyname = |string|
)
)
)
iv_description = |string|
iv_domainidentifier = |string|
iv_name = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_environmentblueprintid = lo_result->get_id( ).
lv_environmentblueprintnam = lo_result->get_name( ).
lv_description = lo_result->get_description( ).
lv_string = lo_result->get_provider( ).
lo_provisioningproperties = lo_result->get_provisioningproperties( ).
IF lo_provisioningproperties IS NOT INITIAL.
lo_cloudformationpropertie = lo_provisioningproperties->get_cloudformation( ).
IF lo_cloudformationpropertie IS NOT INITIAL.
lv_string = lo_cloudformationpropertie->get_templateurl( ).
ENDIF.
ENDIF.
lo_deploymentproperties = lo_result->get_deploymentproperties( ).
IF lo_deploymentproperties IS NOT INITIAL.
lv_integer = lo_deploymentproperties->get_starttimeoutminutes( ).
lv_integer = lo_deploymentproperties->get_endtimeoutminutes( ).
ENDIF.
LOOP AT lo_result->get_userparameters( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string = lo_row_1->get_keyname( ).
lv_description = lo_row_1->get_description( ).
lv_string = lo_row_1->get_fieldtype( ).
lv_string = lo_row_1->get_defaultvalue( ).
lv_boolean = lo_row_1->get_iseditable( ).
lv_boolean = lo_row_1->get_isoptional( ).
lv_boolean = lo_row_1->get_isupdatesupported( ).
ENDIF.
ENDLOOP.
LOOP AT lo_result->get_glossaryterms( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_glossarytermid = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
lv_timestamp = lo_result->get_createdat( ).
lv_timestamp = lo_result->get_updatedat( ).
ENDIF.