Module Smaws_Client_AutoScaling.AttachTrafficSources

Attaches one or more traffic sources to the specified Auto Scaling group.

You can use any of the following as traffic sources for an Auto Scaling group:

This operation is additive and does not detach existing traffic sources from the Auto Scaling group.

After the operation completes, use the DescribeTrafficSources API to return details about the state of the attachments between traffic sources and your Auto Scaling group. To detach a traffic source from the Auto Scaling group, call the DetachTrafficSources API.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `InstanceRefreshInProgressFault of Types.instance_refresh_in_progress_fault | `ResourceContentionFault of Types.resource_contention_fault | `ServiceLinkedRoleFailure of Types.service_linked_role_failure ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.attach_traffic_sources_type -> (Types.attach_traffic_sources_result_type, [> Smaws_Lib.Protocols.AwsQuery.error | `InstanceRefreshInProgressFault of Types.instance_refresh_in_progress_fault | `ResourceContentionFault of Types.resource_contention_fault | `ServiceLinkedRoleFailure of Types.service_linked_role_failure ]) Stdlib.result