/AWS1/IF_SGM=>UPDATEMONITORINGSCHEDULE()¶
About UpdateMonitoringSchedule¶
Updates a previously created schedule.
Method Signature¶
METHODS /AWS1/IF_SGM~UPDATEMONITORINGSCHEDULE
IMPORTING
!IV_MONITORINGSCHEDULENAME TYPE /AWS1/SGMMONSCHEDULENAME OPTIONAL
!IO_MONITORINGSCHEDULECONFIG TYPE REF TO /AWS1/CL_SGMMONSCHEDULECONFIG OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_sgmupdatemonschdrsp
RAISING
/AWS1/CX_SGMRESOURCELIMITEXCD
/AWS1/CX_SGMRESOURCENOTFOUND
/AWS1/CX_SGMCLIENTEXC
/AWS1/CX_SGMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_monitoringschedulename TYPE /AWS1/SGMMONSCHEDULENAME /AWS1/SGMMONSCHEDULENAME¶
The name of the monitoring schedule. The name must be unique within an Amazon Web Services Region within an Amazon Web Services account.
io_monitoringscheduleconfig TYPE REF TO /AWS1/CL_SGMMONSCHEDULECONFIG /AWS1/CL_SGMMONSCHEDULECONFIG¶
The configuration object that specifies the monitoring schedule and defines the monitoring job.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_sgmupdatemonschdrsp /AWS1/CL_SGMUPDATEMONSCHDRSP¶
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->updatemonitoringschedule(
io_monitoringscheduleconfig = new /aws1/cl_sgmmonscheduleconfig(
io_monitoringjobdefinition = new /aws1/cl_sgmmonjobdefinition(
io_baselineconfig = new /aws1/cl_sgmmonbaselineconfig(
io_constraintsresource = new /aws1/cl_sgmmoncnstrntsresrc( |string| )
io_statisticsresource = new /aws1/cl_sgmmonstatsresource( |string| )
iv_baseliningjobname = |string|
)
io_monitoringappspec = new /aws1/cl_sgmmonitoringappspec(
it_containerarguments = VALUE /aws1/cl_sgmmoncontainerargu00=>tt_moncontainerarguments(
( new /aws1/cl_sgmmoncontainerargu00( |string| ) )
)
it_containerentrypoint = VALUE /aws1/cl_sgmcontainerentrpt_w=>tt_containerentrypoint(
( new /aws1/cl_sgmcontainerentrpt_w( |string| ) )
)
iv_imageuri = |string|
iv_postalysprocorsourceuri = |string|
iv_recordpreprocorsourceuri = |string|
)
io_monitoringoutputconfig = new /aws1/cl_sgmmonoutputconfig(
it_monitoringoutputs = VALUE /aws1/cl_sgmmonitoringoutput=>tt_monitoringoutputs(
(
new /aws1/cl_sgmmonitoringoutput(
io_s3output = new /aws1/cl_sgmmonitorings3output(
iv_localpath = |string|
iv_s3uploadmode = |string|
iv_s3uri = |string|
)
)
)
)
iv_kmskeyid = |string|
)
io_monitoringresources = new /aws1/cl_sgmmonresources(
io_clusterconfig = new /aws1/cl_sgmmonclusterconfig(
iv_instancecount = 123
iv_instancetype = |string|
iv_volumekmskeyid = |string|
iv_volumesizeingb = 123
)
)
io_networkconfig = new /aws1/cl_sgmnetworkconfig(
io_vpcconfig = new /aws1/cl_sgmvpcconfig(
it_securitygroupids = VALUE /aws1/cl_sgmvpcsecgroupids_w=>tt_vpcsecuritygroupids(
( new /aws1/cl_sgmvpcsecgroupids_w( |string| ) )
)
it_subnets = VALUE /aws1/cl_sgmsubnets_w=>tt_subnets(
( new /aws1/cl_sgmsubnets_w( |string| ) )
)
)
iv_enablenetworkisolation = ABAP_TRUE
iv_enbintercontainertrafenc = ABAP_TRUE
)
io_stoppingcondition = new /aws1/cl_sgmmonstoppingcond( 123 )
it_environment = VALUE /aws1/cl_sgmmonenvironmentma00=>tt_monitoringenvironmentmap(
(
VALUE /aws1/cl_sgmmonenvironmentma00=>ts_monenvironmentmap_maprow(
key = |string|
value = new /aws1/cl_sgmmonenvironmentma00( |string| )
)
)
)
it_monitoringinputs = VALUE /aws1/cl_sgmmonitoringinput=>tt_monitoringinputs(
(
new /aws1/cl_sgmmonitoringinput(
io_batchtransforminput = new /aws1/cl_sgmbatchtransforminp(
io_datasetformat = new /aws1/cl_sgmmondatasetformat(
io_csv = new /aws1/cl_sgmmoncsvdsformat( ABAP_TRUE )
io_json = new /aws1/cl_sgmmonjsondsformat( ABAP_TRUE )
io_parquet = new /aws1/cl_sgmmonparquetdsformat( )
)
iv_datacaptureddsts3uri = |string|
iv_endtimeoffset = |string|
iv_excludefeaturesattribute = |string|
iv_featuresattribute = |string|
iv_inferenceattribute = |string|
iv_localpath = |string|
iv_probabilityattribute = |string|
iv_probabilitythresholdattr = '0.1'
iv_s3datadistributiontype = |string|
iv_s3inputmode = |string|
iv_starttimeoffset = |string|
)
io_endpointinput = new /aws1/cl_sgmendpointinput(
iv_endpointname = |string|
iv_endtimeoffset = |string|
iv_excludefeaturesattribute = |string|
iv_featuresattribute = |string|
iv_inferenceattribute = |string|
iv_localpath = |string|
iv_probabilityattribute = |string|
iv_probabilitythresholdattr = '0.1'
iv_s3datadistributiontype = |string|
iv_s3inputmode = |string|
iv_starttimeoffset = |string|
)
)
)
)
iv_rolearn = |string|
)
io_scheduleconfig = new /aws1/cl_sgmscheduleconfig(
iv_dataanalysisendtime = |string|
iv_dataanalysisstarttime = |string|
iv_scheduleexpression = |string|
)
iv_monitoringtype = |string|
iv_monjobdefinitionname = |string|
)
iv_monitoringschedulename = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_monitoringschedulearn = lo_result->get_monitoringschedulearn( ).
ENDIF.