/AWS1/IF_SGM=>UPDATEPIPELINE()¶
About UpdatePipeline¶
Updates a pipeline.
Method Signature¶
METHODS /AWS1/IF_SGM~UPDATEPIPELINE
IMPORTING
!IV_PIPELINENAME TYPE /AWS1/SGMPIPELINENAME OPTIONAL
!IV_PIPELINEDISPLAYNAME TYPE /AWS1/SGMPIPELINENAME OPTIONAL
!IV_PIPELINEDEFINITION TYPE /AWS1/SGMPIPELINEDEFINITION OPTIONAL
!IO_PIPELINEDEFNS3LOCATION TYPE REF TO /AWS1/CL_SGMPIPELINEDEFNS3LOC OPTIONAL
!IV_PIPELINEDESCRIPTION TYPE /AWS1/SGMPIPELINEDESCRIPTION OPTIONAL
!IV_ROLEARN TYPE /AWS1/SGMROLEARN OPTIONAL
!IO_PARALLELISMCONFIGURATION TYPE REF TO /AWS1/CL_SGMPARALLELISMCONF OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_sgmupdateplinresponse
RAISING
/AWS1/CX_SGMCONFLICTEXCEPTION
/AWS1/CX_SGMRESOURCENOTFOUND
/AWS1/CX_SGMCLIENTEXC
/AWS1/CX_SGMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_pipelinename TYPE /AWS1/SGMPIPELINENAME /AWS1/SGMPIPELINENAME¶
The name of the pipeline to update.
Optional arguments:¶
iv_pipelinedisplayname TYPE /AWS1/SGMPIPELINENAME /AWS1/SGMPIPELINENAME¶
The display name of the pipeline.
iv_pipelinedefinition TYPE /AWS1/SGMPIPELINEDEFINITION /AWS1/SGMPIPELINEDEFINITION¶
The JSON pipeline definition.
io_pipelinedefns3location TYPE REF TO /AWS1/CL_SGMPIPELINEDEFNS3LOC /AWS1/CL_SGMPIPELINEDEFNS3LOC¶
The location of the pipeline definition stored in Amazon S3. If specified, SageMaker will retrieve the pipeline definition from this location.
iv_pipelinedescription TYPE /AWS1/SGMPIPELINEDESCRIPTION /AWS1/SGMPIPELINEDESCRIPTION¶
The description of the pipeline.
iv_rolearn TYPE /AWS1/SGMROLEARN /AWS1/SGMROLEARN¶
The Amazon Resource Name (ARN) that the pipeline uses to execute.
io_parallelismconfiguration TYPE REF TO /AWS1/CL_SGMPARALLELISMCONF /AWS1/CL_SGMPARALLELISMCONF¶
If specified, it applies to all executions of this pipeline by default.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_sgmupdateplinresponse /AWS1/CL_SGMUPDATEPLINRESPONSE¶
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->updatepipeline(
io_parallelismconfiguration = new /aws1/cl_sgmparallelismconf( 123 )
io_pipelinedefns3location = new /aws1/cl_sgmpipelinedefns3loc(
iv_bucket = |string|
iv_objectkey = |string|
iv_versionid = |string|
)
iv_pipelinedefinition = |string|
iv_pipelinedescription = |string|
iv_pipelinedisplayname = |string|
iv_pipelinename = |string|
iv_rolearn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_pipelinearn = lo_result->get_pipelinearn( ).
lv_pipelineversionid = lo_result->get_pipelineversionid( ).
ENDIF.