Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can click “Customize cookies” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To continue without accepting these cookies, click “Continue without accepting.” To make more detailed choices or learn more, click “Customize cookies.”

Skip to content

/AWS1/CL_ASC=>DETACHTRAFFICSOURCES()

About DetachTrafficSources

Detaches one or more traffic sources from the specified Auto Scaling group.

When you detach a traffic source, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the traffic source using the DescribeTrafficSources API call. The instances continue to run.

Method Signature

IMPORTING

Required arguments:

IV_AUTOSCALINGGROUPNAME TYPE /AWS1/ASCXMLSTRINGMAXLEN255 /AWS1/ASCXMLSTRINGMAXLEN255

The name of the Auto Scaling group.

IT_TRAFFICSOURCES TYPE /AWS1/CL_ASCTRAFFICSOURCEID=>TT_TRAFFICSOURCES TT_TRAFFICSOURCES

The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ASCDETACHTRFSRCSRST00 /AWS1/CL_ASCDETACHTRFSRCSRST00

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC