Skip to content

API for Amazon CloudWatch Internet Monitor

ABAP Interface /AWS1/IF_CWM

The "TLA" is a Three Letter Abbreviation that appears in ABAP class names, data dictionary objects and other ABAP objects throughout the AWS SDK for SAP ABAP. The TLA for Amazon CloudWatch Internet Monitor is CWM. This TLA helps squeeze ABAP objects into the 30-character length limit of the ABAP data dictionary.


To install the AWS SDK for SAP ABAP, import the Core transport, along with the transport for the InternetMonitor module and other API modules you are interested in. A few modules are included in the Core transport itself. For more information, see the Developer Guide guide.

About The Service

Amazon CloudWatch Internet Monitor provides visibility into how internet issues impact the performance and availability between your applications hosted on Amazon Web Services and your end users. It can reduce the time it takes for you to diagnose internet issues from days to minutes. Internet Monitor uses the connectivity data that Amazon Web Services captures from its global networking footprint to calculate a baseline of performance and availability for internet traffic. This is the same data that Amazon Web Services uses to monitor internet uptime and availability. With those measurements as a baseline, Internet Monitor raises awareness for you when there are significant problems for your end users in the different geographic locations where your application runs.

Internet Monitor publishes internet measurements to CloudWatch Logs and CloudWatch Metrics, to easily support using CloudWatch tools with health information for geographies and networks specific to your application. Internet Monitor sends health events to Amazon EventBridge so that you can set up notifications. If an issue is caused by the Amazon Web Services network, you also automatically receive an Amazon Web Services Health Dashboard notification with the steps that Amazon Web Services is taking to mitigate the problem.

To use Internet Monitor, you create a monitor and associate your application's resources with it - VPCs, NLBs, CloudFront distributions, or WorkSpaces directories - so Internet Monitor can determine where your application's internet traffic is. Internet Monitor then provides internet measurements from Amazon Web Services that are specific to the locations and ASNs (typically, internet service providers or ISPs) that communicate with your application.

For more information, see Using Amazon CloudWatch Internet Monitor in the Amazon CloudWatch User Guide.

Using the SDK

In your code, create a client using the SDK module for Amazon CloudWatch Internet Monitor, which is created with factory method /AWS1/CL_CWM_FACTORY=>create(). In this example we will assume you have configured an SDK profile in transaction /AWS1/IMG called ZFINANCE.

DATA(go_session)   = /aws1/cl_rt_session_aws=>create( 'ZFINANCE' ).
DATA(go_cwm)       = /aws1/cl_cwm_factory=>create( go_session ).

Your variable go_cwm is an instance of /AWS1/IF_CWM, and all of the operations in the Amazon CloudWatch Internet Monitor service are accessed by calling methods in /AWS1/IF_CWM.

API Operations

For an overview of ABAP method calls corresponding to API operations in Amazon CloudWatch Internet Monitor, see the Operation List.

Factory Method

/AWS1/CL_CWM_FACTORY=>create( )

Creates an object of type /AWS1/IF_CWM.


Optional arguments:







/AWS1/IF_CWM represents the ABAP client for the InternetMonitor service, representing each operation as a method call. For more information see the API Page page.

Configuring Programmatically

DATA(lo_config) = DATA(go_cwm)->get_config( ).

lo_config is a variable of type /AWS1/CL_CWM_CONFIG. See the documentation for /AWS1/CL_CWM_CONFIG for details on the settings that can be configured.


Paginators for Amazon CloudWatch Internet Monitor can be created via get_paginator() which returns a paginator object of type /AWS1/IF_CWM_PAGINATOR. The operation method that is being paginated is called using the paginator object, which accepts any necessary parameters to provide to the underlying API operation. This returns an iterator object which can be used to iterate over paginated results using has_next() and get_next() methods.

Details about the paginator methods available for service Amazon CloudWatch Internet Monitor can be found in interface /AWS1/IF_CWM_PAGINATOR.