    # File lib/fog/aws/requests/auto_scaling/put_notification_configuration.rb, line 43
            def put_notification_configuration(auto_scaling_group_name, notification_types, topic_arn)
              unless self.data[:auto_scaling_groups].has_key?(auto_scaling_group_name)
                raise Fog::AWS::AutoScaling::ValidationError.new("AutoScalingGroup name not found - #{auto_scaling_group_name}")
              end
              if notification_types.to_a.empty?
                raise Fog::AWS::AutoScaling::ValidationError.new("1 validation error detected: Value null at 'notificationTypes' failed to satisfy constraint: Member must not be null")
              end
              invalid_types = notification_types.to_a - self.data[:notification_types]
              unless invalid_types.empty?
                raise Fog::AWS::AutoScaling::ValidationError.new("&quot;#{invalid_types.first}&quot; is not a valid Notification Type.")
              end

              self.data[:notification_configurations][auto_scaling_group_name] ||= {}
              self.data[:notification_configurations][auto_scaling_group_name][topic_arn] = notification_types.to_a.uniq

              response = Excon::Response.new
              response.status = 200
              response.body = {
                'ResponseMetadata' => { 'RequestId' => Fog::AWS::Mock.request_id }
              }
              response
            end