Skip to content

/AWS1/CL_FNT=>CREATEMONITORINGSUBSCRIPTION()

About CreateMonitoringSubscription

Enables additional CloudWatch metrics for the specified CloudFront distribution. The additional metrics incur an additional cost.

For more information, see Viewing additional CloudFront distribution metrics in the Amazon CloudFront Developer Guide.

Method Signature

IMPORTING

Required arguments:

IV_DISTRIBUTIONID TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING

The ID of the distribution that you are enabling metrics for.

IO_MONITORINGSUBSCRIPTION TYPE REF TO /AWS1/CL_FNTMONSUBSCRIPTION /AWS1/CL_FNTMONSUBSCRIPTION

A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FNTCREMONSUBSCRIPTI01 /AWS1/CL_FNTCREMONSUBSCRIPTI01