    # File lib/fog/aws/models/auto_scaling/group.rb, line 41
            def activities
              requires :id
              data = []
              next_token = nil
              loop do
                result = connection.describe_scaling_activities('AutoScalingGroupName' => id, 'NextToken' => next_token).body['DescribeScalingActivitiesResult']
                data += result['Activities']
                next_token = result['NextToken']
                break if next_token.nil?
              end
              Fog::AWS::AutoScaling::Activities.new({
                :data => data,
                :connection => connection,
                #:load_balancer => self
              })
            end