Skip to content

/AWS1/IF_RSH=>MODIFYCLUSTERSNAPSHOTSCHD()

About ModifyClusterSnapshotSchedule

Modifies a snapshot schedule for a cluster.

Method Signature

METHODS /AWS1/IF_RSH~MODIFYCLUSTERSNAPSHOTSCHD
  IMPORTING
    !IV_CLUSTERIDENTIFIER TYPE /AWS1/RSHSTRING OPTIONAL
    !IV_SCHEDULEIDENTIFIER TYPE /AWS1/RSHSTRING OPTIONAL
    !IV_DISASSOCIATESCHEDULE TYPE /AWS1/RSHBOOLEANOPTIONAL OPTIONAL
  RAISING
    /AWS1/CX_RSHCLUSTNOTFOUNDFAULT
    /AWS1/CX_RSHINVCLSTSNAPSCHST00
    /AWS1/CX_RSHSNAPSCHNOTFNDFAULT
    /AWS1/CX_RSHCLIENTEXC
    /AWS1/CX_RSHSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_clusteridentifier TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING

A unique identifier for the cluster whose snapshot schedule you want to modify.

Optional arguments:

iv_scheduleidentifier TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING

A unique alphanumeric identifier for the schedule that you want to associate with the cluster.

iv_disassociateschedule TYPE /AWS1/RSHBOOLEANOPTIONAL /AWS1/RSHBOOLEANOPTIONAL

A boolean to indicate whether to remove the assoiciation between the cluster and the schedule.

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.

lo_client->modifyclustersnapshotschd(
  iv_clusteridentifier = |string|
  iv_disassociateschedule = ABAP_TRUE
  iv_scheduleidentifier = |string|
).